Loading ornlltr/ornl-template-example.tex→ornlltr/ornl-ltr-template-example.tex +31 −19 Original line number Diff line number Diff line Loading @@ -93,18 +93,34 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % ACRONYMS % ABBREVIATIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Note that acronyms that aren't used in the document won't be printed in the % list. %\makeglossaries \makenoidxglossaries \newacronym{doe}{DOE}{Department of Energy} \newacronym{nrc}{NRC}{Nuclear Regulatory Commission} \newacronym{tm}{TM}{technical memo} \newacronym{ornl}{ORNL}{Oak Ridge National Laboratory} \newacronym{tnr}{TNR}{Times New Roman} % Note that acronyms that aren't used in the document won't be printed in the list. % Uses the Acro package called in CLS. Note that acronyms that aren't used in the document won't be printed in the list. \DeclareAcronym{doe}{ short = DOE , long = US Department of Energy } \DeclareAcronym{nrc}{ short = NRC , long = Nuclear Regulatory Commission } \DeclareAcronym{tm}{ short = TM , long = Technical Memo } \DeclareAcronym{ornl}{ short = ORNL , long = Oak Ridge National Laboratory } \DeclareAcronym{tnr}{ short = TNR , long = Times New Roman } \DeclareAcronym{msc}{ short = MSC , long = many such cases } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % FRONT MATTER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Loading @@ -118,12 +134,8 @@ % LIST OF TABLES: optional if fewer than 5 are used %\listoftables % Not used for LTR template. % LIST OF ACRONYMS % NOTE: this will only print if `makeindex X.ist -o X.acr X.acn` is executed. % This is part of the included Makefile. %\printacronyms %\printglossaries %\printnoidxglossaries % Not used for LTR template. % Print LIST OF ABBREVIATIONS (optional) \printacronyms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Loading Loading @@ -234,11 +246,11 @@ Begin text here. \subparagraph{Fifth-Order Heading} Ask yourself, ``Do I \emph{really} need five or more hierarchical levels in my document?'' document?'' \Ac{msc}. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \marginpar{A \texttt{\\cleardoublepage} should be inserted here if the preceding \marginpar{A \texttt{\textbackslash cleardoublepage} should be inserted here if the preceding section is not too short.} \section{FIGURE PLACEMENT} Loading ornlltr/ornlltr.cls +12 −8 Original line number Diff line number Diff line Loading @@ -23,7 +23,8 @@ \RequirePackage{fancyhdr} % headers and footers \RequirePackage{emptypage} % hide footers on blank pages \RequirePackage[pdfusetitle]{hyperref} % url and links in PDF \RequirePackage[shortcuts,acronym,nonumberlist,nogroupskip,nopostdot]{glossaries} % acronym support \RequirePackage{acro} % Add support for abbreviations \RequirePackage{array} % Add support for tabulars \RequirePackage{tocloft} % table of contents styling \RequirePackage{color} % colored fonts and boxes \RequirePackage{framed} % framed notice boxes Loading Loading @@ -409,7 +410,7 @@ agency thereof.}} Prepared by \\ OAK RIDGE NATIONAL LABORATORY \\ Oak Ridge, TN 37831-6283 \\ Oak Ridge, TN 37831 \\ managed by \\ UT-BATTELLE LLC \\ for the \\ Loading Loading @@ -500,12 +501,15 @@ under contract DE-AC05-00OR22725 % ABBREVIATIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setacronymstyle{long-short} \setglossarystyle{long} \renewcommand\glsdescwidth{\linewidth} \glstoctrue \renewcommand\glossarypostamble{\@cleardbliffrontmatter} \renewcommand\acronymname{ABBREVIATIONS} \acsetup{ list/heading = section*, % Set list heading to section but do not number list/name = {LIST OF ABBREVIATIONS}, % Ensure heading will print correct title list/template = tabular, % Set list style as tabular for better spacing list/preamble = { % Adding options to the preamble of the actual list. Any text or TeX can go here (almost). \phantomsection % Adding a phantom section so the ToC link will actually go there \addcontentsline{toc}{section}{LIST OF ABBREVIATIONS} % Adding line to ToC for the abbreviations } % End acro preamble } % End acro setup %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % MAIN MATTER Loading Loading
ornlltr/ornl-template-example.tex→ornlltr/ornl-ltr-template-example.tex +31 −19 Original line number Diff line number Diff line Loading @@ -93,18 +93,34 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % ACRONYMS % ABBREVIATIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Note that acronyms that aren't used in the document won't be printed in the % list. %\makeglossaries \makenoidxglossaries \newacronym{doe}{DOE}{Department of Energy} \newacronym{nrc}{NRC}{Nuclear Regulatory Commission} \newacronym{tm}{TM}{technical memo} \newacronym{ornl}{ORNL}{Oak Ridge National Laboratory} \newacronym{tnr}{TNR}{Times New Roman} % Note that acronyms that aren't used in the document won't be printed in the list. % Uses the Acro package called in CLS. Note that acronyms that aren't used in the document won't be printed in the list. \DeclareAcronym{doe}{ short = DOE , long = US Department of Energy } \DeclareAcronym{nrc}{ short = NRC , long = Nuclear Regulatory Commission } \DeclareAcronym{tm}{ short = TM , long = Technical Memo } \DeclareAcronym{ornl}{ short = ORNL , long = Oak Ridge National Laboratory } \DeclareAcronym{tnr}{ short = TNR , long = Times New Roman } \DeclareAcronym{msc}{ short = MSC , long = many such cases } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % FRONT MATTER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Loading @@ -118,12 +134,8 @@ % LIST OF TABLES: optional if fewer than 5 are used %\listoftables % Not used for LTR template. % LIST OF ACRONYMS % NOTE: this will only print if `makeindex X.ist -o X.acr X.acn` is executed. % This is part of the included Makefile. %\printacronyms %\printglossaries %\printnoidxglossaries % Not used for LTR template. % Print LIST OF ABBREVIATIONS (optional) \printacronyms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Loading Loading @@ -234,11 +246,11 @@ Begin text here. \subparagraph{Fifth-Order Heading} Ask yourself, ``Do I \emph{really} need five or more hierarchical levels in my document?'' document?'' \Ac{msc}. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \marginpar{A \texttt{\\cleardoublepage} should be inserted here if the preceding \marginpar{A \texttt{\textbackslash cleardoublepage} should be inserted here if the preceding section is not too short.} \section{FIGURE PLACEMENT} Loading
ornlltr/ornlltr.cls +12 −8 Original line number Diff line number Diff line Loading @@ -23,7 +23,8 @@ \RequirePackage{fancyhdr} % headers and footers \RequirePackage{emptypage} % hide footers on blank pages \RequirePackage[pdfusetitle]{hyperref} % url and links in PDF \RequirePackage[shortcuts,acronym,nonumberlist,nogroupskip,nopostdot]{glossaries} % acronym support \RequirePackage{acro} % Add support for abbreviations \RequirePackage{array} % Add support for tabulars \RequirePackage{tocloft} % table of contents styling \RequirePackage{color} % colored fonts and boxes \RequirePackage{framed} % framed notice boxes Loading Loading @@ -409,7 +410,7 @@ agency thereof.}} Prepared by \\ OAK RIDGE NATIONAL LABORATORY \\ Oak Ridge, TN 37831-6283 \\ Oak Ridge, TN 37831 \\ managed by \\ UT-BATTELLE LLC \\ for the \\ Loading Loading @@ -500,12 +501,15 @@ under contract DE-AC05-00OR22725 % ABBREVIATIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setacronymstyle{long-short} \setglossarystyle{long} \renewcommand\glsdescwidth{\linewidth} \glstoctrue \renewcommand\glossarypostamble{\@cleardbliffrontmatter} \renewcommand\acronymname{ABBREVIATIONS} \acsetup{ list/heading = section*, % Set list heading to section but do not number list/name = {LIST OF ABBREVIATIONS}, % Ensure heading will print correct title list/template = tabular, % Set list style as tabular for better spacing list/preamble = { % Adding options to the preamble of the actual list. Any text or TeX can go here (almost). \phantomsection % Adding a phantom section so the ToC link will actually go there \addcontentsline{toc}{section}{LIST OF ABBREVIATIONS} % Adding line to ToC for the abbreviations } % End acro preamble } % End acro setup %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % MAIN MATTER Loading