From 4d772279989136a5833c18cf9894f8613dafcec2 Mon Sep 17 00:00:00 2001 From: Alexander Diamadis Date: Mon, 22 Jun 2020 07:18:32 +0000 Subject: [PATCH] =?UTF-8?q?m=C3=B6gliches=20Caption=20und=20Label=20f?= =?UTF-8?q?=C3=BCr=20Listing=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Programmiersprachen/vhdl.tex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Programmiersprachen/vhdl.tex b/Programmiersprachen/vhdl.tex index 4c1da9f..c8e6338 100644 --- a/Programmiersprachen/vhdl.tex +++ b/Programmiersprachen/vhdl.tex @@ -38,7 +38,9 @@ % \end{lstlisting} -%Um Code aus einer VHDL-Datei zu importieren +%Um Code aus einer VHDL-Datei zu importieren label={lst:code1},caption={Listingtitel} % \lstinputlisting[style=customc]{file.vhd} +% oder mit Überschrift und Label +% \lstinputlisting[label={lst:code1},caption={Listingtitel},style=customc]{file.vhd} % und für tcl Makros: % \lstinputlisting[style=customd]{file.DO} \ No newline at end of file