Search found 11 matches

by Hive
Thu Mar 31, 2016 2:37 pm
Forum: LyX
Topic: BiocStyle and hyperref
Replies: 8
Views: 5274

BiocStyle and hyperref

Finally found it !

The problem comes from the Lyx tool to make hyperlink (litteraly the hyperlink button) which interfere with BiocStyle. I manualy wrote it in a code chunk with the latex command href :
\href{http://www.site.com}{site}

And it works.
by Hive
Fri Mar 04, 2016 5:25 pm
Forum: LyX
Topic: How to set in bold the first line of a table knitr ?
Replies: 2
Views: 4146

Re: How to set in bold the first line of a table knitr ?

After modifying row values in the form "\\textbf{value}", and setting print.xtable option "sanitize.text.function=identity", it greatly works.

Many thanks for your help !

I'll see if the option "add.to.row" can also do the job. I'll notice you if I find something useful.
by Hive
Wed Mar 02, 2016 3:39 pm
Forum: LyX
Topic: How to set in bold the first line of a table knitr ?
Replies: 2
Views: 4146

How to set in bold the first line of a table knitr ?

Hello everyone

I would like to set the first line of my tables in bold, like this little example :
http://img15.hostingpics.net/thumbs/mini_842322Capturedcrande20160302140903.png

Pretty easy with lyx but I didn't find any solution to do it in knitr/Lyx, except this post which explains how to ...
by Hive
Fri Feb 26, 2016 5:26 pm
Forum: LyX
Topic: Two tables on the same line with xtable/knitr
Replies: 6
Views: 5664

Re: Two tables on the same line with xtable/knitr

Thanks a lot, it works by combining custom insert and "floating=FALSE" xtable option.

I also find another solution with two minipages side by side : insert -> box -> without border (maybe not the exact names, I work on french lyx version). Put your knitr chunk inside and then set the width of your ...
by Hive
Fri Feb 26, 2016 4:12 pm
Forum: LyX
Topic: BiocStyle and hyperref
Replies: 8
Views: 5274

Re: BiocStyle and hyperref

Thanks for your time. I'll let you know if I find any solution ;)
by Hive
Thu Feb 25, 2016 1:02 pm
Forum: LyX
Topic: Two tables on the same line with xtable/knitr
Replies: 6
Views: 5664

Re: Two tables on the same line with xtable/knitr

Sorry. Here another MWE.
by Hive
Thu Feb 25, 2016 12:11 pm
Forum: LyX
Topic: BiocStyle and hyperref
Replies: 8
Views: 5274

BiocStyle and hyperref

Ok sorry for that. Here a better MWE I hope.

In the preamble I put a knitr "chunk" which allows to use R code in a latex document. Here I can call BiocStyle::latex() which change the layout of my pdf. So the only module loaded is Rnw (knitr) to make it work.

I use lyx in version 2.1.3

I put a ...
by Hive
Mon Feb 22, 2016 4:45 pm
Forum: LyX
Topic: Two tables on the same line with xtable/knitr
Replies: 6
Views: 5664

Two tables on the same line with xtable/knitr

Hi and thanks for the answer.

I tried to do what you said but it still doesn't work. In attach, a mwe of what I did. Maybe I missed something ?

I looked at knitr chunk options but didn't find something usefull to set.
by Hive
Mon Feb 22, 2016 12:59 pm
Forum: LyX
Topic: BiocStyle and hyperref
Replies: 8
Views: 5274

BiocStyle and hyperref

Sorry for the late. In attach, a mwe of my problem, which gives the same errors. It works if I remove the link on the last line ("forum lyx").

I just load the knitr module in order to use BiocStyle.
by Hive
Wed Feb 10, 2016 6:52 pm
Forum: LyX
Topic: Two tables on the same line with xtable/knitr
Replies: 6
Views: 5664

Two tables on the same line with xtable/knitr

Hello everyone.

I would like to get two tables on the same line due to their small size. I generate them with xtable via knitr chunks and they are placed one above the other by default. I tried to use multicol but the tables simply disappear. I also tried to make a simple table with one line and ...