# st: RE: graph, note(""): mask a " | italics

 From "David Harrison" To Subject st: RE: graph, note(""): mask a " | italics Date Mon, 9 Aug 2004 15:46:48 +0100

Regarding your first query, simply enclose the note in compound quotes, as e.g. -note("This note contains "quotes""')-

The second query is much less straightforward and I am not aware of any way of doing this short of getting hold of (or creating) a font which has italic text in ascii codes above 128 and using the -char()- function to display these. See the recent thread on Greek characters in graph titles.

David
david@icnarc.org

-----Original Message-----
From: BBS Querschnittsprojekt: Gerhard Schön [mailto:bbs.methode@charite.de]
Sent: 09 August 2004 15:23
To: statalist@hsphsun2.harvard.edu
Subject: st: graph, note(""): mask a " | italics

Dear Statalisters,

I have two questions on graph, note()

- how can I use a " sign within a note text, that is, how can I mask the quote sign, that stata will not recognize it as the end of the note text. \" as usual in programming languages don't works.

- in a note text, I want to put a single word in italics, for example "source" should be something like this:

. sysuse auto
. graph bar rep78 foreign, note("\textit{source:} text text text ...")

best,
Gerhard
--
__________________________________________
Gerhard Schön, Querschnittsprojekt des BBS
Charité · Universitätsmedizin Berlin
E-Mail: bbs.methode@charite.de
WWW: http://www.bbs.charite.de
* * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
`