But John needs the LaTeX table output in the next line of R code;
include=FALSE will exclude everything in that chunk.
Moving booktabs() to the previous chunk and using include=FALSE there
will be fine.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statisti
On Mon, Jun 3, 2013 at 10:45 PM, Yihui Xie wrote:
> You should not print booktabs() in a chunk with results='asis',
> because that will generate invalid LaTeX code in the output. You can
> use invisible(booktabs()) or foo <- booktabs() to avoid printing.
>
> Or request Duncan (the package author)
You should not print booktabs() in a chunk with results='asis',
because that will generate invalid LaTeX code in the output. You can
use invisible(booktabs()) or foo <- booktabs() to avoid printing.
Or request Duncan (the package author) to return invisible(save) in booktabs().
Regards,
Yihui
--
From: Yihui Xie
To: John Kane
Cc: Lyx List
Sent: Monday, June 3, 2013 4:17:18 PM
Subject: Re: Problem using R's table package with knitr.
Did you \usepackage{booktabs} in the preamble? That is what
?tables::booktabs says.
Yes , I tried it both with and
Did you \usepackage{booktabs} in the preamble? That is what
?tables::booktabs says.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Jun 3, 2013 at 3:07 PM, John Kane wrote:
> I was havin
I was having a look at the tables package in R and tried to run an example in
LyX. It works fine until I try using the suggestion to use the booktabs()
command in the knitr statement.
The code works fine in R.
I assume that I am in conflict with another latex package in LyX? Any
workarou
Am 03.06.2013 09:39, schrieb Wolfgang Engelmann:
in a koma script book I start with
book cover page (inserted with PDFPage)
frontmatter (in ERT)
Titleetc
PDFpage is treated by TeX similar to an image. \frontmatter cannot handle this. The best is to
create your front page directly with KO
Am 03.06.2013 10:29, schrieb Wolfgang Engelmann:
since captionbeside for a figure is not (yet?) implemented in LyX, I tried
it with ERT
This is supported in the upcoming LyX 2.1.
Has somebody a working example for me, which I could try?
The EmbeddedObjects manual, sec. 3.10 "Caption Placem
On 06/02/2013 11:09 AM, אנטולי קרסנר wrote:
Hello,
I've been using LyX for a while for mathematical documents. But now I'm
writing a long document which explains a plan (a design of a software
system), and in the process I'd like to mark important decisions.
Much like mathematical documents mar
Hello,
since captionbeside for a figure is not (yet?) implemented in LyX, I tried
it with ERT
...text (figure [cap:kalbluezo-sw]) ...
this is in Lyx cross reference cap:kalbluezo-sw
(maybe I have to use here also ERT, but I don't know how)
in ERT:
\begin{figure}
begin{captionbeside}[short legen
Hi,
in a koma script book I start with
book cover page (inserted with PDFPage)
frontmatter (in ERT)
Titleetc
*The pdflatex output
gives me a first empty page with page number 1
cover page
Title with no pag
11 matches
Mail list logo