diff options
author | Karl Berry <karl@freefriends.org> | 2012-02-06 01:04:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-02-06 01:04:39 +0000 |
commit | bd19e544f99a54aa85bca6579ae74c944dbe984d (patch) | |
tree | b7c9c8bb09ef5272bdea46b8093a1e3367c877af /Master | |
parent | 10f2eca1edc430d6d0f50061695e25dffc2ad8f9 (diff) |
ascelike (5feb12)
git-svn-id: svn://tug.org/texlive/trunk@25303 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/ascelike/README | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/ascelike/ascexmpl.pdf | bin | 263824 -> 266457 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex | 72 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ascelike/ascelike.cls | 74 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 |
5 files changed, 114 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/latex/ascelike/README b/Master/texmf-dist/doc/latex/ascelike/README index 114de2f7fc8..84b71c13cbc 100644 --- a/Master/texmf-dist/doc/latex/ascelike/README +++ b/Master/texmf-dist/doc/latex/ascelike/README @@ -2,7 +2,10 @@ Unofficial LaTeX class and bibliography style-files for ASCE documents (Amer. Soc. of Civil Engineers), both journal manuscripts and camera-ready manuscripts for conference proceedings -Version 2.1, Nov. 7, 2011 +Version 2.2, Dec. 16, 2011 + +The package is freely available under the LaTeX Project Public License, +version 1.1 The two main files are ascelike.cls - The document class file @@ -24,6 +27,7 @@ NOTE: The following supplementary files are REQUIRED: ifthen.sty (part of the standard latex release) setspace.sty (produces doubles spacing for journal manuscripts) endfloat.sty (places figures and tables at the end of the manuscript) + lineno.sty (places line numbers along the margin of a manuscript) ascelike.cls will not work without these files. You can obtain all of them from the CTAN archive (perhaps in *dtx form). diff --git a/Master/texmf-dist/doc/latex/ascelike/ascexmpl.pdf b/Master/texmf-dist/doc/latex/ascelike/ascexmpl.pdf Binary files differindex 49b20ed9f19..4b00bf31e45 100644 --- a/Master/texmf-dist/doc/latex/ascelike/ascexmpl.pdf +++ b/Master/texmf-dist/doc/latex/ascelike/ascexmpl.pdf diff --git a/Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex b/Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex index bc75627cc50..82fc527dcfd 100644 --- a/Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex +++ b/Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex @@ -1,7 +1,7 @@ % -\documentclass[Proceedings]{ascelike} +\documentclass[Journal]{ascelike} % -% Nov. 7, 2011 +% Dec. 16, 2011 % % Some useful packages... % @@ -15,12 +15,12 @@ % % % Place hyperlinks within the pdf file (works only with pdflatex, not latex) -\usepackage[colorlinks=true,citecolor=red,linkcolor=black]{hyperref} +% \usepackage[colorlinks=true,citecolor=red,linkcolor=black]{hyperref} % % % NOTE: Don't include the \NameTag{<your name>} if you have selected % the NoPageNumbers option: this leads to an inconsistency. -\NameTag{Kuhn, November 7, 2011} +\NameTag{Kuhn, Dec. 16, 2011} % % \begin{document} @@ -74,7 +74,9 @@ Project Public License, version 1.1 % % Some keywords, using a new command: \KeyWords{} % -\KeyWords{\LaTeX, ASCE, document class.} +\KeyWords{\LaTeX, ASCE, document class, + ascelike.cls~(version 2.2), + ascelike.bst~(version 2.1).} % \section{Introduction} The document class ``\texttt{ascelike.cls}'' @@ -97,8 +99,17 @@ If you modify copies are not later proliferated. \par The document class ``\texttt{ascelike.cls}'' requires the following -supplementary packages: -\texttt{ifthen.sty}, \texttt{setspace.sty}, and \texttt{endfloat.sty} +supplementary files: +\begin{itemize} +\item +\texttt{ifthen.sty}, +\item +\texttt{setspace.sty}, +\item +\texttt{endfloat.sty}, and +\item +\texttt{lineno.sty}. +\end{itemize} \emph{Without these files,} \texttt{ascelike.cls} \emph{won't work}. These files are typically included in \LaTeX\ distributions, such as the \textsf{TexLive} and \textsf{MikTex} distributions. @@ -107,6 +118,15 @@ from the Comprehensive \TeX\ Archive Network (CTAN) archive, through \verb+http://www.ctan.org+ or \verb+http://www.tug.org+, although they may need to be unbundled from a \verb+*.dtx+ form. +If one of these files is not installed as part of your \TeX\ system, +then download the file from the CTAN archive and place it in the same folder +as your manuscript files. +On Debian GNU/Linux systems, the \texttt{setspace.sty} +file is part of the \texttt{texlive-latex-recommended} package; +the \texttt{endfloat.sty} +file is part of the \texttt{texlive-latex-extra} package; +and the \texttt{lineno.sty} +file is part of the \texttt{texlive-humanities} package. \par In addition to \texttt{ascelike.cls}, the file \texttt{ascelike.bst} can be used with @@ -116,8 +136,7 @@ quotation marks around titles, etc.) \cite{Kuhn:2011a}. An example bibliographic data base is given in \texttt{ascexmpl.bib}. \par In addition to these essential files, -we have found the following packages very useful (and we will use this -opportunity to illustrate a \LaTeX\ itemized list): +we have found the following packages very useful: % \begin{itemize} \item @@ -136,9 +155,9 @@ and \texttt{amsbsy.sty}). ampersand ``\&'' symbols with web addresses. \end{itemize} % -All of these packages are also freely +All of these packages are freely available from the CTAN archive, -but they are included in most \LaTeX\ distributions. +but they are also included in most \LaTeX\ distributions. % \section{Input and Options} You should @@ -151,7 +170,7 @@ In addition, \texttt{ascelike} provides two new commands: \verb+KeyWords+ and \verb+NameTag+, both of which are described further below. \par Document class \texttt{ascelike.cls} provides the options given -below (and we also use this opportunity to illustrate an enumerated list). +below. The \verb+Proceedings|+\-\verb+Journal+ options are the most important; the other options are largely incidental. % @@ -162,26 +181,33 @@ Options of the output man\-u\-script. \par \texttt{Journal} produces double-spaced manuscripts for ASCE journals. -It places tables and figures at the end of the manuscript, +As default settings, it places tables and figures at the end of the manuscript and produces lists of tables and figures. -It numbers the appendices with Roman numerals and produces +It places line numbers within the left margin. +All of these default settings can altered with the options that are +described below. +It also numbers the appendices with Roman numerals and produces proper headings for sections, subsections, subsubsections, appendices, and abstract. It produces the proper page margins and numbers the pages. \par \texttt{Proceedings} produces camera-ready single-spaced manuscripts for most ASCE conference proceedings. -It produces the proper page margins as -given on the old shiny, -camera-ready paper (with the light blue lines) -supplied by ASCE. -It places figures and tables -within the text. It produces proper headings for -sections, subsections, subsubsections, appendices, and the abstract. +As default settings, +it places figures and tables within the text. +It does not place line numbers within the left margin. Pages are numbered, and the bottom left corner can be ``tagged'' with the author's name (this can be done by inserting the command \verb+\NameTag{<+\emph{your name}\verb+>}+ within the preamble of your document). +All of these default settings can be altered with the options that are +described below. +It also produces the proper page margins as +given on the old shiny, +camera-ready paper (with the light blue lines) +supplied by ASCE. +It produces proper headings for +sections, subsections, subsubsections, appendices, and the abstract. \item Options \verb+BackFigs|InsideFigs+ can be used to override the default placement of tables @@ -221,6 +247,10 @@ form, \verb!\section*{ }!, to create a section heading without numbers. This might be desirable for an Acknowledgements section at the end of a paper. Note, however, that the starred form will not suppress the numbering of subsections or subsubsections. +\item +The options \verb+NoLineNumbers|LineNumbers+ can be used to override +the default use (or absence) of line numbers in the \texttt{Journal} +and \texttt{Proceedings}. \end{enumerate} % \section{Sections, subsections, equations, etc.} diff --git a/Master/texmf-dist/tex/latex/ascelike/ascelike.cls b/Master/texmf-dist/tex/latex/ascelike/ascelike.cls index 48e5117a62b..ffcba31d61b 100644 --- a/Master/texmf-dist/tex/latex/ascelike/ascelike.cls +++ b/Master/texmf-dist/tex/latex/ascelike/ascelike.cls @@ -1,6 +1,6 @@ %% File: ascelike.cls %% -%% Version 2.1 +%% Version 2.2 %% %% An unofficial LaTeX class file for preparing review manuscripts and %% camera-ready manuscripts for ASCE journals and conference proceedings @@ -43,7 +43,8 @@ %% 2) It requires the following supplementary files: %% ifthen.sty (part of the standard latex release) %% setspace.sty (produces doubles spacing for journal manuscripts) -%% endfloat.sty (places figures and tables at the end of the manuscript +%% endfloat.sty (places figures and tables at the end of the manuscript) +%% lineno.sty (places line numbers alongside the text) %% Without these files, it won't work. All three files are available %% from the CTAN archive, currently at //http:www.tug.org/ctan.html %% @@ -77,6 +78,10 @@ %% the Journal and Proceeding formats. %% - 10pt, 11pt, or 12pt: %% These can be used to override the default text size (12pt). +%% - NoLists suppresses the inclusion of lists of figures and tables +%% - NoPageNumbers suppressesthe printing of page numbers +%% - SectionNumbers produces the numbering of sections and subsections, +% unlike the ASCE convention. %% %% A few standard Latex options have been removed, as they don't seem to apply %% in the ASCE environment: landscape, titlepage, openbib, leqno, fleqn @@ -94,9 +99,9 @@ \typeout{} \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesClass{ascelike} - [2011/11/07 Version 2.1 ASCE-like manuscripts (Am. Soc. Civ. Engr.)] + [2011/12/16 Version 2.2 ASCE-like manuscripts (Am. Soc. Civ. Engr.)] \typeout{} -\RequirePackage{ifthen}[1994/11/15] +\RequirePackage{ifthen}[1994/11/16] % \newboolean{Proceedings} \newboolean{Journal} @@ -107,6 +112,8 @@ \newboolean{NoPageNumbers} \newboolean{NoLists}% 11-21-02 \newboolean{SectionNumbers}% 12-28-02 +\newboolean{NoLineNumbers}% 12-16-11 +\newboolean{LineNumbers}% 12-16-11 \newcommand{\ptsize}{} % \DeclareOption{Proceedings}% @@ -124,6 +131,11 @@ \DeclareOption{SingleSpace}% {\setboolean{SingleSpace}{true}\setboolean{DoubleSpace}{false}} % +\DeclareOption{NoLineNumbers}% + {\setboolean{NoLineNumbers}{true}\setboolean{LineNumbers}{false}} +\DeclareOption{LineNumbers}% + {\setboolean{LineNumbers}{true}\setboolean{NoLineNumbers}{false}} +% % Declare text size options so that 12pt can be made the default option \DeclareOption{10pt}{\renewcommand{\ptsize}{10pt}} \DeclareOption{11pt}{\renewcommand{\ptsize}{11pt}} @@ -153,12 +165,23 @@ % place figures at the end of the paper. % % -% Use these defaults (can be changed with the BackFigs and InsideFigs options): -% For Journal manuscripts: 1) place figures at the end of the manuscript, -% 2) double spacing of text +% Use these defaults +% For Journal manuscripts: +% 1) place figures at the end of the manuscript +% (can be changed with the InsideFigs option) +% 2) double spacing of text +% (can be changed with the SingleSpace option) +% 3) line numbers +% (can be changed with the NoLineNumbers option) +% +% For Proceedings manuscripts: +% 1) place figures within the text, +% (can be changed with the BackFigs option) +% 2) single spacing of text +% (can be changed with the DoubleSpace option) +% 3) no line numbers +% (can be changed with the LineNumbers option) % -% For Proceedings manuscripts: 1) place figures within the text, -% 2) single spacing of text \ifthenelse{\boolean{Journal}} {\ifthenelse{\boolean{InsideFigs}}{}{\setboolean{BackFigs}{true}}} {\ifthenelse{\boolean{BackFigs}}{}{\setboolean{InsideFigs}{true}}} @@ -167,29 +190,41 @@ {\ifthenelse{\boolean{SingleSpace}}{}{\setboolean{DoubleSpace}{true}}} {\ifthenelse{\boolean{DoubleSpace}}{}{\setboolean{SingleSpace}{true}}} % +\ifthenelse{\boolean{Journal}} + {\ifthenelse{\boolean{NoLineNumbers}}{}{\setboolean{LineNumbers}{true}}} + {\ifthenelse{\boolean{LineNumbers}}{}{\setboolean{NoLineNumbers}{true}}} +% % % Various messages displayed on the screen: \typeout{} \ifthenelse{\boolean{Journal}} -{\typeout{A "Journal" style manuscript will be produced}} -{\typeout{A "Proceedings" style manuscript will be produced}} +{\typeout{(1) A "Journal" style manuscript will be produced}} +{\typeout{(1) A "Proceedings" style manuscript will be produced}} % \ifthenelse{\boolean{BackFigs}} {\typeout{% - Figures and Tables will be placed together at the end of the manuscript + (2) Figures and Tables will be placed together at the end of the manuscript (change with the 'InsideFigs' option)}} {\typeout{% - Figures and Tables will be placed within the text of the manuscript + (2) Figures and Tables will be placed within the text of the manuscript (change with the 'BackFigs' option)}} % \ifthenelse{\boolean{DoubleSpace}} {\typeout{% - Text will be double spaced (change with the 'SingleSpace' option)}} + (3) Text will be double spaced (change with the 'SingleSpace' option)}} {\typeout{% - Text will be single spaced (change with the 'DoubleSpace' option)}} + (3) Text will be single spaced (change with the 'DoubleSpace' option)}} % -\typeout{Text will be \ptsize +\typeout{(4) Text will be \ptsize \space(change with the '10pt', '11pt', & '12pt' options)} +% +\ifthenelse{\boolean{LineNumbers}}% 12-16-11 +{\typeout{% + (5) Line numbers will be placed alonside the text (change with the + 'NoLineNumbers' option)}} +{\typeout{% + (5) Line numbers will not be placed alonside the text (change with the + 'LineNumbers' option)}} \typeout{} % % Delay the possible loading of these packages until the beginning of 7-18-00 @@ -205,7 +240,12 @@ % \ifthenelse{\boolean{DoubleSpace}} {\RequirePackage{setspace}\doublespacing}{} -}% 7-18-00 +% 7-18-00 +\ifthenelse{\boolean{LineNumbers}} +{\RequirePackage{lineno}\linenumbers% +\setlength{\linenumbersep}{0.3in}% +\linenumberdisplaymath}{} +}% % % Page layout for Proceedings manuscripts: \ifthenelse{\boolean{Proceedings}} diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index ecbb2639fce..a0db736558f 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -206,7 +206,7 @@ my @TLP_working = qw( ionumbers iopart-num ipaex iso iso10303 isodate isodoc isomath isonums isorot isotope itnumpar iwhdp iwona - jablantile jamtimes japanese japanese-otf + jablantile jamtimes japanese japanese-otf japanese-otf-uptex jeopardy jknapltx jlabels jmlr jneurosci jpsj junicode jura juraabbrev jurabib juramisc jurarsp js-misc jvlisting kantlipsum karnaugh kastrup kdgdocs kerkis kerntest |