I have a table table.tex coming from a statistical software Stata.

I would like to know if there is a way to tell LaTeX to format, for instance, some coefficients in red and italic. Something that would automatically search and replace strings in the table.tex file?

My setup is: WinEdt 6 on Windows 7.

closed as off-topic by cfr, egreg, Joseph Wright Jul 5 '14 at 22:28

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Does Stata produce TeX output? If it works like R there may be output routines that use standard LaTeX packages and you can define the formatting from within Stata before the table is output. For example: Tabstat in LaTeX. See also: Automated table generation in Stata and integration into LaTeX. – Alan Munn Jul 2 '13 at 20:00
  • 1
    @noobie_on_android The second link I gave seems to give more flexibility. Also, if you use the array package, you can easily create custom columns so that if e.g. a certain column is supposed to be red you can do things like \newcolumntype{R}{>\color{red}{r}} which makes a right aligned red column. For individual values this won't work, obviously. Clearly Stata lags behind R in this respect. – Alan Munn Jul 2 '13 at 20:42
  • 1
    @noobie_on_android If you are not able to solve your problem from Stata side let me know if you want any help to solve it from WinEdt side. There is also a package to run Stata syntax from within WinEdt: see here – karlkoeller Jul 2 '13 at 20:48
  • 2
    @noobie_on_android Although we don't get a lot of Stata users here, it might be helpful to others if you could at least summarize your solution or show what you did as an answer. We have similar questions for R that have been helpful to many. – Alan Munn Jul 2 '13 at 22:40
  • 2
    This question appears to be off-topic because it is about a helper application which would need to be modified to solve the problem. – cfr Jul 5 '14 at 21:53

Browse other questions tagged or ask your own question.