search for: lstdefinelanguage

Displaying 3 results from an estimated 3 matches for "lstdefinelanguage".

2012 Jun 02
0
[LLVMdev] LLVM markup for LaTeX lstlisting
Dear colleagues, Yesterday a question regarding existence of <subj> was raised on IRC. FWIW, attached are TeX source with \lstdefinelanguage{llvm}, based on the vim syntax file and a sample PDF output. You can include it to your LaTeX articles or beamer slides. Also, it would be great, if someone could highlight types or improve it in any other way! Best, - Dima. -------------- next part -------------- A non-text attachment was scrubbe...
2006 Sep 25
3
Best use of LaTeX listings package for pretty printing R code
This is what I have been using. Does anyone have a better way? In particular I would like to see letters in comment strings not stretched so much. Thanks -Frank \documentclass{article} \usepackage{listings,relsize} \lstloadlanguages{R} \newcommand{\lil}[1]{\lstinline|#1|} \begin{document} \lstset{language=R,basicstyle=\smaller,commentstyle=\rmfamily\smaller, showstringspaces=false,%
2007 Jan 15
4
How to format R code in LaTex documents
Hi, I am planning on putting some R script in an appendix of a LaTex document. Can anyone recommend me a way of how to format it? Is there a way to keep all line breaks without having to insert \\ in every single line? Thank you! Benjamin