diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex209/contrib/abstr_collect |
Initial commit
Diffstat (limited to 'macros/latex209/contrib/abstr_collect')
-rw-r--r-- | macros/latex209/contrib/abstr_collect/abstr_collect.sty | 112 | ||||
-rw-r--r-- | macros/latex209/contrib/abstr_collect/abstr_collect.tex | 8 |
2 files changed, 120 insertions, 0 deletions
diff --git a/macros/latex209/contrib/abstr_collect/abstr_collect.sty b/macros/latex209/contrib/abstr_collect/abstr_collect.sty new file mode 100644 index 0000000000..28474f2ab9 --- /dev/null +++ b/macros/latex209/contrib/abstr_collect/abstr_collect.sty @@ -0,0 +1,112 @@ +% abstract_colection.sty by balemi@aut.ethz.ch +% created 15-AUG-91 + +\typeout{Document Style `abstract_collection' <15-AUG-91>.} + +\input article.sty\relax + +% Definitions Necessary to put all abstracts together + +%disable \begin{document}, \end{document, \documentstyle +\def\document{} +\def\enddocument{} +\def\documentstyle{ +\@ifnextchar[{\@documentstyle}{\@documentstyle[]}} +\def\@documentstyle[#1]#2{} + +\def\@preamblecmds{\do\totaldocument \do\totaldocumentstyle + \do\@totaldocumentstyle + \do\@options \do\@preamblecmds \do\@optionlist \do\@optionfiles + \do\nofiles \do\includeonly \do\makeindex \do\makeglossary} + +%\define totaldocument instead of document for the master file +\def\totaldocument{\endgroup + \@colht\textheight \@colroom\textheight \vsize\textheight + \columnwidth\textwidth \@clubpenalty\clubpenalty + \if@twocolumn \advance\columnwidth -\columnsep + \divide\columnwidth\tw@ \hsize\columnwidth \@firstcolumntrue + \fi + \hsize\columnwidth \linewidth\hsize + \begingroup\@floatplacement\@dblfloatplacement + \makeatletter\let\@writefile\@gobbletwo + \@input{\jobname.aux}\endgroup + \if@filesw \immediate\openout\@mainaux=\jobname.aux + \immediate\write\@mainaux{\relax}\fi + \def\do##1{\let ##1\@notprerr}% + \@preamblecmds + \let\do\noexpand + \@normalsize\everypar{}} + +\def\endtotaldocument{\@checkend{document}\clearpage\begingroup +\if@filesw \immediate\closeout\@mainaux +\def\global\@namedef##1##2{}\def\newlabel{\@testdef r}% +\def\bibcite{\@testdef b}\@tempswafalse \makeatletter\input \jobname.aux +\if@tempswa \@warning{Label(s) may have changed. Rerun to get +cross-references right}\fi\fi\endgroup\deadcycles\z@\@@end} + +% comment the lines +% in \let\maketitle\relax +% in \let\@maketitle\relax +% in the definition of \maketitle + + +\def\@maketitle{\newpage + \null + \vskip 2em +\begin{center} + \noindent{\LARGE \bf \@title \par} \vskip 1.5em {\lineskip .5em +\begin{tabular}[t]{c}\hskip -\parindent\hskip-.5em\large\@author + \end{tabular}\par} + \vskip 1em {\large \@date} + \par +\end{center} + \vskip 1.5em} +\def\abstract{\if@twocolumn +\section*{Abstract} +\else \small +\begin{center} +{\bf Abstract\vspace{-.5em}\vspace{0pt}} +\end{center} +\quotation +\fi} +\def\and{%% % \begin{tabular} +\end{tabular} +\par +\begin{tabular}[t]{c}\hskip -\parindent\hskip-.5em\large%% \end{tabular} +} + +\def\maketitle{ +\par + \begingroup + \def\thefootnote{\fnsymbol{footnote}} + \def\@makefnmark{\hbox + to 0pt{$^{\@thefnmark}$\hss}} + \newpage + \global\@topnum\z@ \@maketitle \thispagestyle{plain}\@thanks + \endgroup + \setcounter{footnote}{0} + %\let\maketitle\relax + %\let\@maketitle\relax + \gdef\@thanks{}\gdef\@author{}\gdef\@abstract{} +\gdef\@keywords{}\gdef\@title{}\let\thanks\relax +} + +% removes date +\def\date#1{} +\gdef\@date{} + +% redefines abstract to be as wide as page +\def\abstract{ \section*{Abstract}} +\def\endabstract{\normalsize\rm} + +% one column only for abstracts +\onecolumn + +% to input a whole document +\def\inputabstract#1{\input{#1}\newpage} + +\setlength\topmargin{-15mm} +\setlength\oddsidemargin{4mm} +\setlength\evensidemargin{4mm} +\setlength\textheight{245mm} +\setlength\textwidth{160mm} diff --git a/macros/latex209/contrib/abstr_collect/abstr_collect.tex b/macros/latex209/contrib/abstr_collect/abstr_collect.tex new file mode 100644 index 0000000000..b9cf4f148c --- /dev/null +++ b/macros/latex209/contrib/abstr_collect/abstr_collect.tex @@ -0,0 +1,8 @@ +\documentstyle[12pt]{abstr_collect} +\onecolumn +\begin{totaldocument} +\bibliographystyle{IFAC} +\inputabstract{ascona_abstract_sample} +\inputabstract{ascona_abstract_sample} +\end{totaldocument} + |