
Choose a 2 character combination of L,Ĭ, R (for left, center, or right) and T, M, B for top, middle, orīottom. TheĪlignment refers to the part of the text string that will be mapped With the desired font name (see -L for available fonts). If font is not an integer, then it is taken to be a text string The angle is measured in degreesĬounter-clockwise from horizontal, and justify sets the alignment. Size is text size in points, font is the font to use, andĬolor sets the font color.


If no filesĪre given, pstext will read standard input. The attributes inīrackets can alternatively be set directly via -F. Optional Arguments ¶ textfiles This is one or more files containing 1 or more records with ( x, (does not work for strings with sub/super scripts, symbols, or compositeĬharacters, except in paragraph mode ( -M)). G or -W options, a rectangle underlying the text may be plotted Gmt.conf file in order to use the accented characters. PS_CHAR_ENCODING must be set to an extended character set in your Keyboard and some accented European characters, see Section Character escape sequences andĪppendix Chart of Octal Codes for Characters in the GMT Technical Reference and Cookbook. To learn the octal codes for symbols not available on the prints the give the accented Scandinavian characters.Ĭomposite characters (overstrike) may be indicated with sequence, which will print the two characters on top ofĮach other. Size resets it), and toggles underline on/off. no% sets the font to no the font to the starting font, toggles subscripts on/off, superscript on/off, toggles small caps on/off, color Ĭhanges the font color resets it), size: changes the font Greek characters, subscript, superscript, and smallĬaps are supported as follows: The sequence toggles between the Various map projections are provided, with the option toĭraw and annotate the map boundaries. Incidentally, the \textbar macro works in LaTeX as well.Pstext plots text strings of variable size, font type, and As notes in his answer, to print out the "pipe" character in ConTeXt you have to type something like \textbar.
#LONGER TEXTBAR LATEX CODE#
Instead, they serve to denote a line break in a tabular or array environment ( \\), to place a circumflex particle above the next character ( \^), and to place a tilde particle above the following character ( \~).Ī superb reference on the topic of TeX category codes is Chapter 2 of Victor Eijkhout's book TeX by Topic.Īddendum: In ConTeXt, the | "punctuation" character is also an "active" character, i.e., its category code is 13 rather than 12 ("other"). (The control words \\, \^, and \~ do exist in LaTeX, of course, but they are not set up to print out the associated "special" character. However, in LaTeX this method won't work for the \, ^, and ~ characters for these, one should type \textbackslash, \textasciicircum, and \textasciitilde. To display most of these special characters, all one has to do is to prefix a backslash ( \) to them e.g., \$ and \% will print out $ and %. ~ tilde 13 Tie (unbreakable space) an example of an "active" character _ underscore 8 Precede subscript expressions in math mode ^ circumflex 7 Precede superscript expressions in math mode

& ampersand 4 Column separator in tables (tabulars and arrays) $ dollar 3 Opening and closing delimiter for math formulas \ backslash 0 Start of a control sequence There are ten special characters common to all TeX engines I'm familiar with: Name Cat code Purpose The exceptions are assigned to special category codes and serve as shortcuts for starting and ending frequently-occurring tasks. Not all punctuation characters, however, fall into the "other" category. TeX and friends are generally set up to only print out characters that are classified in the categories of letter - all uppercase and lowercase alphabetic characters - and other - all digits and punctuation characters, but with certain important exceptions noted in the next paragraph. For printing | in text mode one can use \|.

After that, only \,, which is used for changing category code tables. Elaborating on answer (sorry, too long for a comment): ConTeXt also has the \asciimode command.
