//tikz style jakies kółka itd
\tikzset{node/.style={ellipse(20pt and 7pt),draw,minimum size=1cm,inner sep=0pt},}
\tikzset{main node/.style={circle,fill=red!20,draw,minimum size=1cm,inner sep=0pt},}
\tikzstyle{place}=[thick, draw=black, ellipse, minimum width=50pt,align=center]
\tikzstyle{cir}=[thick, draw=black, circle, minimum width=20pt,align=center]
\tikzstyle{fil}=[thick, draw=black, circle, minimum width=5pt,align=center,fill=black]
\przydac sie moze do rysowanie
\usetikzlibrary{arrows}
\usetikzlibrary{shapes}
\tak sie ustawia nunmer strony sekcji itd
\setcounter{section}{14}
\setcounter{footnote}{16}
\setcounter{subsection}{1}
\setcounter{figure}{29}
\setcounter{page}{111}
\setcounter{equation}{9}
\do pseudokodu
\zestaw do normalnego kodu np C++
\lstset{language=C++,
numbers=left,
showstringspaces=false,
morekeywords={}}
i potem
\begin{lstlisting}[caption=Obliczanie pierwiastka kwadratowego,
captionpos=t, frame=LBtr, frameround=tftf]
\end{lstlisting}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}