.ig >>
<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>
.>>

.TH textdetails PL "11-MAR-2009   PL ploticus.sourceforge.net"


.LP
Virtually every ploticus attribute that produces text has an accompanying textdetails
specification for controlling appearance details such as point size, color, etc.
Text capabilities vary depending on what output format you're producing.  See
.ig >>
<a href="fonts.html">
.>>
\0fonts
.ig >>
</a>
.>>
for more information.

.ig >>
<br><br><br>
.>>
.SH Examples
Prefab example: \fCtitledet="size=12  adjust=0,0.2"\fR
.br
Script example: \fCtitledetails: size=12  adjust=0,0.2\fR
.LP
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.


.ig >>
<br><br><br>
.>>

.SH Settings
.LP
\fBsize\fR=\fIp\fR  
.IP \0
Point size of the text.  10 point is standard.  A point is 1/72th of an inch.


.LP
\fBstyle\fR=\fIs\fR 
.IP \0
Style font variant.  \fIs\fR may be either
\fCB\fR for bold, \fCI\fR for italic, \fCBI\fR for bold-italic, 
or \fCR\fR for regular.  
Has an effect only in certain graphics environments and cannot be combined with
the \fBfont=\fR setting.

.LP
\fBfont\fR=\fIfontname\fR
.IP \0
Use the font \fIfontname\fR.
Has an effect only in certain graphics environments and cannot be combined with
the \fBstyle=\fR subattribute.  See
.ig >>
<a href="fonts.html">
.>>
\0fonts
.ig >>
</a>
.>>
for more info.
If the font name you are specifying contains embedded whitespace, each whitespace character
must be encoded here using an exclamation point (!).

.LP
\fBalign\fR=\fIa\fR  
.IP \0
Alignment or justification.  \fIa\fR may be either
\fCleft\fR, \fCcenter\fR, and \fCright\fR (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: \fCdowndiagonal\fR and \fCupdiagonal\fR 
and these work for any output type.

.LP
\fBlinesep\fR=\fIf\fR
.IP \0
Allows control over line spacing when multi-line text is rendered.  
Default is 1.0.  An \fIf\fR > 1.0 makes lines further apart; \fIf\fR < 1.0 makes lines closer together.
New in version 2.32.

.LP
\fBadjust\fR=\fIx,y\fR  
.IP \0
Vector adjustment in 
.ig >>
<a href="attributetypes.html#positionunits">
.>>
\0absolute units
.ig >>
</a>
.>>
to default position.

.LP
\fBcolor\fR=
.ig >>
<a href="color.html">
.>>
\0color
.ig >>
</a>
.>>

.LP
\fBslantparm=\fIh\fR
.IP \0
If using \fCalign=downdiagonal\fR or align=updiagonal\fR 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.



.ig >>
<br><br><br>
.>>
.SH Illustration

.ig >>
<center>
<a href="../gallery/text.htm">
.>>
text 
.ig >>
<br><img src="../gallery/text.gif">
</a>
</center>
.>>

.ig >>
<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 &nbsp; <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> &nbsp; </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>
.>>
