Re: multiple \thanks in author field
Tilman Rothe wrote: > I'm trying to add two grant acknowledgements to a paper by two authors. How > do I do the trick? Separate the two authors by \and (in ERT) and insert each acknowledgment as a footnote after the respective author. I.e., T. Rothe \and C. O. Author LyX will output the footnotes as \thanks's in this context. HTH, Jürgen
Re: multiple \thanks in author field
A suggestion: You can try putting everything, including the "\author" command, inside the ERT TeX-code box, and not use built it "\author" command of the LyX. Ganesh On 5/1/2011 7:39 AM, Tilman Rothe wrote: Hi, I'm trying to add two grant acknowledgements to a paper by two authors. How do I do the trick? My coauthor gave me this snippet, which compiles in TeXShop 2.36 but not in Lyx 1.6.7: \author{T. Rothe\thanks{Supported by grant 12345678.} \hskip 5pt and C. O. Author \thanks{Supported by grant 12345678.} \\[5mm] ( Friedrich Schiller University Jena,\\[1mm] e-mail: tilman.rothe@googlemyinstitution, c.o.author@googlemyinstitution)} I can select "author" as paragraph style from the dropdown menu, type both authors, and put a single footnote at the end for the second \thanks. But I cannot make two footnotes. Either I get cryptic error messages, or the grant gets un-footnoted when pasting the snippet as literal ERT. Please excuse my ignorance, Lyx has successfully saved me from Latex since 2000. --- Mail scanned by Amrita GAV Server
Re: multiple \thanks in author field
David L. Johnson Lehigh.EDU> writes: > > On 04/30/2011 10:09 PM, Tilman Rothe wrote: > > Hi, > > I'm trying to add two grant acknowledgements to a paper by two authors. How do I > > do the trick? > I was looking at how I did this, and it was in a single "thanks" > environment, saying: "The first author was partially supported by blah. > The second author was partially supported by the blah." > > It worked for me. Things are getting even more weird - the document will compile as article, but not as AMS article. Steps to reproduce: 1) Open a new document 2) Type a title, formatted as such, end the paragraph (else it won't compile) 3) Type an author, and format it as such in the dropdown menu 4) Immediately, start typing a Footnote with the grant, then end the paragraph 5) Type some standard-format text (else it won't compile). 6) Compile, you get a PDF 7) Change the document to "article (AMS)" 8) Compile, you get an error message about \thanks in \author For completeness, this is the test file: #LyX 1.6.7 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass amsart \use_default_options true \begin_modules theorems-ams eqs-within-sections figs-within-sections \end_modules \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \spacing single \use_hyperref false \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author "" \end_header \begin_body \begin_layout Title Title \end_layout \begin_layout Author A. Author \begin_inset Foot status open \begin_layout Plain Layout grant \end_layout \end_inset \end_layout \begin_layout Standard text \end_layout \end_body \end_document
Re: multiple \thanks in author field
On 04/30/2011 10:09 PM, Tilman Rothe wrote: Hi, I'm trying to add two grant acknowledgements to a paper by two authors. How do I do the trick? My coauthor gave me this snippet, which compiles in TeXShop 2.36 but not in Lyx 1.6.7: \author{T. Rothe\thanks{Supported by grant 12345678.} \hskip 5pt and C. O. Author \thanks{Supported by grant 12345678.} \\[5mm] ( Friedrich Schiller University Jena,\\[1mm] e-mail: tilman.rothe@googlemyinstitution, c.o.author@googlemyinstitution)} This snippet seems really awkward. For one thing, it is really trying to work around LaTeX settings. I bet this was from someone used to plain TeX, where you fussed with how many mm to space things, rather than let the overall document class take care of it. I was looking at how I did this, and it was in a single "thanks" environment, saying: "The first author was partially supported by blah. The second author was partially supported by the blah." It worked for me. -- David L. Johnson Some people used to claim that, if enough monkeys sat in front of enough typewriters and typed long enough, eventually one of them would reproduce the collected works of Shakespeare. The internet has proven this not to be the case.
multiple \thanks in author field
Hi, I'm trying to add two grant acknowledgements to a paper by two authors. How do I do the trick? My coauthor gave me this snippet, which compiles in TeXShop 2.36 but not in Lyx 1.6.7: \author{T. Rothe\thanks{Supported by grant 12345678.} \hskip 5pt and C. O. Author \thanks{Supported by grant 12345678.} \\[5mm] ( Friedrich Schiller University Jena,\\[1mm] e-mail: tilman.rothe@googlemyinstitution, c.o.author@googlemyinstitution)} I can select "author" as paragraph style from the dropdown menu, type both authors, and put a single footnote at the end for the second \thanks. But I cannot make two footnotes. Either I get cryptic error messages, or the grant gets un-footnoted when pasting the snippet as literal ERT. Please excuse my ignorance, Lyx has successfully saved me from Latex since 2000.