\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}, } \lstdefinestyle{customd}{ belowcaptionskip=1\baselineskip, breaklines=true, %Schaltet Zeilenumbruch ein frame=L, %Erzeugt Strich links oder Rahmen mit single xleftmargin=0pt, language=tcl, 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 VHDL-Datei zu importieren % \lstinputlisting[style=customc]{file.vhd} % und für tcl Makros: % \lstinputlisting[style=customd]{file.DO}