Dear list,
I'm playing around with the BiocStyle aesthetics for my csaw user's guide, and
it looks pretty good in general. However, setting fig.wide=TRUE doesn't seem to
be respected by knitr during compilation. To give an example:
%%% Latex code start %%%
\documentclass{article}
<<style-knitr, eval=TRUE, echo=FALSE, results="asis">>=
BiocStyle::latex()
@
\bioctitle[Test]{Testing}
%% also: \bioctitle{Title used for both header and title page}
%% or... \title{Title used for both header and title page}
\author{Aaron Lun}
\begin{document}
\maketitle
\begin{abstract}
yayayayaya
\end{abstract}
\packageVersion{\Sexpr{BiocStyle::pkg_ver("csaw")}}
\tableofcontents
\newpage
\chapter{blasdh}
\section{Introduction}
\subsection{Introduction}
\subsubsection{Introduction}
\paragraph{XXX}
asdasd
asdasd
<<testfig, fig.wide=TRUE>>=
plot(1, 1)
@
\end{document}
%%% End %%%
Running this with "R CMD Sweave --engine=knitr::knitr --pdf <filename>" gives
me a TeX file. But setting "fig.wide=FALSE" in the testfig chunk and
re-Sweaving gives me the exact same TeX file.
I would have expected something to manifest differently when I ask for a figure
to be wide. in this case, it seems like it never becomes wide, regardless of
how much I ask. Am I missing something?
Cheers,
Aaron
P.S. Running on BiocStyle 2.5.37.
[[alternative HTML version deleted]]
_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel