From 88a6305940fd7137d6738d5b3a38b142db89f1d3 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 2 Mar 2024 01:51:59 +0200 Subject: [PATCH] A rather silly example of a listing Needs more work. --- kap03.tex | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/kap03.tex b/kap03.tex index 0bc736a..445ccf2 100644 --- a/kap03.tex +++ b/kap03.tex @@ -152,6 +152,16 @@ Užší rámeček: \end{code} %$ +\begin{listing} +\begin{lstlisting} +int main(void) +{ + return 0; +} +\end{lstlisting} +\caption{Něco} +\end{listing} + \begin{figure}[p]\centering \includegraphics[width=140mm, height=140mm]{img/ukazka-obr01} % Příponu není potřeba explicitně uvádět, pdflatex automaticky hledá pdf. -- 2.39.5