※上記の広告は60日以上更新のないWIKIに表示されています。更新することで広告が下部へ移動します。

1. The screens of Cinderella

When you double-click template.cdy into the "ketcindy" folder, you can open the main screen of Cinderella.
White border is represented the drawing area in TeX, and you can change it by moving the points SW and NE.

#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)
  • Three buttons "Parent", "Texview" and "Exekc" in the main screen are the KeTcindy buttons for writing out the data of drawings into the TeX file.
  • There are tool buttons at the top and bottom of the main screen, the tool buttons that you frequently used are the followings. After drawing, you always press the "elements move" button.
#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)

#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)

2. Draw figures in Cinderella

(0) First, you erase the triangle drawn on template.cdy, and create an empty cdy file, and save it as basic1.cdy. When you click to select the "Script / CindyScript" in the top menu bar, it appears script editor.

#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)
  • When you add / / to the beginning of the 10th line, you can comment out the line.
  • You return to the main screen, and click the three points mark button, which means "select all points", in the toolbar at the top of the screen. Then the main screen is as follows.

#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)
  • You click the rubber mark button, which means "to erase the selected element", in the toolbar at the top of the main screen, and the main screen is as follows.

#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)
  • Finally, when you select the "File / Save As" in the the top menu bar, the destination folder appears, and you can rename basic1.cdy and save it.

Let's try the following tasks using the basic1.cdy file.

(1) Draw a triangle using the "add a line" button.
  • Press the left button at the position of A, and drag to the position of the B, and release the button. Similarly, pull the line segmens BC and CA.
  • The segments are drawn as the blue lines.
  • The last segment CA has flashed (highlight).
  • When you have finished drawing, you always return to move mode ("elements move").

#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)

(2) Select "script / CindyScript" from the top menu. Since the script editor is opened in another window, click on "Draw / figures" and it is as follows.

#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)

(3) Change Fhead (file name) as follows:
    Fhead="basic1";

(4) Write the following commands between "Ketinit();" and "Windispg();".
    Addax(0); No axes in the TeX figure.
    Listplot([A,B,C,A]); Draw the triangle ABC by connecting segments in the order of A, B, C and A.

(5) When you press the gear mark at the right corner (the left of "?") of the top menu bar, the results are displayed at the bottom.
  You can run "Shift+Enter" (Recommended).

  Remark) When you see an example of using a a short description of the command "List", you may write the following.
      Help("List");
    The description is displayed in the bottom area (called the console) at run time.

#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)

(6) When you return to the main screen, all edges of the triangle change to the black lines. It represents that it has been drawn using KeTCindy commands.

#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)

(7) Let's display the figure in the PDF file.
 When you press the "Texview" button and press the "Exekc" button, the batch processing starts and you can see the PDF file.

#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)

 Remark) In the case of Mac, if it does not work or come out errors, thereis no execution right of kc.sh. You work the followings.
    1) Delete kc.sh in the "ketcindy/ketwork" folder.
    2) Return to Cinderella, and press the "Texview" button.
    3) You can see the new kc.sh in the "ketwork" folder.
    4) Select the new kc.sh, and select "File / Information".
    5) Go to "Open with this application / Others", and select "terminal".
    6) Press the "Change All" button.
   Return to Cinderella, and press the "Exekc" button in the main screen.
   If it still does not work, you do the following.
    Launch the Terminal in the "Applications / Utilities", and run the following two lines:
      cd /Applications/KeTCindy/ketwork
      chmod +x kc.sh

(8) All TeX files and PDF files are generated in the "KeTCindy/ketwork" folder.
   basic1.tex the TeX figure file
   basic1maic.tex the main TeX document inserted into basic1.tex
   basic1main.pdf the PDF file compiled the main TeX document
  Remark) You can insert the TeX figure file into another TeX file by the TeX command "\input".
     \input{basic1.tex}
   It is written into basic1main.tex.

#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (title=)