Displaying 2 results from an estimated 2 matches for "typset".
Did you mean:
typeset
2001 Jan 27
1
Off-topic: Pretty-printing R (or S) code with GNU a2ps
--oP8mQFO4PT
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit
GNU a2ps is a fairly versatile text-to-anything processor. It is useful for
typsetting source code from a wide variety of programming languages. As R
(ie S) wasn't supported yet, I quickly cobbled a style sheet for the S
language together. Stylesheets are documented in the texinfo docs for a2ps,
and examples can be found in /usr/share/a2ps/sheets (on Debian at least,
others...
2012 Nov 01
1
How to nicely display R code with the LaTeX package 'listings'?
...tabsize=3,% sizes of tabs
showstringspaces=false,% do not replace spaces in strings by a certain character
captionpos=b,% positioning of the caption below
breaklines=true,% automatic line breaking
escapeinside={(*}{*)},% escaping to LaTeX
fancyvrb=true,% verbatim code is typset by listings
extendedchars=false,% prohibit extended chars (chars of codes 128--255)
literate={"}{{\texttt{"}}}1{<-}{{$\leftarrow$}}1{<<-}{{$\twoheadleftarrow$}}1
{~}{{$\sim$}}1{<=}{{$\le$}}1{>=}{{$\ge$}}1{!=}{{$\neq$}}1{^}{{$^\wedge$}}1,% item to rep...