code examples in a document

Subject: code examples in a document
From: John Posada <JPosada -at- book -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Tue, 5 Nov 2002 17:04:22 -0500


For those who place code in their document, how do you handle code lines
that are so long that they wrap in the document. I have script codes that I
need to include in one of my sections...all in all, about 75 lines of code.

First, what I've done to minimize the damage.

1) Place code on landscape pages.
2) Use 9pt Courier New to eliminate proportional spacing and to get maximum
line length.

However, some of the lines of code I'm getting are just too long and they
wrap to the next line, which also throws out the indent alignment.

How do you handle it?

John Posada
Senior Technical Writer
Barnes&Noble.com
jposada -at- book -dot- com
212-414-6656
"Be accurate...the 4am wakeup call you prevent could be your manager's"



^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check out SnagIt - The Screen Capture Standard!
Download a free 30-day trial from http://www.techsmith.com/rdr/txt/twr
Find out what all the other tech writers, including Dan, already know!

All-new RoboHelp X3 is now shipping! Get single sourcing, print-quality
documentation, conditional text and much more, in the most monumental
release ever. Save $100! Order online at http://www.ehelp.com/techwr-l

---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.



Follow-Ups:

Previous by Author: RE: Quick (probably dumb) Frame Question
Next by Author: RE: code examples in a document - RESOLUTION
Previous by Thread: RE: Need RH X3 input
Next by Thread: Re: code examples in a document


What this post helpful? Share it with friends and colleagues:


Sponsored Ads