Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
tex:triky [2014/09/23 17:20] bejcek new page link |
tex:triky [2018/10/05 10:57] popel |
| ====== Central TeXLive distributions ====== |
| |
| If you are using TeXLive on your linux workstations you may use texlive-full portable installed in: |
| |
| /opt/texlive |
| |
| There are folders for several years backward up to the latest distribution. |
| |
| === Texstudio === |
| You may use {{ :latex:texlive-portable2018-full.zip |this}} config file for setting up **texstudio** to use version from 2018. |
| |
====== Tips and Tricks for LaTeX ====== | ====== Tips and Tricks for LaTeX ====== |
| |
| * see also [[::it-tricks#latex-pdf|IT-tricks with LaTeX and pdf]] |
* For the redefining the **header**, you can use | * For the redefining the **header**, you can use |
* ''\markboth'' -- two parameters (left and right page) or ''\markright'' with just one parameter | * ''\markboth'' -- two parameters (left and right page) or ''\markright'' with just one parameter |
* 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]]) | * tables: //''xtab''// (better than ''longtable'' or ''supertabular''), //''tabulary''// (pretty wrapped text in autosized cells, similar to ''tabularx''), //''booktabs''// (no vertical lines, ''\toprule'', ''\midrule''/''\cmidrule'', ''\bottomrule'' instead of ''\hline''/''\cline'') (all from this [[http://www.tug.org/pracjourn/2007-1/mori/mori.pdf|compendium]]) |
* ''longtable'' or ''xtabular'' environment **cannot** be inside ''table'' environment. (Put it inside ''center'' instead, since you cannot use ''\centering'' as before.) | * ''longtable'' or ''xtabular'' environment **cannot** be inside ''table'' environment. (Put it inside ''center'' instead, since you cannot use ''\centering'' as before.) |
* **Higher cells/rows in tables** can be achieved either by ''booktabs'' package, or (if you have to use **vertical lines** in tables) by inserting ''\toppadding'' and ''\bottompadding'' in every row:<code> | * **Higher cells/rows in tables** can be achieved either by ''booktabs'' package, or (if you have to use **vertical lines** in tables) by inserting ''\toppadding'' and ''\bottompadding'' in every row:<code> |