Facebook
From Koperacyjny świr, 1 Year ago, written in LaTeX.
Embed
Download Paste or View Raw
Hits: 141
  1. //tikz style jakies kółka itd
  2.  
  3. \tikzset{node/.style={ellipse(20pt and 7pt),draw,minimum size=1cm,inner sep=0pt},}
  4. \tikzset{main node/.style={circle,fill=red!20,draw,minimum size=1cm,inner sep=0pt},}
  5. \tikzstyle{place}=[thick, draw=black, ellipse, minimum width=50pt,align=center]
  6. \tikzstyle{cir}=[thick, draw=black, circle, minimum width=20pt,align=center]
  7. \tikzstyle{fil}=[thick, draw=black, circle, minimum width=5pt,align=center,fill=black]
  8.  
  9. \przydac sie moze do rysowanie
  10. \usetikzlibrary{arrows}
  11. \usetikzlibrary{shapes}
  12.  
  13. \tak sie ustawia nunmer strony sekcji itd
  14.  
  15. \setcounter{section}{14}
  16. \setcounter{footnote}{16}
  17. \setcounter{subsection}{1}
  18. \setcounter{figure}{29}
  19. \setcounter{page}{111}
  20. \setcounter{equation}{9}
  21.  
  22.  
  23. \do pseudokodu
  24. \usepackage{algorithm}
  25. \usepackage{algorithmic}
  26.  
  27. \zestaw do normalnego kodu np C++
  28. \lstset{language=C++,
  29.                  basicstyle=\ttfamily\small,
  30.                  keywordstyle=\color{darkgreen}\ttfamily\bfseries\small,
  31.                  stringstyle=\color{red}\ttfamily\small,
  32.                  commentstyle=\color{grey}\ttfamily\small,
  33.                  numbers=left,
  34.                  numberstyle=\color{darkred}\ttfamily\scriptsize,
  35.                  identifierstyle=\ttfamily\small,
  36.                  showstringspaces=false,
  37.                  morekeywords={}}
  38. i potem
  39. \begin{lstlisting}[caption=Obliczanie pierwiastka kwadratowego,
  40.          captionpos=t, frame=LBtr, frameround=tftf]
  41. \end{lstlisting}
  42.  
  43.