Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tex:triky [2010/12/14 17:32] bejcek figures side-by-side |
tex:triky [2018/10/03 13:53] vodrazka [Tips and Tricks for LaTeX] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Central TeXLive distributions ====== | ||
+ | |||
+ | If you are using TeXLive on your linux workstations you may use texlive-full portable installed in: | ||
+ | |||
+ | / | ||
+ | | ||
+ | There are folders for several years backward up to the latest distribution. | ||
+ | |||
+ | === Texstudio === | ||
+ | You may use {{ : | ||
+ | |||
====== Tips and Tricks for LaTeX ====== | ====== Tips and Tricks for LaTeX ====== | ||
Line 59: | Line 70: | ||
| | ||
\end{figure}</ | \end{figure}</ | ||
+ | * **Include completed PDF** and add page numbers and other headings: '' | ||
+ | % settings | ||
+ | \markright{Author Name} % or e.g. package fancyhdr | ||
+ | \setcounter{page}{13} | ||
+ | % inserting (first page with pagenumber in the foot, others in the head with author name) | ||
+ | \includepdf[pages=1, | ||
+ | \includepdf[pages=2-, | ||
+ | * '' | ||
* Useful **packages**: | * Useful **packages**: | ||
* Source printing: //'' | * Source printing: //'' | ||
* //'' | * //'' | ||
* pseudocode //'' | * pseudocode //'' | ||
+ | * trees: //'' | ||
+ | * tables: //'' | ||
+ | * '' | ||
+ | * **Higher cells/rows in tables** can be achieved either by '' | ||
+ | \newcommand\toppadding{\rule{0pt}{2.6ex}} | ||
+ | \newcommand\bottompadding{\rule[-1.2ex]{0pt}{0pt}} | ||
+ | ... | ||
+ | \hline | ||
+ | \toppadding First cell\bottompadding & Second cell & Third one \\ | ||
+ | \hline | ||
+ | ...</ | ||
+ | * '' | ||
+ | * If some **links from ToC** point to **incorrect** objects (e.g. section III.2.5 points to the page where the section I.2.5 starts), then the problem is in internal hyperref naming convention (both section in the example are represented as ' | ||
+ | * '' | ||
+ | * '' | ||
+ | * **New** type of **float** and its **List of**< | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | % previous three lines alternatively (in pbmlbook class): \cfttitleset{grp} | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | % previous three lines alternatively (in pbmlbook class): \cftlineset{graph}{}{2em} | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | ... | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | ... | ||
+ | | ||
+ | * **Crop** PDF **figure** by LaTeX< | ||
+ | | ||
+ | | ||
+ | * it't left bottom right top and crop '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * other useful: '' | ||
+ | * Special counter/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
==== počítání slov (a dalších věcí) ==== | ==== počítání slov (a dalších věcí) ==== | ||
Line 71: | Line 142: | ||
Podrobnosti v dokumentaci: | Podrobnosti v dokumentaci: | ||
+ | |||
+ | ==== Fonts ==== | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * any font in '' | ||
+ | * other font directories can be specified in '' | ||
< | < | ||
- | Some PBML and SCTL-specific issues are [[https:// | + | Some [[https:// |