On 12/19/2013 01:44 PM, Ou, Jianhong wrote:
Hi All,
I tried to add \footnote in \author tag like
%\VignetteIndexEntry{MyPackage Vignette}
%\VignetteDepends{MyPackage}
%\VignetteKeywords{hello}
%\VignettePackage{MyPackage}
\documentclass[12pt]{article}
<<style, echo=FALSE, results=tex>>=
BiocStyle::latex()
@
\author{author1\footnote{a...@abc.com}} %%%%% could not work, even use
\protect\footnote
I think this is an interaction with BiocStyle's use of the titling latex
package, which could be worked around using
\author{author1\thanks{a...@abc.com}}
but probably Bioconductor.sty should be changed with (??)
Index: Bioconductor.sty
===================================================================
--- Bioconductor.sty (revision 84873)
+++ Bioconductor.sty (working copy)
@@ -40,8 +40,8 @@
\subsubsectionfont{\sffamily\bfseries\color{BiocBlue}}
%
%% Page layout
-\RequirePackage{titling} %% captures \title{} as \thetitle for subsequent use
\RequirePackage{fancyhdr}
+\AtBeginDocument{\let\thetitle\@title}
\pagestyle{fancy}
\fancyhf{} % clear all header and footer fields
\fancyhead[LE,RO]{\thepage}
\begin{document}
\title{hello world}
\maketitle
\tableofcontents
\section{Session Info}
<<sessionInfo, results=tex, print=TRUE>>=
toLatex(sessionInfo())
@
\end{document}
Now the question is how could I insert the footnote for an author? Thank in
advance for your help.
Yours sincerely,
Jianhong Ou
LRB 670A
Program in Gene Function and Expression
364 Plantation Street Worcester,
MA 01605
[[alternative HTML version deleted]]
_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel
--
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109
Location: Arnold Building M1 B861
Phone: (206) 667-2793
_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel