Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
tex:triky [2009/12/14 17:55] bejcek vytvořeno: headers, lists |
tex:triky [2010/07/02 18:36] bejcek comparing two strings |
||
---|---|---|---|
Line 10: | Line 10: | ||
* Useful page (and a figure) for **lists**: | * Useful page (and a figure) for **lists**: | ||
* http:// | * http:// | ||
+ | |||
+ | * The **if** condition in TeX: | ||
+ | * construction **if '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * **comparing** two strings:\\ '' | ||
+ | * (I don't know why the grouping is needed there...) | ||
+ | * [[http:// | ||
+ | * allocator **'' | ||
+ | |||
+ | * **foreach** in TeX < | ||
+ | * If you want to '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * and then write something here: | ||
+ | * '' | ||
+ | |||
+ | * **Aligning an element** in the line according to whether it fits in the rest of the line (TeX) | ||
+ | * always right-aligned < | ||
+ | < | ||
+ | \nobreak\hfill\penalty71\hskip2em\hbox{}\nobreak\hfill | ||
+ | \hbox{# | ||
+ | * always left-aligned: | ||
+ | < | ||
+ | \hbox{} \hskip 0pt plus 1fil \penalty0 | ||
+ | \hbox{# | ||
+ | * align to the right, if it fits, or to the left in the new line: | ||
+ | < | ||
+ | \nobreak\hfill\penalty71\hskip2em | ||
+ | \hbox{# | ||
+ | |||
+ | |||
+ | ==== počítání slov (a dalších věcí) ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | '' | ||
+ | |||
+ | Podrobnosti v dokumentaci: |