| From | Roger Newson <[email protected]> |
| To | [email protected] |
| Subject | Re: st: Tabs in -listtex- header |
| Date | Wed, 28 Jul 2004 14:14:28 +0100 |
At 17:45 27/07/2004, Friedrich Huebler wrote:
Dear List Members,
Apologies for taking up much bandwidth today. I use -listtex-
(available at SSC) to create tab-delimited text files for import into
a word processor. I would like to add tab-delimited headers that
match the data rows.
. sysuse auto, clear
. listtex make price mpg using "table.txt", head("Make Price MPG")
rstyle(tabdelim) replace
I have tried various methods to add tabs to the header but did not
succeed. Can this be done?
Yes. Use the -char()- function as follows:| © Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |