On Wed, Nov 19, 2003 at 12:02:05PM -0000, [EMAIL PROTECTED] wrote:
> Hi there,
>
> I'd like to put short source code snippets (from 1 to 10 lines max)
> into my text, in typewriter font (I am writing a coding styleguide).
> I tried to just tweak the font settings but was not happy with it
> because lyx/latex still treats it as normal text, and creates margins
> at the beginning of a paragraph etc; I also could not find a way to
> integrate tabs or spaces for source code indentation like this:
>
> void foo()
> {
> // indented text goes here
> }
...
Have you tried choosing "Lyx-Code" from the long list of paragraph
types instead of using "Standard" ???
Kenward
--
In a completely rational society, the best of us would aspire to be
_teachers_ and the rest of us would have to settle for something less,
because passing civilization along from one generation to the next
ought to be the highest honor and the highest responsibility anyone
could have. - Lee Iacocca