<html> <head> <!-- This file has been generated by unroff 1.0, 03/11/09 12:56:23. --> <!-- Do not edit! --> <STYLE TYPE="text/css"> <!-- A:link{text-decoration:none} A:visited{text-decoration:none} A:active{text-decoration:none} OL,UL,P,BODY,TD,TR,TH,FORM { font-family: arial,helvetica,sans-serif;; font-size:small; color: #333333; } H1 { font-size: x-large; font-family: arial,helvetica,sans-serif; } H2 { font-size: large; font-family: arial,helvetica,sans-serif; } H3 { font-size: medium; font-family: arial,helvetica,sans-serif; } H4 { font-size: small; font-family: arial,helvetica,sans-serif; } --> </STYLE> <title>ploticus: textdetails</title> <body bgcolor=D0D0EE vlink=0000FF> <br> <br> <center> <table cellpadding=2 bgcolor=FFFFFF width=550><tr> <td> <table cellpadding=2 width=550><tr> <td><br><h2>textdetails</h2></td> <td align=right> <small> <a href="../doc/welcome.html"><img src="../doc/ploticus.gif" border=0></a><br> Version 2.41 Mar2009 <td></tr></table> </td></tr> <td> <br> <br> <title>Manual page for textdetails(PL)</title> </head> <body> <p> Virtually every ploticus attribute that produces text has an accompanying textdetails specification for controlling appearance details such as point size, color, etc.<tt> </tt> Text capabilities vary depending on what output format you're producing. See <a href="fonts.html"> fonts </a> for more information.<tt> </tt> <br><br><br> <h2>Examples</h2> Prefab example: <tt>titledet="size=12 adjust=0,0.2"</tt> <br> Script example: <tt>titledetails: size=12 adjust=0,0.2</tt> <p> Note that settings are separated from each other by space, but settings themselves contain no embedded whitespace. Also, the entire specification must be on one line.<tt> </tt> <br><br><br> <h2>Settings</h2> <p> <b>size</b>=<i>p</i> <dl> <dt> <dd> Point size of the text. 10 point is standard. A point is 1/72th of an inch.<tt> </tt> </dl> <p> <b>style</b>=<i>s</i> <dl> <dt> <dd> Style font variant. <i>s</i> may be either <tt>B</tt> for bold, <tt>I</tt> for italic, <tt>BI</tt> for bold-italic, or <tt>R</tt> for regular. Has an effect only in certain graphics environments and cannot be combined with the <b>font=</b> setting.<tt> </tt> </dl> <p> <b>font</b>=<i>fontname</i> <dl> <dt> <dd> Use the font <i>fontname</i>.<tt> </tt> Has an effect only in certain graphics environments and cannot be combined with the <b>style=</b> subattribute. See <a href="fonts.html"> fonts </a> for more info.<tt> </tt> If the font name you are specifying contains embedded whitespace, each whitespace character must be encoded here using an exclamation point (!).<tt> </tt> </dl> <p> <b>align</b>=<i>a</i> <dl> <dt> <dd> Alignment or justification. <i>a</i> may be either <tt>left</tt>, <tt>center</tt>, and <tt>right</tt> (use the whole word or just the first letter, upper or lower case). In versions 2.40+ the following are supported to get text that tracks downward or upward at a slant: <tt>downdiagonal</tt> and <tt>updiagonal</tt> and these work for any output type.<tt> </tt> </dl> <p> <b>linesep</b>=<i>f</i> <dl> <dt> <dd> Allows control over line spacing when multi-line text is rendered. Default is 1.0. An <i>f</i> > 1.0 makes lines further apart; <i>f</i> < 1.0 makes lines closer together.<tt> </tt> New in version 2.32.<tt> </tt> </dl> <p> <b>adjust</b>=<i>x,y</i> <dl> <dt> <dd> Vector adjustment in <a href="attributetypes.html#positionunits"> absolute units </a> to default position.<tt> </tt> </dl> <p> <b>color</b>= <a href="color.html"> color </a> <p> <b>slantparm=</b><i>h</i> <dl> <dt> <dd> If using <tt>align=downdiagonal</tt> or align=updiagonal to do X axis stubs, this parameter can be used to control the amount of slant. It is the amount to move vertically for every character, expressed as a proportion of text height. Default is 0.3; a value of 0.2 gives a shallower slant, a value of 0.4 gives a steeper slant.<tt> </tt> <br><br><br> </dl> <h2>Illustration</h2> <center> <a href="../gallery/text.htm"> text <br><img src="../gallery/text.gif"> </a> </center> <br> <br> </td></tr> <td align=right> <a href="../doc/welcome.html"> <img src="../doc/ploticus.gif" border=0></a><br><small>data display engine <br> <a href="../doc/Copyright.html">Copyright Steve Grubb</a> <br> <br> <center> <img src="../gallery/all.gif"> </center> </td></tr> </table> <br> <center> <table><tr><td> Ploticus is hosted at http://ploticus.sourceforge.net</td><td> </td><td> <a href="http://sourceforge.net/projects/ploticus"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=38453&type=12" width="120" height="30" border="0" alt="Get ploticus data display engine at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a> </td></tr></table> </center> <p><hr> Markup created by <em>unroff</em> 1.0, <tt> </tt> <tt> </tt>March 11, 2009. </body> </html>