|
|
On Tue, 14 Nov 2000 16:52:26 +0100, Christoph Hormann wrote:
>
>
>"Greg M. Johnson" wrote:
>> 8) Let's adopt a common standard for differentiation between
>> explanatory text and pov code. What should this be? <CODE>, <PRE><TT>,
>> switch from Arial to Courier??
>
>IMO '<PRE>' and maybe a standardized syntax highlighting scheme for POV
>code would be good.
Yes, <pre> is meant for longer code sequences. <code> can only be used
inside a paragraph and should be used for short inline code snippets.
E.g.,
<pre>
texture {
pigment {
image_map {
png "turm-c.png"
map_type 2
}
scale <1, 17.5, 1>
}
}
</pre>
<p>
In the example above, <code>map_type 2</code> is used to indicate
cylindrical mapping.
</p>
For visual effects (font families and sizes, colors, ...) a common style
sheet should be used.
hp
--
| | | hjp### [at] wsracat | -- Lutz Donnerhacke in dasr.
__/ | http://www.hjp.at/ |
Post a reply to this message
|
|