•First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Seznam obrázků 1 Anti . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 Antidepresivum . . . . . . . . . . . . . . . . . . . . . . . 4 3 Dlouhý text – normální styl. . . . . . . . . . . . . . . . . . 5 4 Dlouhý text – centrovaný. . . . . . . . . . . . . . . . . . . 6 5 Dlouhý text – centrovaný úzký. . . . . . . . . . . . . . . . 7 6 Popis s novým oddělovačem . . . . . . . . . . . . . . . . . 8 7 Obrázek, který neplave . . . . . . . . . . . . . . . . . . . . 9 8 Vertikálně centrované . . . . . . . . . . . . . . . . . . . . 10 9 Malý . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 10 Velký . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 11 Minipages Inside Subfigures . . . . . . . . . . . . . . . . . 12 (a) Small Box with a Long Caption . . . . . . . . . . . . 12 (b) Big Box . . . . . . . . . . . . . . . . . . . . . . . . 12 12 Anti2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 13 Otočený popis . . . . . . . . . . . . . . . . . . . . . . . . 18 14 Užití prostředí sidewaysfigure . . . . . . . . . . . . . . 20 •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit „Plovoucí obrázky Obrázek 1: Antidepresivum Jak je vidět na obrázku 1 na straně 2. \begin{figure}[htb] \centering \includegraphics[width=6cm]{anti.eps} \caption[Anti]{Antidepresivum}\label{anti} \end{figure} Jak je vidět na obrázku~\ref{anti} na straně~\pageref{anti}. •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Pro tabulky analogicky prostředí table. Seznam obrázků (tabulek): \listoffigures (\listoftables). Nastavení hloubky výpisu: \setcounter{lofdepth}{2}. Balík flafter – obrázek bude umístěn vždy až za místem, na kterém je uveden příkaz pro jeho vložení. Neumístěné objekty \clearpage – umístí všechny nezpracované objekty a přejde na novou stránku \FloatBarrier – příkaz je definován v balíku placeins, způsobí zpracování neumístěných objektů, nezačíná novou stránku. Při volání \usepackage[section]{placeins} je změněna definice příkazu \section tak, že příkaz \FloatBarrier je použit před začátkem každé sekce. \afterpage{\clearpage} – příkaz \clearpage je volán až při přechodu na novou stránku. Vyžaduje načtení balíku afterpage. •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Popisování obrázků Obr. 2: Antidepresivum \begin{figure} \centering \includegraphics[width=6cm]{anti.eps} \renewcommand{\figurename}{Obr.} \caption{Antidepresivum} \label{anti2} \end{figure} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Grafika Obr. 3: Dlouhý text – normální styl. Dlouhý text – normální styl. Dlouhý text – normální styl. Dlouhý text – normální styl. \begin{figure}[htb] \centering \includegraphics[width=6cm]{box.eps} \renewcommand{\figurename}{Obr.} \caption[Dlouhý text -- normální styl.]{Dlouhý text -- normální styl. Dlouhý text -- normální styl. Dlouhý text -- normální styl. Dlouhý text -- normální styl.} \label{popis1} \end{figure} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Balíček caption Grafika Obr. 4: Dlouhý text – centrovaný. Dlouhý text – centrovaný. Dlouhý text – centrovaný. Dlouhý text – centrovaný. Dlouhý text – centrovaný. Dlouhý text – centrovaný. Dlouhý text – centrovaný. \begin{figure}[htb] \captionsetup{justification=centering} \centering \includegraphics[width=6cm]{box.eps} \renewcommand{\figurename}{Obr.} \caption[Dlouhý text -- centrovaný.]{Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. } \label{popis2} \end{figure} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Grafika Obr. 5: Dlouhý text – centrovaný. Dlouhý text – centrovaný. Dlouhý text – centrovaný. Dlouhý text – centrovaný. Dlouhý text – centrovaný. Dlouhý text – centrovaný. Dlouhý text – centrovaný. \begin{figure}[htb] \captionsetup{width=6cm, justification=centering} \centering \includegraphics[width=6cm]{box.eps} \renewcommand{\figurename}{Obr.} \caption[Dlouhý text -- centrovaný úzký.]{Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. Dlouhý text -- centrovaný. } \label{popis3} \end{figure} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Grafika Obr. 6. Popis s novým oddělovačem \begin{figure} \captionsetup{justification=centering, labelsep=period} \centering \includegraphics[width=6cm]{box.eps} \renewcommand{\figurename}{Obr.} \caption{Popis s novým oddělovačem} \label{popis4} \end{figure} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Text před obrázkem Grafika Obrázek 7: Obrázek, který neplave Text za obrázkem. \noindent Text před obrázkem \vspace*{\intextsep} {\centering \includegraphics[width=2in]{box.eps}% \captionof{figure}{Obrázek, který neplave} \label{fig:non:float} \vspace*{\intextsep}} Text za obrázkem. •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Grafika Grafika Obrázek 8: Vertikálně centrované \begin{figure} \centering \begin{minipage}[c]{0.5\textwidth} \centering\includegraphics[width=3cm]{box.eps} \end{minipage}% \begin{minipage}[c]{0.5\textwidth} \centering\includegraphics[width=6cm]{box.eps} \end{minipage} \caption{Vertikálně centrované} \end{figure} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Grafika Obrázek 9: Malý Grafika Obrázek 10: Velký \begin{figure} \centering \begin{minipage}[b]{0.5\textwidth} \centering\includegraphics[width=3cm]{box.eps} \caption{Malý}\label{maly} \end{minipage}% \begin{minipage}[b]{0.5\textwidth} \centering\includegraphics[width=6cm]{box.eps} \caption{Velký}\label{velky} \end{minipage} \end{figure} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Balíček subfig Grafika (a) Small Box with a Long Caption Grafika (b) Big Box Obrázek 11: Minipages Inside Subfigures \begin{figure}[htb] \subfloat[Small Box with a Long Caption]{ \label{fig:mini:subfig:a} %% label for first subfigure \begin{minipage}[b]{0.5\linewidth} \centering\includegraphics[width=1in]{box.eps} \end{minipage}}% \hfill \subfloat[Big Box]{ \label{fig:mini:subfig:b} %% label for second subfigure \begin{minipage}[b]{0.5\linewidth} \centering \includegraphics[width=1.5in]{box.eps} \end{minipage}} \caption{Minipages Inside Subfigures} \label{fig:mini:subfig} %% label for entire figure \end{figure} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Obtékání obrázků Balíček wrapfig Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Obrázek 12: Anti2 Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. \begin{wrapfigure}[6]{r}{2.5cm} \captionsetup{justification=centering} \centering \includegraphics[width=2cm]{anti.eps} \caption{Anti2}\label{T} \end{wrapfigure} Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. Text odstavce. •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Balíčeklscape Texttexttext.Texttexttext.Texttexttext.Texttexttext.Texttext text.Texttexttext. \begin{landscape} Texttexttext.Texttexttext. Texttexttext. Texttexttext.Texttexttext. Texttexttext. \end{landscape} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Makro \rotatebox z balíčku graphicx nechává volné místo pro rotovaný objekt, což je důležité, protože nedojde k překrývání textu. Makro \ci{rotatebox} z balíčku \pai{graphicx} nechává volné místo pro rotovaný objekt,\\ \rotatebox{40}{což je důležité, protože nedojde k~překrývání textu.} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Balíček rotating Prostředí rotate z balíčku rotating nenechává vertikální místo pro rotovaný obje Prostředí rotate z balíčku \pai{rotating} \begin{rotate}{40} nenechává vertikální místo pro rotovaný objekt. \end{rotate} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Grafika Obrázek13:Otočenýpopis \begin{figure} \centering \begin{minipage}[c]{1in} \includegraphics[angle=90,width=\textwidth]{box.eps} \end{minipage} \begin{minipage}[c]{0.5in} \rotcaption{Otočený popis}%vyzaduje balicek rotating \label{rotace1} \end{minipage} \end{figure} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit \begin{sidewaysfigure} \centering \includegraphics[width=4in]{box.eps} \caption{Užití prostředí \tt sidewaysfigure} \label{rotace2} \end{sidewaysfigure} •First •Prev •Next •Last •Go Back •Full Screen •Close •Quit Grafika Obrázek14:Užitíprostředísidewaysfigure