[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
tex:triky [2012/08/30 22:28]
bejcek Crop PDF by LaTeX
tex:triky [2019/06/24 10:32]
lauschmannova pdf-a for thesis checking
Line 1: Line 1:
 +====== 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.
 +
 +In order to use the shared TeX binaries from the command line, you may want to add the following line to your .bashrc:
 +
 +  export PATH=/opt/texlive/2018/bin/x86_64-linux/:$PATH
 +
 +=== 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
Line 72: Line 88:
     * 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>
Line 117: Line 133:
     * ''scale'' or ''width'' or ''height''     * ''scale'' or ''width'' or ''height''
     * other useful: ''bb=10 10 10 10'', ''angle=45'', ''keepaspectratio'', ''draft''     * other useful: ''bb=10 10 10 10'', ''angle=45'', ''keepaspectratio'', ''draft''
-     +  * Special counter/style/... in **enumerate**<code> 
 +   \renewcommand{\labelenumi}{\Alph{enumi}.} 
 +   \setcounter{lastenumi}{\theenumi} 
 +   \begin{enumerate} 
 +     \setcounter{enumi}{\thelastenumi} 
 +     ...</code>
  
 ==== počítání slov (a dalších věcí) ==== ==== počítání slov (a dalších věcí) ====
Line 126: Line 147:
  
 Podrobnosti v dokumentaci: ''texdoc texcount'' Podrobnosti v dokumentaci: ''texdoc texcount''
 +
 +==== Fonts ====
 +
 +  * ''fc-list'' -- list of known fonts
 +     * ''fc-list :lang=cs''
 +  * any font in ''~/.fonts'' is immediately found and ready for use
 +  * other font directories can be specified in ''~/.fonts.conf'' in ''dir''-element: ''<dir>~/.fonts</dir>''
  
 <html><hr/></html> <html><hr/></html>
  
-Some PBML and SCTL-specific issues are [[https://wiki.ufal.ms.mff.cuni.cz/tex:pbml|here]].+Some [[https://wiki.ufal.ms.mff.cuni.cz/tex:pbml|PBML]] and [[https://wiki.ufal.ms.mff.cuni.cz/tex:sctl|SCTL]]-specific issues can be found at these links. 
 + 
 +====== pdf-a verification of theses ====== 
 +All theses submitted at the Charles University must be in the pdf-a format, 
 +following a specific set of requirements defined by a university profile. 
 +`/lnet/ms/projects/verapdf/checkpdf` in the ufal internal network is a wrapper for the verapdf tool which you can use to check whether your thesis fulfills these requirements. New university profiles appear regularly at   
 +https://cuni.cz/UK-7987.html , so don't rely on the default.

[ Back to the navigation ] [ Back to the content ]