Statalist


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

Re: st: file write and latex table


From   Roy Wada <[email protected]>
To   [email protected]
Subject   Re: st: file write and latex table
Date   Thu, 28 Jan 2010 10:16:52 -0800

> 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/



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