TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
> I've seen a few tech manuals that show linefeed symbols in code
> samples to let the user know that the line is "wrapped" in the
> example. How can I accomplish this with a style in Word?
Rob:
Others have already told you how... But if you put those symbols in the code, your readers will have to remove them each time they copy code from your PDF into their programs. It won't be a LOT of trouble for them, but why go out of your way to annoy them even a little bit?
Many programming languages ignore whitespace, so you can safely just break the line at any convenient spot (and indent the next line if you like) without affecting the syntax. If you feel a strong need for a mark, most languages recognize a standard line-continuation symbol (e.g., backslash for C and C++). Using that symbol will ensure that your code will work without modification when cut-and-pasted.
ComponentOne Doc-To-Help gives you everything you need to author and
publish quality Help, Web, and print content. Perfect for technical
authors, developers, and policy writers. Download a FREE trial. http://www.componentone.com/DocToHelp/
True single source, conditional content, PDF export, modular help.
Help & Manual is the most powerful authoring tool for technical
documentation. Boost your productivity! http://www.helpandmanual.com
---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-