[Bioc-devel] how to use footnote in BiocStyle

Ou, Jianhong Jianhong.Ou at umassmed.edu
Fri Dec 20 21:32:13 CET 2013


Thanks Martin,

I am using \thanks now. It works.

Yours sincerely,

Jianhong Ou

LRB 670A
Program in Gene Function and Expression
364 Plantation Street Worcester,
MA 01605




On 12/19/13 5:53 PM, "Martin Morgan" <mtmorgan at fhcrc.org> wrote:

>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 at 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 at 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 at 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



More information about the Bioc-devel mailing list