General Information about LaTeX and other Document Processing Tools
\usepackage{sinput} % User must define \scom to specify how S comments are typeset
\newcommand{\scom}[1]{{\rm\scriptsize \# #1}}
\begin{document}
\sinput{mysprog.s} % myprog.s is an ordinary S script
\end{document}
Thanks to
Terry Cox for showing me how to do this.
- Highlight, converts source code to formatted text with syntax highlighting
- AucTeX: This Emacs/Xemacs mode makes it easy to run programs associated with LaTeX from within Emacs. You can also run
latex on a highlighted region of your document if you only want to compile part of the text.
- Using LaTeX for making presentations
- LaTeX examples and templates, including LaTeX macros for insertion of postscript graphics (the Hmisc
setps and ps.slide functions work especially well for this), templates for NIH grant proposals, and a template making slides for talks. Don't forget to look at our report Statistical Tables and Plots using S-Plus and LaTeX. Note that the section on converting to HTML in this report has not been updated to describe Hevea. It does contain a lot of LaTeX code for your viewing pleasure.
- Inserting general LaTeX code inside graphics
--
FrankHarrell - 08 Apr 2004, modified 13 May 2004, 20 Jun, 5 Sep, 12 Sep, 3 Oct, 11 Oct 2004, 1 Jan, 23 Feb, 11 May 2005, 6 Apr, 21 Oct 2006, 15 Mar, 19 Jul, 5 Aug, 21 Aug, 17 Sep 2007, 17 Jan, 28 May 2009