Bioconductor / BiocStyle

Issues and pull requests for BiocStyle should go here.
12 stars 19 forks source link

TOC Chapter headings are small font #35

Closed LTLA closed 6 years ago

LTLA commented 7 years ago

In my updated version of the csaw user's guide, using BiocStyle yields a TOC where the chapter headings seem to be of a smaller font than the section headings. They are bold, which is nice, but should the chapter headings be larger than - or at least, of equal size to - the section headings?

aoles commented 7 years ago

Thanks, will look into this.

LTLA commented 6 years ago

Thanks Andrzej. Funnily enough, I still get the old small font when I set relative.path=TRUE.

\documentclass{report}

<<style-knitr, eval=TRUE, echo=FALSE, results="asis">>=
BiocStyle::latex(relative.path=TRUE)
@

\begin{document}

\tableofcontents
\newpage

\chapter{Introduction}

\chapter{Epilogue}

\section{Session information}
<<>>=
sessionInfo()
@

\end{document}

Presumably something didn't get copied?

aoles commented 6 years ago

That's because Bioconductor2.sty is copied over by a call to file.copy with overwrite=FALSE. Just delete the file in your document working dir and recompile.

LTLA commented 6 years ago

Ah, okay. Perhaps overwrite=TRUE might be more intuitive/expected? Just my two cents.