On Mon, Dec 16, 2002 at 11:41:33AM +0100, Jochen Wurster wrote: > i am using book document class with a font size of 12pt and OneHalf line > spacing. For my source code examples in lyxcode paragraph style i want to > change the font size to 10pt and the line spacing to single. Same for > tables. How can i do this?
Add the following lines to the preamble: \let\oldlyxcode=\lyxcode \def\lyxcode{\small\oldlyxcode\singlespace} \let\oldtabular=\tabular \def\tabular{\small\singlespace\oldtabular}