10.07.2015 Views

Download - Multivac!

Download - Multivac!

Download - Multivac!

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

To fold the famous rocket looper proceed as follows:Take a sheet of paper. Fold itlengthwise in the middle.Then, fold down the upper corners. Fold thelong sides inwardsthat the points A and B meet on the central fold.To fold the famous rocket looper proceed as follows: Take a sheet ofpaper. Fold it lengthwise in the middle. Then, fold down the uppercorners. Fold the long sides inwards that the points A and B meet onthe central fold.Fig. 7.18Top: text with redundant linebreaksBottom: replacing the linebreakswith the charmapping option> The control characters will not be treated specially, i.e. they have no special meaning.> Some Textflow options will be ignored since they do not make sense for symbolfonts, e.g. tabalignchar.> Since inline option lists cannot be used in text portions with symbol fonts (since thesymbols don’t have any intrinsic meaning it would be impossible to locate and interpretoption lists), the length of text fragments consisting of symbol characters mustexplicitly be specified using the textlen option.> After textlen characters a new inline option list must be placed in the text. Usuallythe next option list will switch to another font/encoding combination, but this is notrequired.Omitting the textlen option for Symbol fragments, or failing to supply another inlineoption list immediately after the Symbol fragment will result in an exception.The following fragment contains a Greek character from the Symbol font insertedbetween Latin characters:The Greek letter A symbolizes beginning.Using characters with codes greater than 127 (0x7F) can get a bit tricky subject to thesyntax requirements of the programming language in use. The following examples createa right arrow from the ZapfDingbats font. This character has glyph name a161 andcode 0xD5 which corresponds to the character Õ in winansi.The following example uses PDFlib’s escape sequence syntax \xD5. If used directly ina C language program, the backslash must be preceded by another backslash. Processingescape sequences must be enabled with the escapesequence option. The length of thefragment (after \\ processing) is 4 bytes:\\xD5The following example uses the \u syntax of Java and other languages. The length of thetext fragment (after \u expansion) is 1 Unicode character:\u00D5The following example uses a literal character, assuming the source code is compiled inthe winansi/cp1252 codepage (e.g. javac -encoding 1252). Again, the length of the text fragmentis 1:150 Chapter 7: Formatting Features

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!