Re: permanent, global [basicstyle={\scriptsize}] ?
You can go to Document > Parameters > Text Layout and there, you can put global listings parameters. The dialog helps you by giving some of the the possibilities. ( my GUI is in french so these commands are approximate ...) Hope it helps. Siegfried.
Re: permanent, global [basicstyle={\scriptsize}] ?
bb writes: > > Is there any possibilty tro change this global for the complete > document, eventually with a simple entry in the Latex start code? I > tried some variants but had no success. The problem is, that the entry > of the scriptsize is after the begin tag: > > \begin{lstlisting}[basicstyle={\scriptsize}] > ... prog. code > > \end{lstlisting} > Google is your friend: http://en.wikibooks.org/wiki/LaTeX/Packages/Listings Try \lstset{basicstyle=\scriptsize} in the preamble. /Paul
permanent, global [basicstyle={\scriptsize}] ?
I frequently have to use "Programlisting" in a document. I find the Font to large in comparison to the rest of the text and sometimes have problems to get large fields of data on a page. So I have to change the style from standard to small or very small for every Listing. That is boring and time consuming. Is there any possibilty tro change this global for the complete document, eventually with a simple entry in the Latex start code? I tried some variants but had no success. The problem is, that the entry of the scriptsize is after the begin tag: \begin{lstlisting}[basicstyle={\scriptsize}] ... prog. code \end{lstlisting} Regards BB