VHDL-Vorlage hinzugefügt
parent
7c92e15b66
commit
e38aec5063
@ -0,0 +1,28 @@
|
|||||||
|
\lstset{language=VHDL}
|
||||||
|
|
||||||
|
\lstdefinestyle{customc}{
|
||||||
|
belowcaptionskip=1\baselineskip,
|
||||||
|
breaklines=true, %Schaltet Zeilenumbruch ein
|
||||||
|
%frame=L, %Erzeugt Strich links oder Rahmen mit single
|
||||||
|
xleftmargin=0pt,
|
||||||
|
language=VHDL,
|
||||||
|
showstringspaces=false,
|
||||||
|
basicstyle=\footnotesize\ttfamily,
|
||||||
|
keywordstyle=\bfseries\color{blue!90!black},
|
||||||
|
commentstyle=\itshape\color{green!60!black},
|
||||||
|
identifierstyle=\color{black},
|
||||||
|
stringstyle=\color{orange},
|
||||||
|
}
|
||||||
|
|
||||||
|
%Im Hauptfile unter begin{document} folgendes einfügen
|
||||||
|
% \input{vhdl.tex}
|
||||||
|
|
||||||
|
|
||||||
|
%Um nun Inline Code zu schreiben
|
||||||
|
% \begin{lstlisting}[style=customc]
|
||||||
|
% Code here
|
||||||
|
% \end{lstlisting}
|
||||||
|
|
||||||
|
|
||||||
|
%Um Code aus einer Datei zu importieren
|
||||||
|
% \lstinputlisting[style=customc]{file.vhd}
|
||||||
Loading…
Reference in New Issue