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

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

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: graph, note(""): mask a " | italics
Date   Mon, 9 Aug 2004 15:45:03 +0100

Gerhard Sch´┐Żn

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.

Use compound double quotes. 

. scatter mpg weight, note(`"some "quotable" results here!"') 

- 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 ...")

Good question. I am not aware that you can mix fonts within
a graph title. 

*   For searches and help try:

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