[CHANGESET] line width in code examples

Thorsten Meyer thorsten.meyier at gmx.de
Thu Oct 16 15:02:21 CDT 2008


Jaroslav Hajek wrote: [in Re: minor correction in container.txi, first
contribution]
>
>> A question regarding formatting of examples:
>> Is there a rule for the maximum line length of examples? If not I
>> would suggest introducing one that makes sure that an example line
>> fits on one line in all of the pdf and ps documents.
>>
>>     
>
> A good idea. I think that a vague recommendation "keep your example
> code lines short enough to fit on pages in pdf and ps" should be
> enough; feel free to add it. If you think a fixed width should be
> prescribed, I suggest you start discussion in a new thread
Here is a changeset to add such a recommendation to contrib.txi. I also
added a little
text ruler to help the documentation author to find the appropriate line
width.

Thorsten


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20081016/e0169ae7/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: code_examples.diff
Type: text/x-patch
Size: 1854 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20081016/e0169ae7/attachment.bin 


More information about the Octave-maintainers mailing list