Previous:Text Message Streams Main Index Next:User Defined Macros

#### Text Formatting

Some escape sequences are available to include non-printing control characters in your text. These sequences are similar to those used in string literals in the C programming language. The sequences are:

`"\a"` | Bell or alarm, | 0x07
`"\b"` | Backspace, | 0x08
`"\f"` | Form feed, | 0x0C
`"\n"` | New line (line feed) | 0x0A
`"\r"` | Carriage return | 0x0D
`"\t"` | Horizontal tab | 0x09
`"\v"` | Vertical tab | 0x0B
`"\0"` | Null | 0x00
`"\\"` | Backslash | 0x5C
`"\'"` | Single quote | 0x27
`"\""` | Double quote | 0x22

For example:

     #debug "This is one line.\nBut this is another"

Depending on what platform you are using, they may not be fully supported for console output. However they will appear in any text file if you re-direct a stream to a file.

Note that most of these control characters only apply in text message directives and `#write` directives which write strings They are not implemented for other string usage in POV-Ray such as text objects or file names.

Previous:Text Message Streams Main Index Next:User Defined Macros