Hinrich Schmieta wrote:
Hi Rick,
I have a comparable problem when quoting code.
The template style OOoComputerCode makes the code hard to read.
A courier font in a smaller size then 12 point with a light grey
background would be my preference. Line numbering could be helpfull as
well.
Regards
Hinrich
What is the convention we are using for quoting blocks of code? I am
writing the Calc chapter on macros and I want to be able to refer back
to the code with a standard reference like 'figure 1', 'table 1'...etc.
Hi Hinrich,
Can you tell me in more detail why you find the OOoComputerCode style
hard to read? I find it more common that people complain about *smaller*
point sizes being hard to read, not larger ones.
What leads you suggest a gray background? Would that make the computer
code itself easier to read, or just set it off from the regular text of
the document?
It would be possible to add support for numbering lines of code, but it
would require updating our template, which isn't likely to happen soon.
OOo Writer supports line numbering, but by default it numbers all the
lines in the document. We'd have to change all our paragraph styles
except OOoComputerCode to turn off the "Include this paragraph in line
numbering" option.
Thanks,
--
Janet Swisher --- Senior Technical Writer
Enthought, Inc. http://www.enthought.com