|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Documenting Code
Hi all,
I am in the process of documenting various snippets of code from my application so that I can detail and explain the logic, and was wondering what everyone uses when they insert code into a document (Word for example). I'd like to present my code a bit like it is in Programming publications Ideally, I am looking for something that presents the code neatly and to a nice size. Tryst
__________________
Tryst |
|
#2
|
||||
|
||||
|
I tend to use normal fonts (such as 10-pt Bitstream Vera Sans) for paragraphs and other stuff, then smaller, monospaced fonts (like 8-pt Bitstream Vera Sans Mono) for the code.
__________________
~~ Peter ~~ ( My Blog: It's exactly like normal nerdiness, but completely different. ) :: ( Supporter of the EFF & FSF ) :: ( I'm a GNU/Linux addict and Free Software Advocate. ) :: ( How to Ask Questions the Smart Way ) :: ( The Fedora Project, sponsored by Red Hat ) :: ( GNOME: The Free Software Desktop Project ) :: ( GnuPG Public Key ) |
|
#3
|
||||
|
||||
|
In Word I use Courier New 8pt. Indented, sometimes boxed.
Then I usually make the word an rtf and feed it into a help compiler.
__________________
medialint.com "Beware of the man who works hard to learn something, learns it, and finds himself no wiser than before. He is full of murderous resentment of people who are ignorant without having come by their ignorance the hard way." - Vonnegut - Cat's Cradle, 1963 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Software Design > Documenting Code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|