Added 'LaTeX/that_cant_be_how_it_works.tex'
This commit is contained in:
parent
c1a3ce6236
commit
a719e7d74d
20
LaTeX/that_cant_be_how_it_works.tex
Normal file
20
LaTeX/that_cant_be_how_it_works.tex
Normal file
@ -0,0 +1,20 @@
|
||||
\documentclass[a4paper,12pt]{article}
|
||||
\usepackage[T1]{fontenc}
|
||||
\PassOptionsToPackage{defaults=hu-min}{magyar.ldf}
|
||||
\usepackage[magyar]{babel}
|
||||
\usepackage{listings,xcolor,caption}
|
||||
|
||||
\lstset{
|
||||
language=Delphi,
|
||||
basicstyle=\footnotesize\ttfamily,
|
||||
numbers=left,
|
||||
backgroundcolor=\color{lightgray},
|
||||
frame=tlbr,
|
||||
keywordstyle=\color{blue},
|
||||
}
|
||||
|
||||
\renewcommand{\lstlistingname}{programkód}
|
||||
|
||||
\begin{document}
|
||||
\lstinputlisting[caption=Egy Delphi kód,label=kod-delphi]{prog.pas}
|
||||
\end{document}
|
Loading…
x
Reference in New Issue
Block a user