Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
tex:triky [2011/07/26 16:27] bejcek packages for trees |
tex:triky [2011/10/27 01:09] bejcek tables and textwidth |
\includepdf[pages=1, pagecommand={\thispagestyle{plain}}]{file.pdf} | \includepdf[pages=1, pagecommand={\thispagestyle{plain}}]{file.pdf} |
\includepdf[pages=2-, pagecommand={\thispagestyle{myheadings}}]{file.pdf}</code> | \includepdf[pages=2-, pagecommand={\thispagestyle{myheadings}}]{file.pdf}</code> |
| * ''\textwidth'', ''\linewidth'', ''\columnwidth'', ''\hsize'' and others explained [[http://tex.stackexchange.com/questions/16942/difference-between-textwidth-linewidth-and-hsize|here]] |
| * ''longtable'' or ''xtabular'' environment **cannot** be inside ''table'' environment. (Put it inside ''center'' instead, since you cannot use ''\centering'' as before.) |
* Useful **packages**: | * Useful **packages**: |
* Source printing: //''fancyvrb''//, //''listings''// | * Source printing: //''fancyvrb''//, //''listings''// |
* pseudocode //''algorithmicx''// | * pseudocode //''algorithmicx''// |
* trees: //''xytree''// (complicated), //''dtree''// (Obo, pstricks), //''xyling''// (Martin P., ''\B'' and ''\T'' must be relaxed) | * trees: //''xytree''// (complicated), //''dtree''// (Obo, pstricks), //''xyling''// (Martin P., ''\B'' and ''\T'' must be relaxed) |
| * tables: //''xtab''// (better than ''longtable'' or ''supertabular''), //''tabulary''// (pretty wrapped text in autosized cells, similar to ''tabularx''), //''booktabs''// (no vertical lines, ''\toprule'', ''\midrule'', ''\bottomrule'' instead of ''\hline'') (all from this [[www.tug.org/pracjourn/2007-1/mori/mori.pdf|compendium]]) |
| |
==== počítání slov (a dalších věcí) ==== | ==== počítání slov (a dalších věcí) ==== |