Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

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


From   "David Harrison" <[email protected]>
To   <[email protected]>
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
[email protected]

-----Original Message-----
From: BBS Querschnittsprojekt: Gerhard Sch�n [mailto:[email protected]]
Sent: 09 August 2004 15:23
To: [email protected]
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: [email protected]
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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index