Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
user:stranak:notes [2008/09/26 15:36] stranak |
user:stranak:notes [2024/07/01 15:35] (current) stranak [užitečné LaTeXové balíčky a triky] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | === X na jiném displayi === | + | **Linux – verze distribuce: |
+ | |||
+ | ==== Screen ==== | ||
+ | Ze splitu (^AS) se lze dostat pomocí ^AQ. | ||
+ | |||
+ | ==== Transpozice tabulky (mac) ==== | ||
+ | < | ||
+ | |||
+ | ==== Vim ==== | ||
+ | |:set list | zobrazit neviditelné znaky | | ||
+ | |:h listchars | které neviditelné znaky konkrétně | ||
+ | |g[jk] | ||
+ | |gv | obnovit předchozí výběr (v) | | ||
+ | |ga | zobrazí Unicode Dec, Hex a Octal hodnotu znaku | | ||
+ | |]p | jako " | ||
+ | |Ctrl-6 | ||
+ | |:set paste | " | ||
+ | |< | ||
+ | |< | ||
+ | |abbreviate < | ||
+ | |< | ||
+ | |||
+ | >Enable search-related options: highlight matches in a search ('' | ||
+ | ('' | ||
+ | adds the mapping '' | ||
+ | '' | ||
+ | '' | ||
+ | http:// | ||
+ | |||
+ | ==== X na jiném displayi | ||
< | < | ||
- | === užitečné LaTeXové balíčky a triky === | + | ==== užitečné LaTeXové balíčky a triky ==== |
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
Line 11: | Line 40: | ||
* '' | * '' | ||
* //poznámky pod čarou v tabulce//: Je nutno poznámku rozdělit tak, že v buňce je '' | * //poznámky pod čarou v tabulce//: Je nutno poznámku rozdělit tak, že v buňce je '' | ||
+ | * //Fixing wrong labels//: The command \label must appear after (or inside) \caption. Otherwise, it will pick up the current section or list number instead of what you intended. | ||
+ | * '' | ||
+ | |||
+ | === Sort in BibTeX === | ||
+ | The solution is to embed the sort key in the author’s name, but to prevent it from being typeset. Patashnik recommends a command '' | ||
+ | |||
+ | '' | ||
+ | ... | ||
+ | @ARTICLE{Rayleigh1, | ||
+ | AUTHOR = " | ||
+ | ... | ||
+ | }'' | ||
+ | Note that this '' | ||
+ | |||
+ | ... | ||
+ | '' | ||
+ | ...'' | ||
+ | A further use might deal with word order games, as in the famous Vietnamese name: | ||
+ | |||
+ | '' | ||
+ | AUTHOR = " | ||
+ | |||
+ | |||
+ | === Xyling (lingvistické stromy) === | ||
+ | Ross Moore napsal (xetex mailing list, 9. ledna 2009 22:05:50 GMT+01:00): | ||
+ | there is a simple way to overcome | ||
+ | incompatibilities between packages, when you are | ||
+ | *absolutely certain* that your document is only going to | ||
+ | use a macro in just one way. For the case at hand: | ||
+ | \usepackage{xunicode} | ||
+ | \let\B\relax | ||
+ | \let\T\relax | ||
+ | \usepackage{xyling} | ||
+ | |||
+ | Of course this will mean that you cannot put words requiring | ||
+ | \B and \T within the content of the linguistic-tree nodes. | ||
+ | |||
+ | If this is in fact needed, then a better approach would be: | ||
+ | \usepackage{xunicode} | ||
+ | \let\realB\B | ||
+ | \let\B\relax | ||
+ | \let\realT\T | ||
+ | \let\T\relax | ||
+ | \usepackage{xyling} | ||
+ | \let\lingB\B | ||
+ | \let\lingT\T | ||
+ | |||
+ | Now you can locally reset \B to the original one: | ||
+ | {{\let\B\realB | ||
+ | some words needing ...\B.... }} | ||
+ | within linguistic tree nodes. | ||
+ | Similarly for \T . | ||
+ | |||
+ | Yes, this requires great care; but at least it is possible. | ||
+ |