Fonts

Stephen R McMillan smcmillan at PLANALYTICS.COM
Tue Jul 18 11:46:46 EDT 2006


Brian,
This is very useful information. Can one also change font colors, size, or
thickness mid-string?  An example might be where you want to embed word(s)
in boldface or different color within a title.  Otherwise, I would
continue to use the 'set strsiz' and 'set string' commands and make them
sectionally.

Thanks
Stephen McMillan



"Brian E. Doty" <doty at COLA.IGES.ORG>
Sent by: GRADSUSR at LIST.CINECA.IT
07/17/2006 05:42 PM
Please respond to
GRADSUSR at LIST.CINECA.IT


To
GRADSUSR at LIST.CINECA.IT
cc

Subject
Re: Fonts





The backquote character:  `
can be imbedded in any grads text string
to change to new fonts or modes within
the string.

This for commands such as draw string,
draw title, draw xlab, draw ylab, set clab, etc.

An example of using a superscript:

draw title Watts/m`a2`n for Tuesday

Note that the `a sets the mode to "above"
or superscript, and `n sets the mode back
to "normal".

An example of using a subscript:

draw title Z`b500`n for Tuesday

where the `b sets the mode to "below" or
subscript.

You can also change fonts, with the backquote
followed by a font number.  This is useful
if you want to use the characters in font 3,
which is the symbol font.  It is useful to
remember that the period in font 3 is the
degree symbol (there is no need to superscript
this symbol).

An example of using this is:

draw title Temperature in `3.`1C over Europe

This can also be used in contour labels,
for example:

set clab %g`3.`1C
display ts-273.16

which would produce contour labels of the number
followed by the degree symbol followed by the
capital C character.

These escapes can be combined in a single
string... Brian

************************************************************************
The information contained in this e-mail message is intended only for the
personal and confidential use of the recipient(s) named above and may
contain information that is privileged, confidential, and/or proprietary
to Planalytics, Inc. and its subsidiaries and affiliated companies.  This
message may be an attorney-client communication and as such is privileged
and confidential.  If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this document in
error and that any review, dissemination, distribution, or copying of this
message is strictly prohibited.  If you have received this communication
in error, please notify the sender immediately by e-mail, and delete the
original message.
************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20060718/7951244e/attachment.html 


More information about the gradsusr mailing list