Displaying 6 results from an estimated 6 matches for "breaklines".
2006 Apr 26
2
Rich text editing
Hi people, i just finished my first weblog, with comments, auth and
admin zone(yay!) so i was looking for a way to make a rich text editor
zone for the posts, right now im using textilize() and <br> html tags to
format the text and breaklines so hope some one can give a reference in
how to achieve that.
Already told you that this rails stuff its amazing :)
--
Posted via http://www.ruby-forum.com/.
2012 Nov 01
1
How to nicely display R code with the LaTeX package 'listings'?
...line numbers on the left side
numberstyle=\scriptsize,% use small line numbers
numbersep=10pt,% space between line numbers and code
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{<<...
2011 Nov 23
1
R-latex syntax highlighting?
...language=R,
basicstyle=\scriptsize\ttfamily,
commentstyle=\ttfamily\color{gray},
numbers=left,
numberstyle=\ttfamily\color{red}\footnotesize,
stepnumber=1,
numbersep=5pt,
backgroundcolor=\color{white},
showspaces=false,
showstringspaces=false,
showtabs=false,
frame=single,
tabsize=2,
captionpos=b,
breaklines=true,
breakatwhitespace=false,
title=\lstname,
escapeinside={},
keywordstyle={},
morekeywords={}
}
But I know that using the color latex package it can look a lot nicer and I guess some people might have configured that before and are willing to share it?
I'm also interested in the a similar...
2004 Oct 04
4
Off-Topic: LaTeX package listings
Hola!
I ask here since I learnt from this list that the LaTeX package listings
should be good
for typesetting R code. I encountered one problem:
\begin{lstlisting}
X %*% V
\end{lstlisting}
in the output the * in %*% disappears! same with %/%, etc, the /
disappears.
Any ideas?
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
--
2010 May 05
3
Latex and Stangle()
Hi,
I'm using the Sweave and I would like include codes of the R
in my LaTeX file.
I extracts the R code with Stangle (), whose name is
Relatorio.R but I can't include it
in the Latex file as an appendix.
Suggests?
Thanks,
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2009 Jan 28
2
OT: Adding verbatim R code text into LaTeX documents: texttt; verb or url?
Hi all
I use Sweave extensively to mix R and LaTeX, and often have R code appearing in my LaTeX document.
Just a quick question then: What is the best way to add example of R commands into LaTeX in-line? (That is, not using Sweave.) For example, suppose I wish to place in my document this instruction:
...is done in R using the command \verb|lm( y ~ var.one + var.two )| as follows:
I