Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: file write and latex table


From   "Dr. Bartus" <[email protected]>
To   [email protected]
Subject   Re: st: file write and latex table
Date   Sat, 30 Jan 2010 00:30:22 +0100

Thanks Roy, it works


------------------------------------------------

Tamas Bartus, PhD
Associate Professor, Institute of Sociology and Social Policy
Corvinus University, Budapest 
1093 Budapest, Közraktár utca 4-6.
Phone:  +36-1-482-7301         
Fax:      +36-1-482-7348
Homepage: http://web.uni-corvinus.hu/bartus


----- Eredeti üzenet -----
Feladó: Roy Wada <[email protected]>
Dátum: Csütörtök, Január 28, 2010 7:22 du
Tárgy: Re: st: file write and latex table
Címzett: [email protected]


> > How could I force stata to write \\ instead of \?
> >
> > Tamas
> 
> I am sure there are many ways, but this works for me:
> 
> tempname fh
> file open `fh' using myfile.txt, write replace
> file write `fh' "<text> `=char(92)'`=char(92)'" _n
> file close `fh'
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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