

Specifying up to three text attributes (font, angle, and Use this option to override these defaults by F]]]] | +t text| +z] By default, text will be placed horizontally, using the primaryĪnnotation font attributes ( FONT_ANNOT_PRIMARY), and centered Optionally, append v which will drawĪ line from the original point to the shifted point append a pen DJ will shorten diagonal offsets at corners by Text justification will determine the direction of the shift). Dj to offset the text away from the point instead (i.e., the If dy is not specified then it is set equal to dx. D dx] Offsets the text from the projected ( x, y) point by dx, dy PROJ_LENGTH_UNIT) or % for a percentage of the font size. Want ( cm, inch, or point if not given we consult C dx/dy Sets the clearance between the text and the surrounding box. ) Set map boundary frame and axes attributes. A Angles are given as azimuths convert them to directions using theĬurrent projection.

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.
Long textbar on latex code#
The code used to create the images in this post is on GitHub.Pstext plots text strings of variable size, font type, and So it might be old-fashioned to care about L aT eX and underlined links, but it might also have helped me get a job. One of my interviewers specifically mentioned how nice my CV looked, and I tell myself it’s because of the underlines. I spent a lot of time fiddling with the underlined links before I settled on the above, because I was unsatisfied with everything else. The last outing for my CV was about a year ago, when I was applying for my current job. I particularly like the “py” and “yp” in this link, which show off the effect really nicely, as well as the lower bowl on the leading “g”. Here’s one final example, a hyperlink from my CV: If I want to tweak it further – maybe adjust the underline thickness, or give it a different colour – the settings in the ulem package give me plenty of scope for further refinement. It’s drawn on a consistent level, flush against the bottom of the text, with gaps as appropriate for descenders.
