LaTeX forum ⇒ Articles, Essays, and Journal TemplatesGeneral Template Doesn't Produce the Needed J.Chem.Phys. Tem

IEEE, Elsevier, ACM, ACE, Science, AGU, PNAS, PLOS, RSoC, Springer, Stylish articles and Essays
User avatar
Johannes_B
Site Moderator
Posts: 3904
Joined: Thu Nov 01, 2012 4:08 pm

Re: General Template Doesn't Produce the Needed J.Chem.Phys.

Postby Johannes_B » Sun Feb 14, 2016 9:53 am

revtex4-1 is part of every TeX installation, you don't have to download any zip file. They provide the same zip for every journal, it is a general template driven by options to format for the right journal.

While i asked if you read file README, you are answering that there is nothing useful in 00readme.tex. In that file (README), you get an idiot-proof listing of what files are of interest.


Sorry for coming off rude, but that template madness is really bugging me.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

WaverlyStreet
Posts: 8
Joined: Fri Feb 12, 2016 6:14 am

Postby WaverlyStreet » Sun Feb 14, 2016 10:02 am

Please do tell me where do you see the ``idiot-proof listing of what files are of interest'' in this list, given in 00readme.tex:
  1. \changes{4.0a}{1998/01/16}{Initial version}
  2. \changes{4.0a}{1998/01/31}{Move after process options, so \cs{clearpage} not in scope of twocolumn}
  3. \changes{4.0a}{1998/01/31}{Rearrange the ordering so numerical ones come first. AO: David, what does this mean?}
  4. \changes{4.0a}{1998/01/31}{use font-dependent spacing}
  5. \changes{4.0a}{1998/01/31}{4.0d had twoside option setting twoside switch to false}
  6. \changes{4.0a}{1998/01/31}{Move after process options, so the following test works}
  7. \changes{4.0a}{1998/01/31}{print homepage}
  8. \changes{4.0a}{1998/01/31}{protect against hyperref revtex kludges which are not needed now}
  9. \changes{4.0a}{1998/06/10}{multiple preprint commands}
  10. \changes{4.0a}{1998/06/10}{comma not space between email and homepage}
  11. \changes{4.0a}{1998/06/10}{single space footnotes}
  12. \changes{4.0b}{1999/06/20}{First modifications by Arthur Ogawa (mailto:arthur\_ogawa at sbcglobal dot net)}
  13. \changes{4.0b}{1999/06/20}{Added localization of \cs{figuresname}}
  14. \changes{4.0b}{1999/06/20}{Added localization of \cs{tablesname}}
  15. \changes{4.0b}{1999/06/20}{AO: all code for \protect\classoption{10pt} is in this module.}
  16. \changes{4.0b}{1999/06/20}{AO: all code for \protect\classoption{11pt} is in this module.}
  17. \changes{4.0b}{1999/06/20}{AO: all code for \protect\classoption{12pt} is in this module.}
  18. \changes{4.0b}{1999/06/20}{AO: made aps.rtx part of revtex4.dtx}
  19. \changes{4.0b}{1999/06/20}{AO: remove duplicates}
  20. \changes{4.0b}{1999/06/20}{call \cs{print@floats}}
  21. \changes{4.0b}{1999/06/20}{Defer assignment until \cs{AtBeginDocument} time.}
  22. \changes{4.0b}{1999/06/20}{Defer decision until \cs{AtBeginDocument} time}
  23. \changes{4.0b}{1999/06/20}{Define three separate environments, defer assignment to \cs{AtBeginDocument} time.}
  24. \changes{4.0b}{1999/06/20}{Frank Mittelbach, has stated in \protect\classname{multicol}: ``The kernel command \cs{@footnotetext} should not be modified.'' Thus, I have removed David Carlisle's redefinition of that command. Note, however, that later versions of \protect\classname{multicol} do not require this workaround. Belt and suspenders.}%
  25. \changes{4.0b}{1999/06/20}{Move this ``complex'' option to the front, where it can be overridden by ``simple'' options.}
  26. \changes{4.0b}{1999/06/20}{New option}
  27. \changes{4.0b}{1999/06/20}{One-line caption sets flush left.}
  28. \changes{4.0b}{1999/06/20}{only execute if appropriate}
  29. \changes{4.0b}{1999/06/20}{Processing delayed to \cs{AtBeginDocument} time}
  30. \changes{4.0b}{1999/06/20}{Removed invocation of nonexistent class option \protect\classoption{groupauthors} and all other class options that should only be invoked by the document. (Otherwise precedence of class options does not work.)}
  31. \changes{4.0b}{1999/06/20}{Restore all media size class option of \protect\file{classes.dtx}}
  32. \changes{4.0b}{1999/06/20}{Stack \cs{preprint} args flush right at right margin.}
  33. \changes{4.0c}{1999/11/13}{(AO, 115) If three or more preprints specified, set on single line, with commas.}
  34. \changes{4.0c}{1999/11/13}{(AO, 129) section* within appendix was producing appendixname}
  35. \changes{4.0c}{1999/11/13}{*-form mandates pagebreak}
  36. \changes{4.0c}{1999/11/13}{also spelled ``acknowledgements''.}
  37. \changes{4.0c}{1999/11/13}{Do not put by REVTeX in every page foot}
  38. \changes{4.0c}{1999/11/13}{grid changes via ltxgrid procedures}
  39. \changes{4.0c}{1999/11/13}{grid changes with ltxgrid}
  40. \changes{4.0c}{1999/11/13}{Insert procedure \cs{checkindate}}
  41. \changes{4.0c}{1999/11/13}{Lose compatability mode.}
  42. \changes{4.0c}{1999/11/13}{New ltxgrid-based code, other bug fixes}
  43. \changes{4.0c}{1999/11/13}{New option ``checkin''}
  44. \changes{4.0c}{1999/11/13}{Prevent an inner footnote from performing twice}
  45. \changes{4.0d}{2000/04/10}{Also alter how lists get indented.}
  46. \changes{4.0d}{2000/04/10}{eprint takes an optional argument, syntactical only in this case.}
  47. \changes{4.0d}{2000/04/10}{New option}
  48. \changes{4.0d}{2000/05/10}{More features and bug fixes: compatability with longtable and array packages. Now certainly incompatible with multicol.}
  49. \changes{4.0d}{2000/05/17}{make longtable trigger the head, too}
  50. \changes{4.0d}{2000/05/18}{But alternative spelling is deprecated.}
  51. \changes{4.0e}{2000/09/20}{New option showkeys}
  52. \changes{4.0e}{2000/11/14}{Bug fixes and minor new features: title block affiliations can have ancillary data, just like authors; clearpage processing revamped, with floats staying in order; widetext ornaments.}
  53. \changes{4.0e}{2000/11/21}{adornments above and below.}
  54. \changes{4.0f}{2001/02/13}{Last bug fixes before release.}
  55. \changes{4.0rc1}{2001/06/17}{Running headers always as if two-sided}
  56. \changes{4.0rc1}{2001/06/18}{grid changes with push and pop}
  57. \changes{4.0rc1}{2001/06/18}{grid changes with push and pop}
  58. \changes{4.0rc4}{2001/07/23}{hyperref is no longer loaded via class option: use a usepackage statement instead}
  59. \changes{4.1a}{2008/01/18}{(AO, 457) Endnotes to be sorted in with numerical citations.}%
  60. \changes{4.1a}{2008/01/18}{(AO, 451) ``Cannot have more than 256 cites in a document''}%
  61. \changes{4.1a}{2008/01/18}{(AO, 457) Endnotes to be sorted in with numerical citations.}%
  62. \changes{4.1a}{2008/01/18}{(AO, 460) ``Proper style is "FIG. 1. ..." (no colon)''}%
  63. \changes{4.1a}{2008/01/18}{(AO, 478) \cs{ds@letterpaper}, so that ``letterpaper really is the default''}%
  64. \changes{4.1a}{2008/01/18}{(AO, 488) Change processing of options to allow an unused option to specify society and journal}%
  65. \changes{4.1a}{2008/01/19}{(AO, 461) Change the csname revtex uses from @dotsep to ltxu@dotsep. The former is understood in mu. (What we wanted was a dimension.)}%
  66. \changes{4.1a}{2008/01/19}{For natbib versions before 8.21, \cs{NAT@sort} was consulted only as natbib was being read in. Now it is fully dynamic.}
  67. \changes{4.1b}{2008/05/29}{The csname substyle@ext is now defined without a dot (.), to be compatible with \LaTeX usage (see @clsextension and @pkgextension).}
  68. \changes{4.1b}{2008/06/01}{(AO) Implement bibnotes through \cs{frontmatter@footnote@produce} instead of \cs{bibnotes@sw}}%
  69. \changes{4.1b}{2008/06/01}{Add option reprint, opposite of preprint, and preferred alternative to twocolumn}
  70. \changes{4.1b}{2008/06/29}{(AO, 455) Be nice to a list within the abstract (assign \cs{@totalleftmargin}).}
  71. \changes{4.1b}{2008/06/30}{(AO) Structure the Abstract using the \texttt{bibliography} environment}
  72. \changes{4.1b}{2008/07/01}{(AO) coordinate \cs{if@twoside} with \cs{twoside@sw}}
  73. \changes{4.1b}{2008/07/01}{(AO) make settings at class time instead of deferring them to later.}
  74. \changes{4.1b}{2008/07/01}{(AO) No longer need to test \cs{chapter} as of \texttt{natbib} version 8.2}
  75. \changes{4.1b}{2008/07/01}{(AO) No longer use \cs{secnumarabic@sw}, instead use \cs{setup@secnums}}
  76. \changes{4.1b}{2008/07/01}{(AO) Provide more diagnostics when \cs{@society} is assigned.}
  77. \changes{4.1b}{2008/07/01}{(AO) provide option longbibliography}
  78. \changes{4.1b}{2008/07/01}{Add \cs{@hangfroms@section}}
  79. \changes{4.1b}{2008/07/01}{Break out \cs{@caption@fignum@sep}}
  80. \changes{4.1b}{2008/07/01}{Class option galley sets \cs{preprintsty@sw} to false}
  81. \changes{4.1b}{2008/07/01}{Code relating to new syntax for frontmatter has been placed in \file{ltxfront.dtx}}
  82. \changes{4.1b}{2008/07/01}{Package textcase is now simply a required package}
  83. \changes{4.1b}{2008/07/01}{Procedures \cs{@parse@class@options@society} and \cs{@parse@class@options@journal} and friends}
  84. \changes{4.1b}{2008/07/01}{Read in all required packages together}
  85. \changes{4.1b}{2008/07/01}{Remove options newabstract and oldabstract}
  86. \changes{4.1b}{2008/08/01}{Section numbering via procedures \cs{secnums@rtx} and \cs{secnums@arabic}.}
  87. \changes{4.1b}{2008/08/04}{As with author formatting, rag the right more, and assign \cs{@totalleftmargin}. Also neutralize \cs{def@after@address}.}%
  88. \changes{4.1b}{2008/08/04}{Rag the right even more: .8\cs{hsize}. Also, assign \cs{@totalleftmargin}.}%
  89. \changes{4.1b}{2008/08/04}{The \texttt{rmp} journal substyle selects \texttt{groupedaddress} by default.}%
  90. \changes{4.1b}{2008/08/04}{Use \cs{setup@hook} to initialize all.}
  91. \changes{4.1c}{2008/08/15}{Document class option longbibliography via \cs{substyle@post}}
  92. \changes{4.1d}{2009/03/27}{Definition of \cs{ @fnsymbol} follows fixltx2e.sty}
  93. \changes{4.1e}{2008/06/29}{(AO, 455) be nice to a list within the abstract}
  94. \changes{4.1f}{2009/07/07}{(AO, 513) Add class option linenumbers: number the lines a la \classname{lineno}}
  95. \changes{4.1f}{2009/07/07}{(AO, 516) Merged references are separated with a semicolon}
  96. \changes{4.1f}{2009/07/10}{(AO, 520) Automatically produce \cs{bibliography} command when needed}%
  97. \changes{4.1f}{2009/07/11}{(AO, 521) Lonely bibliography head}%
  98. \changes{4.1f}{2009/07/11}{(AO, 522) Warn if software is expired}%
  99. \changes{4.1f}{2009/07/15}{(AO, 523) Add class option nomerge, to turn off new natbib 8.3 syntax}
  100. \changes{4.1f}{2009/07/20}{(AO, 524) Makes no sense if citations are superscript numbers and so are footnotes}
  101. \changes{4.1f}{2009/10/05}{(AO, 530) \cs{@fnsymbol}: Failed to import fixltx2e.sty technology. Return to LaTeX core.}
  102. \changes{4.1g}{2009/10/07}{(AO, 525) Remove phantom paragraph above display math that is given in vertical mode}%
  103. \changes{4.1g}{2009/10/07}{(AO, 538) \cs{MakeTextUppercase} inappropriately expands the double backslash}
  104. \changes{4.1h}{2009/10/09}{(AO) Remove expiry code in the release software}%
  105. \changes{4.1i}{2009/10/23}{(AO, 541) Defer assignment of \cs{cite} until after natbib loads}
  106. \changes{4.1j}{2009/10/24}{(AO, 549) Repairing natbib's \cs{BibitemShut} and \cs{bibAnnote}}
  107. \changes{4.1j}{2009/10/25}{(AO, 545) hypertext capabilities off by default; enable with \classoption{hypertext}}
  108. \changes{4.1j}{2009/10/25}{(AO, 552) Repair spacing in \cs{onlinecite}}
  109. \changes{4.1k}{2009/11/06}{(AO, 554) give the \cs{newlabel} command syntax appropriate to the hyperref package}
  110. \changes{4.1n}{2009/11/06}{(AO, 565) restore 4.0 behavior: invoking class option preprint implies class option preprintnumbers}
  111. \changes{4.1n}{2009/11/30}{(AO, 566) restore 4.0 behavior: flush column bottoms}
  112. \changes{4.1n}{2009/12/05}{(AO, 569) Use of \classname{hyperref} interferes with column balancing of last page}%
  113. \changes{4.1n}{2009/12/09}{(AO, 569) execute the after-last-shipout procedures from within the safety of the output routine}%
  114. \changes{4.1n}{2010/01/02}{(AO, 571) Interface \cs{set@footnotewidth} for determining the set width of footnotes}%
  115. \changes{4.1n}{2010/01/02}{(AO, 572) Independent footnote counter for title block. Abstract footnote counter shared with body.}%
  116. \changes{4.1n}{2009/12/13}{(AO, 573) arrange to load \classname{lineno} after any other packages.}%
  117. \changes{4.1n}{2010/01/04}{(AO, 575) the default for journal prstper is longbibliography}%
  118. \changes{4.1n}{2010/01/04}{(AO, 576) In .bst files, remove support for the annote field}%
  119. \changes{4.1n}{2010/01/02}{(AO) fine-tune spacing above and below widetext}%
  120. \changes{4.1n}{2010/01/02}{(AO, 571) class file must set \cs{splittopskip}; fine tune \cs{skip}\cs{footins}; \cs{footnoterule} defined in terms of \cs{skip}\cs{footins}}%
  121. \changes{4.1n}{2010/01/02}{(AO, 572) \cs{@makefntext} and \cs{frontmatter@makefntext} must be defined harmoniously}%
  122. \changes{4.1o}{2010/02/02}{(AO, 575) Automatically incorporate the (Bib\TeX-generated) .bbl into an explicit \env{thebibliography}}%
  123. \changes{4.1o}{2010/02/05}{(AO, 549) Remove patch to natbib, which is now at version 8.31a}
  124. \changes{4.1o}{2010/02/07}{(AO, 578) accommodate the possible space character preceding \cs{BibitemShut}.}
  125. \changes{4.1o}{2010/02/05}{(AO, 579) Endnote shall comprise their own Bib\TeX\ entry type: @FOOTNOTE.}
  126. \changes{4.1o}{2010/02/10}{(AO, 580) Provide a document class option to turn off production of eprint field in bibliography.}
  127. \changes{4.1o}{2010/02/12}{(AO, 580) Control .bst at run time.}%
  128. \changes{4.1o}{2010/02/09}{(AO, 581) Handle case: merged references, with first ending in a stop character.}
  129. \changes{4.1p}{2010/02/24}{(AO, 583) Provide interface to \classname{ltxgrid} \cs{onecolumn@grid@setup} and \cs{twocolumn@grid@setup}}
  130. \changes{4.1p}{2010/02/24}{(AO, 584) Per MD, remove trailing space character from each journal abbreviation: it had caused an extraneous space in the .bbl}
  131. \changes{4.1q}{2010/04/01}{(AO, 586) When .bbl is pasted into the document, prevent automatic bibliography inclusion.}%
  132. \changes{4.1q}{2010/04/13}{(AO, 588) Only write \revtex-specific BibTeX .bib data if the .bst style is set by REVTeX.}%
  133. \changes{4.1r}{2010/06/22}{(AO, 595) Provide \cs{lovname} along with other List of Videos definitions.}%

User avatar
Johannes_B
Site Moderator
Posts: 3904
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sun Feb 14, 2016 10:18 am

Please check if you have a file README, it is different from 00readme.tex.

It should give you (abridged):

  1. This file describes the contents of this distribution of REVTeX 4.1.
  2. The definitive source of information about REVTeX 4 is the APS web
  3. page <!-- m --><a class="postlink" href="http://authors.aps.org/revtex4/">http://authors.aps.org/revtex4/</a><!-- m -->.
  4.  
  5. Documentation: doc/latex/revtex/
  6. -----------------
  7. README - How to get started
  8.  
  9. AIP Sample document: doc/latex/revtex/sample/aip
  10. -------
  11. aipsamp.tex (pdf) - A sample file showing most common features of an AIP
  12. REVTeX 4.1 document
  13. fig_1.eps - sample figure for apssamp.tex
  14. fig_2.eps - sample wide figure for apssamp.tex
  15. aipsamp.bib - sample BibTeX source file for apssamp.tex
  16. aiptemplate.tex - A template for APS authors to follow
  17.  
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

WaverlyStreet
Posts: 8
Joined: Fri Feb 12, 2016 6:14 am

Postby WaverlyStreet » Sun Feb 14, 2016 12:32 pm

Thanks. I already had all these files available but was expecting there would be some journal-specific tex template to be included. Now, I gather that there's a general template in the zip folder, valid for submission to any of the journals published by aip, as you already explained.

All I can do so far is to compile the tex files in doc/latex/revtex/aipguide4-1.tex and doc/latex/revtex/apsguide4-1.tex. The other tex files could not be compiled because they ask for figures although I see there are sample figures present in the folder.

The file doc/latex/revtex/aipguide4-1.tex appears to be the closest to what the formatting of The Journal of Chemical Physics requires when compiled. The numbering of references as subscripts is right, the two column outfit is there, tables can be included but no figure samples are given. That's what remains to figure out, as well as how to use my own bib file.

User avatar
Johannes_B
Site Moderator
Posts: 3904
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sun Feb 14, 2016 12:45 pm

  1. AIP Sample document: doc/latex/revtex/sample/aip
  2. -------
  3. aipsamp.tex (pdf) - A sample file showing most common features of an AIP
  4. REVTeX 4.1 document
  5. fig_1.eps - sample figure for apssamp.tex
  6. fig_2.eps - sample wide figure for apssamp.tex
  7. aipsamp.bib - sample BibTeX source file for apssamp.tex
  8. aiptemplate.tex - A template for APS authors to follow


shows you everything you need. Even shows you how to insert a bibliography.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

WaverlyStreet
Posts: 8
Joined: Fri Feb 12, 2016 6:14 am

Postby WaverlyStreet » Sun Feb 14, 2016 12:53 pm

Yes, I saw that but have to try it. Thanks again.


Return to “Articles, Essays, and Journal Templates”

Who is online

Users browsing this forum: No registered users and 2 guests