Manual for ChessTask v2.0: Export to LaTeX (++) (original) (raw)
8.1 LaTeX files
Exporting your ChessTask file to LaTeX format is not as "tricky" as for HTML. You do not really have to check the LaTeX options every time, because no paths have to be "adjusted". You simply select "Export"/"LaTeX file", enter a file name (and choose a directory if necessary) and write the new LaTeX file.
However, if you dislike the default layout (10pt font size, tiny diagrams and output in two columns) you can always change it by evoking the options window "Export"/"Options".
The five LaTeX options are:
- Paper size: You can select between the two formats "US letter" (8.5x11 inches) and "ISO A4" (210x297 mm). For the latter, ChessTask includes the "a4paper" option to the LaTeX output.
- Output in two columns: If this option is "checked" (the default) the text is output in two columns per page. If "unchecked", the single column layout is selected. While using the "twocolumn" option you can not select the "Large" font for the diagrams!
- Diagram size: The size of the board diagrams can be set to four different levels
- Tiny uses a 10pt font for the squares of the board and results in 80x80pt diagrams.
- Small uses a 15pt font and results in 120x120pt diagrams.
- Normal selects the 20pt font and you get 160x160pt diagrams.
- Large uses a 30pt font and provides 240x240pt diagrams. This font size can not be used if the option "Output in two columns" is checked!
- Font size: The font size can be set to 10pt (the default), 11pt or 12pt. This setting affects the size of
- the normal text,
- the chess symbols for the moves and
- the Informator symbols.
- Export with solutions: This "general" option affects both, _LaTeX_and HTML export. If it is "checked" (default) the solutions are output, too. If "unchecked" the LaTeX file ends right after the last task.
You can skip the next subsection if you are not interested in creating "ChessCards", but then read on at No files created?, please.
8.2 "ChessCards" files
Starting with version 2.0, ChessTask knows another output format called "ChessCards". The tasks are arranged in a 2x4 grid on each page and after each page with tasks the solutions follow immediately. So if you print them doublesided and cut out the single cards you can train your chess everywhere.
As you can see in the examples each card gets a small header with the "main title" of the ChessTask file and a running number. The titles of the single tasks are not displayed!
The format of the "ChessCards" is fixed and does not get affected by any of the LaTeX export options! It always uses the 10pt font, tiny diagrams and the 2x4 grid. Only the left and right margins are shifted a bit, changing from the "US letter" paper size to "ISO A4" or back.
There is not much space left on the front of the cards, so keep your tasks/questions tight. The answers can be a little bit longer...
Believe it or not, the "ChessCards" are exactly centered on the resulting PostScript page. The big problem is: ``How exact can your printer retract the paper?''
I tested the "ChessCards" feature on "ISO A4" paper with the following printers
- HP DeskJet 500
- HP LaserJet 4100dtn
- HP LaserJet 4000N
- Lexmark Optra W810
- Lexmark Optra S1250
which all gave satisfying results.
Lars Jensen was so kind as to check the margins for the "US letter" format and reported them to work properly. Thanks a lot Lars!
8.3 No files created?
If ChessTask did not create a file, the reasons are the same as for the HTML export:
- You aborted the export by cancelling the file dialog.
- The file could not be opened for writing, either because the disk is full or because you do not have the permissions to write to the specified directory.
Otherwise, you can now call LaTeX with your new input file. This requires that you have TeX/LaTeX properly installed, of course. Another prerequisite is that you also installed the LaTeX style file ` skak.sty' and the fonts it needs, as described in the next section.


