C-PLOT

Scientific Graphics and Data Analysis

6.9.1. - Formatting sequences



You can change many characteristics of the text by using special sequences embedded in the text. The backslash \ introduces all special sequences. The simple formatting sequences are:

 Sequence   Meaning 
 \u   Move up half a line 
 \d   Move down half a line 
 \l   Make text 25% larger 
 \s   Make text 25% smaller 
 \r   Move up a whole line 
 \b   Move back one space 
 \|   Move forward 1/6 a space 
 \^   Move forward 1/12 a space 
 \B   Move back 1/2 the width of the previous character 


The following examples illustrate the use of these special sequences (also using some sequences described next):



Notice that the size changes to make the "2" superscript smaller and larger occur before and after the up and down movement. This is because the extent of vertical motion depends on the character size -- the command cm\s\u2\l\d would not return to the same baseline, since the up motion is done at a smaller character size than the down motion.