Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
tex:triky [2011/12/29 17:49] bejcek higher rows/cells in tables |
tex:triky [2011/12/29 20:39] bejcek List of Graphs |
* ''naturalnames=true'' (=> 'section.III.2.5'), or | * ''naturalnames=true'' (=> 'section.III.2.5'), or |
* ''hypertexnames=false'' (=> 'section.289') | * ''hypertexnames=false'' (=> 'section.289') |
| * **New** type of **float** and its **List of**<code> |
| \usepackage{tocloft} |
| \newlistof{graphs}{grp}{List of Graphs} % new list, file extension, its name |
| \renewcommand{\cftgrptitlefont}{\sffamily\bfseries\huge} % style of list title |
| \setlength{\cftbeforegrptitleskip}{10ex} % space above list title |
| \setlength{\cftaftergrptitleskip}{4ex} % space below list title |
| % previous three lines alternatively (in pbmlbook class): \cfttitleset{grp} |
| \newlistentry{graph}{grp}{0} % one line of the list (because it will be of type 'graph', not 'graphs', due to float named 'graph') |
| \renewcommand{\cftgraphfont}{\sffamily} % entry style |
| \renewcommand{\cftgraphpagefont}{\sffamily} % page number style |
| \setlength{\cftgraphnumwidth}{2em} % space for graph number |
| % previous three lines alternatively (in pbmlbook class): \cftlineset{graph}{}{2em} |
| |
| \usepackage{float} |
| \newfloat{graph}{ht!}{grp} % new float environment {graph}, "place it here or at the top of page" by default |
| \floatname{graph}{Graph} % each caption is started as "Graph \thegraph: <captioin>" |
| ... |
| \begin{graph} |
| \centering |
| \includegraphics[scale=.8]{obr09} |
| \caption{Graph Caption}\label{graph:first} |
| \end{graph} |
| ... |
| \cleardoublepage\listofgraphs\phantomsection\addcontentsline{toc}{chapter}{List of Graphs}</code> |
| |
==== počítání slov (a dalších věcí) ==== | ==== počítání slov (a dalších věcí) ==== |