diff options
Diffstat (limited to 'macros/latex/contrib/conferences/sugconf')
14 files changed, 311 insertions, 651 deletions
diff --git a/macros/latex/contrib/conferences/sugconf/README b/macros/latex/contrib/conferences/sugconf/README index a2f6829570..05e395a269 100644 --- a/macros/latex/contrib/conferences/sugconf/README +++ b/macros/latex/contrib/conferences/sugconf/README @@ -1,95 +1,84 @@ - name: 00readme-sugconf.txt
-description: read me for sugconf.cls
- purpose: introduction and explanation
- of LaTeX document class sugconf
- for SAS(R) User Group (SUG) conference authors
- date: 8/10/2006 posted to CTAN
- author: Ronald J. Fehd, SAS-L's macro maven
- TeX User Group (TUG) member
- mailto:RJF2@cdc.gov
- note: SAS-L is the name of listserv
- of the international online SAS user group community
- note: CTAN: Comprehensive TeX Archive Network
- note: License type: Free, LaTeX project public license
- http://www.latex-project.org/lppl/
-
-* SUG authors
-
-LaTeX is a set of macros for the TeX document processing application.
-
-Several years ago I began using LaTeX to write my SUG papers.
-In order to produce a paper which conforms
-to SAS User Group International conference paper guidelines
-it is necessary to modify the LaTeX document class article.
-
-After reviewing several other LaTeX class files: e.g.: acmconf.cls,
-I wrote my own SUGconf.cls and posted it to SAS-L.
-http://www.listserv.uga.edu/cgi-bin/wa?S1=sas-l
-
-The layout produced by the 'sugconf' class
-is based on the description contained in SUGI paper guidelines,
-published by SAS Institute: (2006)
-http://support.sas.com/usergroups/sugi/sugi31/package/WritersGuidelines.pdf
-
-At the 2006 PracTeX conference, a Little Birdie
-(SAS-L euphemism for a SAS Institute employee)
-suggested that it would be a Good Idea to post my class file
-and some examples to CTAN,
-by which act I would then accept responsibility for maintenance.
-
-
-* All SUG conferences now require submission of papers as a .pdf.
-TeX distributions provide pdfLaTeX.exe which produces a .pdf
-from the source text file. (.tex or .ltx or .txt).
-The .pdf can be read with Adobe Reader v5 or greater.
-Note: pdfLaTeX also produces a .dvi, which is easier to review
-while editing and polishing.
-See the command: \pdfoutput= in each .tex file.
-
-* filename extensions
-
-** .bat: windows batch file
- executes pdfLaTeX, input : <filename>.tex
- note: input may be <filename>.txt
- pdfoutput=0: <filename>.dvi
- pdfoutput=1: <filename>.pdf
-** .tex: input : text file containing LaTeX markup commands
-** .pdf: output: Adobe v5 or higher
-
-* Please review the following files
-in order to familiarize yourself with LaTeX markup commands.
-
-** article-example illustrates the LaTeX document class article
-article-example.bat
-article-example.tex
-article-example.pdf
-
-** this file provides the LaTeX document class sugconf based on article
- you must download this file and place it in the same folder
- with your SUG-conf-paper
-
-sugconf.cls
-
-** sugconf-example is a working example of the document class sugconf
- download these files and rename them to <My-SUG-conf-paper>.*
- note: remember to change the filename in the .bat file
- from sugconf-example
- to <My-SUG-conf-paper>
-
-sugconf-example.bat
-sugconf-example.pdf
-sugconf-example.tex
-
-* processing your .tex file with a Windows .bat file
-- - - - article-example.bat - - -
-pdfLaTeX article-example
-- - - - article-example.bat end - - -
-
-note assumption: filename extension is .tex
-to process a text file other than .tex, specify the extension:
-pdfLaTeX article-example.txt
-
-* highly recommended
-I recommend a professional text editor.
-
-\end{document}%00readme-sugconf.txt}
+ name: README +description: read me for sugconf.cls + purpose: introduction and explanation + of LaTeX document class sugconf + for SAS(R) User Group (SUG) conference authors + date: 4/31/2021 posted to CTAN + author: Ronald J. Fehd, SAS-L's macro maven + TeX User Group (TUG) member + mailto:Ron.Fehd.macro.maven@gmail.com + note: SAS-L is the name of listserv + of the international online SAS user group community + http://www.listserv.uga.edu/cgi-bin/wa?S1=sas-l + note: CTAN: Comprehensive TeX Archive Network + note: License type: Free, LaTeX project public license + http://www.latex-project.org/lppl/ + +* SUG authors + +LaTeX is a set of macros for the LaTeX document processing application. + +Several years ago I began using LaTeX to write my SUG papers. +In order to produce a paper which conforms +to SAS User Group International conference paper guidelines +it is necessary to modify the LaTeX document class article. + +The layout produced by the 'sugconf' class +is based on the description contained in SUGI paper guidelines, +published by SAS Institute: (2006) +http://support.sas.com/usergroups/sugi/sugi31/package/WritersGuidelines.pdf +note: 2021-04-02 this file is n/a + +* All SUG conferences now require submission of papers as a .pdf. +TeX distributions provide pdflatex.exe which produces a .pdf +from the source text file. (.tex or .ltx or .txt). +The .pdf can be read with Adobe Reader v5 or greater. + +* filename extensions + +** .bat: windows batch file + executes pdflatex, input : <filename>.tex + note: input may be <filename>.txt + output : <filename>.pdf +** .tex: input : text file containing LaTeX markup commands +** .pdf: output: Adobe v5 or higher + +* Please review the following files +in order to familiarize yourself with LaTeX markup commands. + +** sugconf-template illustrates the LaTeX document class article +hello-world-article.tex +hello-world-sugconf.tex + +** sugconf-skeleton and sugconf-template are your basic starting documents + +sugconf-skeleton.tex +sugconf-template.tex + +** this file provides the LaTeX document class sugconf based on article + you must download this file and place it in the same folder + with your SUG-conf-paper + +sugconf.cls + +is available in the TeXlive distribution: +where <UNC> is Universal Naming Convention for your TeXlive installation folder + +<UNC>\texlive\2021\texmf-dist\tex\latex\sugconf + +this document is in: +<UNC>\texlive\2021\texmf-dist\doc\latex\sugconf + +* processing your .tex file with a Windows .bat file +- - - - sugconf-template.bat - - - +pdflatex sugconf-template +- - - - sugconf-template.bat end - - - + +note assumption: filename extension is .tex +to process a text file other than .tex, specify the extension: +pdflatex sugconf-template.txt + +* highly recommended +I recommend a professional text editor. + +\end{document}%README diff --git a/macros/latex/contrib/conferences/sugconf/SUGI-paper-example.txt b/macros/latex/contrib/conferences/sugconf/SUGI-paper-example.txt deleted file mode 100644 index 79be326ac5..0000000000 --- a/macros/latex/contrib/conferences/sugconf/SUGI-paper-example.txt +++ /dev/null @@ -1,86 +0,0 @@ -Paper 999-99
-
-Paper Written for the Annual SUGI Conference
-
-SUGI Author, ABC Corporation, City, State
-SUGI Co-Author, ABC Corporation, City, State
-
-ABSTRACT (HEADER 1)
-
-A brief summary at the beginning highlights the major points of your
-paper. Include the complete names of all SAS products that are
-discussed in the paper, names of operating environments (if
-applicable), and the skill level that the intended audience should
-have. (9-point Arial regular)
-
-INTRODUCTION (HEADER 1)
-
-The introduction explains the purpose and scope of your paper.
-
-MAIN IDEA (Body of Paper, HEADER 1)
-
-This is a main topic in the body of the paper. This is the body of
-the paper. This is the body of the paper. This is the body of the
-paper. This is the body of the paper. This is programming code in
-the body of the paper.
-
-data one;
-set two;
-if mix(var1, var2) > 0 then do;
-run;
-Continuation of body of the paper.
-
-SUB-TOPIC (HEADER 2)
-
-This is a sub-topic in the body of the paper. This is text in the
-sub-topic. This is text in the sub-topic. This is programming code
-in the sub-topic in the body of the paper.
-
-data one;
-set two;
-if mix(var1, var2) > 0 then do;
-run;
-Continuation of body – after source code.
-
-ANOTHER MAIN TOPIC (HEADER 1)
-
-This is the text of another main idea. This is the text of another
-main idea. This is the text of another main idea
-
-CONCLUSION (HEADER 1)
-
-The conclusion summarizes the main ideas in your paper. You can also
-use the conclusion to highlight final points and make
-recommendations or predictions.
-
-REFERENCES (HEADER 1)
-
-This section is required only when information that was written,
-tested, or researched by someone other than the author is included
-in the paper.
-
-ACKNOWLEDGMENTS (HEADER 1)
-
-This section is not required. Use this section to thank people who
-were especially helpful to you when you wrote your paper, for
-example, co-workers, reviewers, product developers.
-
-CONTACT INFORMATION (HEADER 1)
-
-Your comments and questions are valued and encouraged.
-Contact the author(s):
-Name
-Enterprise
-Address
-City, State, ZIP
-Work Phone:
-Fax:
-E-mail:
-Web:
-
-SAS and all other SAS Institute Inc. product or service names are
-registered trademarks or trademarks of SAS Institute Inc. in the USA
-and other countries. ® indicates USA registration.
-
-Other brand and product names are trademarks of their respective
-companies.
diff --git a/macros/latex/contrib/conferences/sugconf/article-example.bat b/macros/latex/contrib/conferences/sugconf/article-example.bat deleted file mode 100644 index 5f573f79b6..0000000000 --- a/macros/latex/contrib/conferences/sugconf/article-example.bat +++ /dev/null @@ -1 +0,0 @@ -pdfLaTeX article-example
\ No newline at end of file diff --git a/macros/latex/contrib/conferences/sugconf/article-example.pdf b/macros/latex/contrib/conferences/sugconf/article-example.pdf Binary files differdeleted file mode 100644 index c506abd94c..0000000000 --- a/macros/latex/contrib/conferences/sugconf/article-example.pdf +++ /dev/null diff --git a/macros/latex/contrib/conferences/sugconf/article-example.tex b/macros/latex/contrib/conferences/sugconf/article-example.tex deleted file mode 100644 index 9f77ccae33..0000000000 --- a/macros/latex/contrib/conferences/sugconf/article-example.tex +++ /dev/null @@ -1,118 +0,0 @@ -%% name : article-example.tex
-%% description: example of LaTeX document class article
-%% purpose : illustrate use of LaTeX markup
-%% for SAS User Group conference authors
-%% author : Ronald J. Fehd for CTAN
-%% date : 8/4/2006
-%% make : pdflatex article-example
-
-\documentclass{article}%note: font size, default: 10 points
-%\documentclass[12pt]{article}%note: change font size to 12 points
-\pdfoutput=0%out=jobname.dvi
-\pdfoutput=1%out=jobname.pdf
-\renewcommand{\rmdefault}{phv}%Adobe Helvetica san-serif
-
-\title{{\small Paper 999-99}
- \\% LaTeX note: double backslash: newline
- Paper written for an annual SUG conference
- }%end title
-\author{SUGI Author, ABC Corporation, City, State
- \\% LaTeX note: double backslash: newline
- SUGI Co-Author, ABC Corporation, City, State
- }%end author
-\date{\relax}%TeX note: relax: null
-
-\begin{document}\maketitle%
-
-\begin{abstract} %(HEADER 1)? well, not exactly!
-
-A brief summary at the beginning highlights the major points of your
-paper. Include the complete names of all SAS products that are
-discussed in the paper, names of operating environments (if
-applicable), and the skill level that the intended audience should
-have. (9-point Arial regular)
-\end{abstract}
-
-\section{INTRODUCTION (HEADER 1)}
-
-The introduction explains the purpose and scope of your paper.
-
-\section{MAIN IDEA (Body of Paper, HEADER 1)}
-
-This is a main topic in the body of the paper. This is the body of
-the paper. This is the body of the paper. This is the body of the
-paper. %This is the body of the paper.
-
-This is programming code in the body of the paper.
-
-\begin{verbatim}
-data one;
-set two;
-if max(var1, var2) > 0 then do;
-run;
-\end{verbatim}
-
-Continuation of body of the paper.
-
-\subsection{SUB-TOPIC (HEADER 2)}
-
-This is a sub-topic in the body of the paper. This is text in the
-sub-topic. %This is text in the sub-topic.
-This is programming code
-in the sub-topic in the body of the paper.
-
-\begin{verbatim}
-data one;
-set two;
-if min(var1, var2) < 0 then do;
-run;
-\end{verbatim}
-
-Continuation of body – after source code.
-
-\section{ANOTHER MAIN TOPIC (HEADER 1)}
-
-This is the text of another main idea. This is the text of another
-main idea. This is the text of another main idea
-
-\section{CONCLUSION (HEADER 1)}
-
-The conclusion summarizes the main ideas in your paper. You can also
-use the conclusion to highlight final points and make
-recommendations or predictions.
-
-\section{REFERENCES (HEADER 1)}
-
-This section is required only when information that was written,
-tested, or researched by someone other than the author is included
-in the paper.
-
-\section{ACKNOWLEDGMENTS (HEADER 1)}
-
-This section is not required. Use this section to thank people who
-were especially helpful to you when you wrote your paper, for
-example, co-workers, reviewers, product developers.
-
-\section{CONTACT INFORMATION (HEADER 1)}
-Your comments and questions are valued and encouraged.
-
-Contact the author(s):
-\begin{tabular}[t]{rl}
-Name & NameFirst NameLast \\
-Enterprise & My Employer \\
-Address & 123 Main St \\
-City, State, ZIP & Anytown, ZZ, 99999 \\
-Work Phone: & 987-654-1234 \\
-Fax: & 987-654-3210 \\
-E-mail: & firstname.lastname@mycompany.com \\
-Web: & mycompany.com \\
-\end{tabular}
-
-SAS and all other SAS Institute Inc. product or service names are
-registered trademarks or trademarks of SAS Institute Inc. in the USA
-and other countries. %®
-\textregistered\/ indicates USA registration.
-
-Other brand and product names are trademarks
-of their respective companies.
-\end{document}
diff --git a/macros/latex/contrib/conferences/sugconf/banner-sgf-2021.png b/macros/latex/contrib/conferences/sugconf/banner-sgf-2021.png Binary files differnew file mode 100644 index 0000000000..533dde76fb --- /dev/null +++ b/macros/latex/contrib/conferences/sugconf/banner-sgf-2021.png diff --git a/macros/latex/contrib/conferences/sugconf/sugconf-example.bat b/macros/latex/contrib/conferences/sugconf/sugconf-example.bat deleted file mode 100644 index 5284804820..0000000000 --- a/macros/latex/contrib/conferences/sugconf/sugconf-example.bat +++ /dev/null @@ -1 +0,0 @@ -pdfLaTeX sugconf-example
\ No newline at end of file diff --git a/macros/latex/contrib/conferences/sugconf/sugconf-example.pdf b/macros/latex/contrib/conferences/sugconf/sugconf-example.pdf Binary files differdeleted file mode 100644 index 235899feb9..0000000000 --- a/macros/latex/contrib/conferences/sugconf/sugconf-example.pdf +++ /dev/null diff --git a/macros/latex/contrib/conferences/sugconf/sugconf-example.tex b/macros/latex/contrib/conferences/sugconf/sugconf-example.tex deleted file mode 100644 index c38e9e8087..0000000000 --- a/macros/latex/contrib/conferences/sugconf/sugconf-example.tex +++ /dev/null @@ -1,193 +0,0 @@ -%% name : sugconf-example.tex
-%% description: example of LaTeX document class sugconf
-%% purpose : illustrate use of LaTeX markup
-%% for SAS User Group conference authors
-%% author : Ronald J. Fehd for CTAN
-%% date : 8/10/2006
-%% note : all text after a percent sign (%) is a comment
-%% note : open *.pdf, <Ctrl> D to view pdf description
-%% make : pdflatex sugconf-example
-
-\documentclass{sugconf}%
-%\documentclass[nopagenumbers]{sugconf}%
-\pdfoutput=0%out=jobname.dvi
-\pdfoutput=1%out=jobname.pdf
-
-%macro variables used by sugconf
-\sugconfsubject{writing paper using sugconf class}%
-\sugconfpapernumber{Paper 999-99}%
-%\sugconfpapernumber{\relax}%note: no paper number: warning in log
-\sugconfkeywords{documentclass, LaTeX class, pdfLaTeX,
- sugconf class}%end keywords: see in pdf description
-
-%begin LaTeX document commands
-%% NOTE: do not put newline (\\) in title nor author
- reason: newline cannot be writen into pdf description
-\title{sugconf class example: Paper written for an annual SUG conference
- }%end title
-\author{Ronald J. Fehd, TeX User Group member, Atlanta, GA, USA
- }%end author
-
-%%book: The LaTeX Web Companion, Goossens and Rahtz, pg 43, 64, 65
-\makeatletter%necessary to copy title and author into pdf description
-\usepackage[bookmarks =false%SUGI style guide
- ,pdfauthor ={\@author}%
-% ,pdfauthor ={author and coauthor}%
- ,pdfcreator ={pdfLaTeX sugconf.cls}%
- ,pdfkeywords ={\SUGconfKeywords}%
- ,pdfstartview=FitBH%fit width of page to the window
- ,pdfsubject ={\SUGconfSubject}%
- ,pdftitle ={\@title}%
-]{hyperref}\makeatother\begin{document}%
-\pdfcompresslevel=9%best compression level for text and image
-%end LaTeX document commands
-
-\begin{abstract}%\section{Abstract}
-
-A brief summary at the beginning highlights the major points of your
-paper. Include the complete names of all
-\SASregistered
-\textit{(First use of company name SAS must have \textregistered.)}
-products that are
-discussed in the paper, names of operating environments (if
-applicable), and the skill level that the intended audience should
-have. (9-point Arial regular)
-\textit{Note: sugconf.cls uses Adobe Helvetica san-serif, 10 point.}
-
-\textit{You could use the \LaTeX\ abstract environment,
-illustrated in} \texttt{article-example.pdf} which centers the abstract.
-\begin{verbatim}
-\begin{abstract}
-A brief summary at the beginning
-highlights the major points of your paper.
-\end{abstract}
-\end{verbatim}
-
-Keywords: \SUGconfKeywords.%macro variable provided by sugconf.cls
-\end{abstract}
-
-\section{Introduction}
-
-The introduction explains the purpose and scope of this paper,
-which is to provide SAS user group conference authors
-with a text file, \texttt{sugconf-example.tex},
-for use as a template.
-
-\section{Main Idea}
-
-This is a main topic in the body of the paper.
-\LaTeX markup is simple.
-Instead of highlighting and bolding each topic explanation,
-use the markup keywords: \texttt{section} and \texttt{subsection}.
-%This is the body of the paper. These lines are commented out.
-%This is the body of the paper. This is the body of the paper.
-
-This illustrates markup in the body of the paper.
-
-\begin{verbatim}
-\section{Abstract}%note: is uppercase when printed
-A brief summary ...
-
-\section{Introduction}
-The introduction ...
-
-\subsection{Sub-Topic (Header 2)}
-This idea is ...
-\end{verbatim}
-
-%Continuation of body of the paper.
-This is programming code in the text of the paper.
-\texttt{proc freq data = sashelp.class;}
-That is programming code in the text of the paper.
-
-\subsection{Sub-Topic number 3)}
-
-Typesetting special characters (ampersand and percent sign)
-in your paper requires you to use
-the backslash before the character:
-\%Let mvar = value; \%put mvar \&mvar.;
-This is necessary when using \textit{texttt} as well:
-\texttt{\%Let mvar = value; \%put mvar \&mvar.;}
-
-This is programming code
-in the sub-topic in the body of the paper.
-
-\begin{verbatim}
-data one;
-set two;
-if max(var1, var2) > 0 then do;
-run;
-\end{verbatim}
-
-A single hyphen with spaces around it - is not a dash.
-Text continues --– after source code.
-The previous line contains an \textit{em} dash,
-which is typed as three hyphens;
-Use two hyphens (an \textit{en} dash) to indicate a range: pages 2--4.
-
-\section{Another Main Topic}
-
-This is the text of another main idea.
-When you use \LaTeX\ to write your SAS user group conference paper
-your output is an Adobe pdf (version 1.4, Acrobat 5.x).
-To view the pdf description: Ctrl D.
-%This is the text of another main idea.
-%This is the text of another main idea
-
-\section{Conclusion}
-
-The conclusion summarizes the main ideas in your paper.
-You can also use the conclusion to highlight final points
-and make recommendations or predictions.
-
-\section{References}
-
-This section is required only when information that was written,
-tested, or researched by someone other than the author is included
-in the paper.
-
-\begin{tabular}[t]{llll}
-\textbf{Required}
-& A Guide to \LaTeX, 4e & Helmut Kopka and Patrick W. Daly \\
-& \multicolumn{2}{l}{\tiny\url{
-http://www.amazon.com/gp/product/0321173856/sr=1-1/qid=1154721435/ref=pd_bbs_1/103-4249973-4753405?ie=UTF8&s=books
-}}\\
-\textbf{Recommended}
-& The \LaTeX\ Companion, 2e& Frank Mittelback and Michel Goossens,
- et al. \\
-& \multicolumn{2}{l}{\tiny\url{
-http://www.amazon.com/gp/product/0201362996/ref=pd_sim_b_1/103-4249973-4753405?ie=UTF8
-}}\\
-& The \LaTeX\ Web Companion & Michel Goossens and Sebastian Rahtz,
- et al. \\
-& \multicolumn{2}{l}{\tiny\url{
-http://www.amazon.com/gp/product/0201433117/sr=1-1/qid=1154721919/ref=sr_1_1/103-4249973-4753405?ie=UTF8&s=books
-}}\\
-\end{tabular}
-
-\section{Acknowledgments}
-
-This section is not required. Use this section to thank people who
-were especially helpful to you when you wrote your paper, for
-example, co-workers, reviewers, product developers.
-
-\section{Contact Information}
-Your comments and questions are valued and encouraged.
-
-Contact the author(s):
-%\begin{tabular}[c]{ll}%both columns are left justtified
-\begin{tabular}[t]{rl}%note: double backslash(\\): newline
-Name & Ronald J. Fehd \\
-Enterprise & Centers for Disease Control \\
-%Address & 123 Main St \\
-City, State, ZIP & Atlanta, GA, 30341 \\
-%Work Phone: & 987-654-1234 \\
-%Fax: & 987-654-3210 \\
-E-mail: & \url{mailto:RJF2@cdc.gov} \\
-%Web: & mycompany.com \\
-\end{tabular}
-
-\SASisRegisteredTrademark%macro variable provided by sugconf.cls
-
-\OtherTrademarks%macro variable provided by sugconf.cls
-\end{document}
diff --git a/macros/latex/contrib/conferences/sugconf/sugconf-skeleton.pdf b/macros/latex/contrib/conferences/sugconf/sugconf-skeleton.pdf Binary files differnew file mode 100644 index 0000000000..954c58999a --- /dev/null +++ b/macros/latex/contrib/conferences/sugconf/sugconf-skeleton.pdf diff --git a/macros/latex/contrib/conferences/sugconf/sugconf-skeleton.tex b/macros/latex/contrib/conferences/sugconf/sugconf-skeleton.tex new file mode 100644 index 0000000000..a69163b38a --- /dev/null +++ b/macros/latex/contrib/conferences/sugconf/sugconf-skeleton.tex @@ -0,0 +1,23 @@ +%name: sugconf-skeleton.tex +\documentclass{sugconf} +\sugconfbanner{banner-sgf-2021.png} +\sugconfpapernumber{Paper 999-2021}% +\title{My First SUG paper} +\author{John Sall} +\begin{document}\maketitle +\section{Abstract} %<heading 1> +\SASregistered software %provided by sugconf.cls + \tableofcontents\hrulefill %rough-draft toc, disable for final +\section{Introduction} %<heading 1> +\section{first main topic} %<heading 1> +\subsection{still upper case}%<heading 2> +\subsubsection{lower case} %<heading 3> +\section{conclusion} %<heading 1> +\begin{thebibliography}{9} %or 99 +\bibitem{example} +\end{thebibliography} +\subsection{acknowledgements}%<heading 2> +\subsection{contact info} %<heading 2> +\SASisRegisteredTrademark\par%sugconf.cls +\OtherTrademarks %sugconf.cls optional +\end{document} diff --git a/macros/latex/contrib/conferences/sugconf/sugconf-template.pdf b/macros/latex/contrib/conferences/sugconf/sugconf-template.pdf Binary files differnew file mode 100644 index 0000000000..41829c2e6a --- /dev/null +++ b/macros/latex/contrib/conferences/sugconf/sugconf-template.pdf diff --git a/macros/latex/contrib/conferences/sugconf/sugconf-template.tex b/macros/latex/contrib/conferences/sugconf/sugconf-template.tex new file mode 100644 index 0000000000..8466ef0b5a --- /dev/null +++ b/macros/latex/contrib/conferences/sugconf/sugconf-template.tex @@ -0,0 +1,73 @@ +%name: sugconf-template.tex +\documentclass{sugconf}%loads packages: graphicx, hyperref, inputenc +\sugconfbanner{banner-sgf-2021.png} +\sugconfpapernumber{Paper 999-2021, draft of \today}% +\title{Musings on The Analytical Engine} +%%note double backslash \\ means 'newline' +\author{Ada Lovelace \\ Charles Babbage}%multiple authors: A. Berry \\ C. Derby +\begin{document}\maketitle +\hypersetup{pdftitle ={What is the name of this paper?}% + ,pdfauthor ={R.J. Fehd and LaTeX Krewe}% separate multiple authors by 'and' + ,pdfsubject ={sugconf tightlist}% + ,pdfkeywords={description enumerate itemize}% + }%end pdfinfo notes: open .pdf, <Ctrl> D shows this information +\section{Abstract}%<heading 1> +\SASregistered software %provided by sugconf.cls + +%\tableofcontents%use to rough-draft toc, disable for final + +\section{Introduction}%<heading 1> +\section{first main topic}%<heading 1> +\subsection{figures, tables}%<heading 2> + +\texttt{\%let mvar = value;} \texttt{\%put echo \&=mvar;} + +\begin{verbatim} +%let mvar = value; +%put echo &=mvar; +\end{verbatim} + +\section{Conclusion}%<heading 1> +this is the paragraph of the conclusion. + +\vspace{-1\baselineskip}%move up one line +\begin{thebibliography}{9}%or 99 if cites ge 10, <widest label> +\addcontentsline{toc}{subsection}{references}%optional, for toc review + +%useage: \cite{example} or \nameref{example} +\bibitem[example]{example}\strut %\vspace{0pt} +\begin{verbatim} +\bibitem[label]{cite-key} +author, (year), "title". +In: \textit{conference name}. +\textsc{url:} \url{...}. +\end{verbatim} + +\bibitem[text of label]{cite-key}%note: \nameref{cite-key} returns [text of label] +author, (year), "title". +In: \textit{conference}. +\par\textsc{url:} \url{www.lexjansen.com}. + +\end{thebibliography} + +\subsection{Acknowledgements}%<heading 2> + +\subsection{contact info}%<heading 2> + +Your comments and questions are valued and encouraged. Contact the author at: + +\begin{center} +\begin{tabular}[h]{rl} +name: & Augusta Ada King, Countess of Lovelace\\ +phone: &\href{https://www.youtube.com/watch?v=KOUNkVsx1-s}{634-5789} \\ %(optional) +enterprise:& Charles Babbage's computer, the Analytical Engine\\ % (optional) +e-mail: &\url{mailto:alovelace@babbageinstitute.edu}\\ +linkedin: &\url{https://www.linkedin.com/feed/}\\ +web: &\url{https://en.wikipedia.org/wiki/Ada_Lovelace}\\ %(optional) +\end{tabular} +\end{center} + +\vfill +\SASisRegisteredTrademark %sugconf.cls +\vfill \OtherTrademarks %sugconf.cls +\end{document} diff --git a/macros/latex/contrib/conferences/sugconf/sugconf.cls b/macros/latex/contrib/conferences/sugconf/sugconf.cls index 1de50143d4..c97f5d1ea8 100644 --- a/macros/latex/contrib/conferences/sugconf/sugconf.cls +++ b/macros/latex/contrib/conferences/sugconf/sugconf.cls @@ -1,157 +1,131 @@ -%% This is file `sugconf.cls' for SAS(R) User Group conference papers
-%% RJF2 2003-Jul-14 A Guide to LaTeX by Kopka and Daly
-%% RJF2 2003-Jul-14 The LaTeX Companion 2e, by Goossens and Mittelbach
-%% RJF2 2004-Feb-27 polishing for SUGI29 template
-%% RJF2 2004-Aug-05 added SASisRegisteredTrademark paragraph
-%% RJF2 2006-Apr-22 added TextWidth, TextWsmall
-%% RJF2 2006-Aug-05 polishing for submission to CTAN
-%% License type: Free, LaTeX project public license
-%% http://www.latex-project.org/lppl/
-%%
-%% usage: see sugconf-example.tex
-%% \documentclass{sugconf}
-%% %\documentclass[nopagenumbers]{sugconf}
-%% \pdfoutput=0%out=jobname.dvi
-%% \pdfoutput=1%out=jobname.pdf
-%% \sugconfpapernumber{Paper 999-99}%
-%% \sugconfsubject{writing paper using sugconf class}%
-%% %\sugconfpapernumber{\relax}%note: no paper number: warning in log
-%% \sugconfkeywords{word1 word2}
-%%
-%% see also SUGpaper.tex in the SAS-L archives of Tue, 13 Jan 2004
-%% http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0401B&L=sas-l&P=R20636
-
-\NeedsTeXFormat{LaTeX2e}
-\pagestyle{plain}%see boolean PageNumbers
-
-\usepackage{ifthen%for newboolean PageNumbers
- }%end usepackage
-
-\newboolean{PageNumbers}%%K&D pg 203
-\setboolean{PageNumbers}{true}
-\let\SUGconfSubject\relax%
-\newcommand{\sugconfsubject}[1]{\def\SUGconfSubject{#1}}
-\let\SUGconfKeywords\relax%
-\newcommand{\sugconfkeywords}[1]{\def\SUGconfKeywords{#1}}
-\let\@papernumber\relax%
-\newcommand{\sugconfpapernumber}[1]{\def\@papernumber{#1}}
-
-\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
-\DeclareOption{nopagenumbers}{\setboolean{PageNumbers}{false}%
- \pagestyle{empty}}%
-\ProcessOptions
-\LoadClass[10pt]{article}
-\AtBeginDocument{\maketitle%
- \ifthenelse{\boolean{PageNumbers}}%%K&D pg 335
- {\relax}%
- %LaTeX Companion pg 92: maketitle -> #1
- {\thispagestyle{empty}}%no page number#1
- \if\@papernumber\relax%
- \@latex@warning{sugconf: You need to specify
- a paper identifier
- using the 'papernumber' macro in the preamble.}
- \fi%
- }%end AtBeginDocument
-%\AtEndDocument{%\label{LastPage}%
-% }%end AtEndDocument
-
-%\fontencoding{OT1}%default
-%\fontencoding{T1}
-% %LaTeX2e font selection fntguide.html
-%\renewcommand{\rmdefault}{pag}%Adobe Avantgar san-serif
-%\renewcommand{\rmdefault}{pbk}%Adobe Bookman serif
-%\renewcommand{\rmdefault}{pbk}%Adobe Courier san-serif
-\renewcommand{\rmdefault}{phv}%Adobe Helvetica san-serif
-%\renewcommand{\rmdefault}{pnc}%Adobe Ncntrsbk serif
-%\renewcommand{\rmdefault}{ppl}%Adobe Palatino serif
-%\renewcommand{\rmdefault}{put}%Adobe Utopia serif
-%\renewcommand{\rmdefault}{ptm}%Adobe Times serif
-\renewcommand{\sfdefault}{phv}%Helvetica
-\renewcommand{\ttdefault}{pcr}%Courier monospace
-
-\newcommand{\SASregistered}%
- {SAS\textsuperscript{\scriptsize\textregistered}\ }
-\newcommand{\SASisRegisteredTrademark}%
- {SAS and all other SAS Institute Inc. product or service %
- names are registered trademarks or trademarks of %
- SAS Institute Inc. in the USA and other countries. %®
- \textregistered\/ indicates USA registration.}
-\newcommand{\OtherTrademarks}%
- {Other brand and product names are trademarks
- of their respective companies.}%
-
-\newlength {\TextWidth}%
-\settowidth{\TextWidth}%72 chars per line is between 1.5 and 2* alphabet
-{ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQ}%RSTUVWXYZ}
-%. . . . . . . . . . . . . 12345678901234567890123456
-%. . . . . . . . . . . . . 1.0 1.25 1.5 1.75 2.0
-% letter Q : 17/26=1.65
-%
-\renewcommand{\refname}{\flushleft\normalsize\bfseries REFERENCES}
-%% acmconf.cls: places floats where they should go; per R Pursifull
-\renewcommand{\bottomfraction}{1} \setcounter{topnumber} {10}
-\renewcommand{\textfraction} {0} \setcounter{bottomnumber}{10}
-%
-\setcounter{secnumdepth}{-1}%turn off numbering of headings
-%
-\setlength{\hoffset} {-0.375in} \setlength{\voffset} {-0.25in}
-\setlength{\textwidth} {7.0in} \setlength{\textheight} {9.25in}
-%
-\setlength{\headheight} {0pt} \setlength{\headsep} {0pt}
-\setlength{\topskip } {0pt} \setlength{\topmargin} {0pt}
-\setlength{\evensidemargin}{0pt} \setlength{\oddsidemargin}{0pt}
-\setlength{\columnsep} {0.5in} %space between two columns
-\setlength{\columnseprule} {0pt} %width vertical rule between columns
-\setlength{\parindent} {0pt} %paragraph indent
-\setlength{\parskip} {1.0ex plus 0.125ex minus 0.125ex}
-%\setlength{\parskip} {0.1\baselineskip}
-%
-\newlength{\runInHead}%LaTeX Comp, pg 27
-\setlength{\runInHead}{- \fontdimen2\font plus \fontdimen3\font
- minus \fontdimen4\font}
-\newlength {\TextWsmall}%
-\setlength {\TextWsmall}{\textwidth}
-\addtolength{\TextWsmall}{-\TextWidth}
-%\addtolength{\TextWsmall}{-\columnsep}
-\addtolength{\TextWsmall}{-1.618em}
-%% build title
-\def\@maketitle{%
- \begin{center}%
- \if\@papernumber\relax\else%
- \fontsize{10}{18}\selectfont{\bf\@papernumber\\}\medskip
- \fi%
- \fontsize{14}{18}\selectfont{\bf\@title \\}
- \fontsize{12}{14}\selectfont{ \@author }
- \end{center}%
-}%end maketitle
-
-%% Guide to LaTeX pg 348 C.3.3 Reprogramming the sectioning commands
-%% LaTeX Companion pg 24 2.3.2 Formatting Headings
-\renewcommand{\section}{\@startsection
- {section}% %name
- {1}% %level
- {0pt}% %indent
- {\baselineskip}% %beforeskip
- {0.125\baselineskip}% %afterskip
- {\large\bfseries\uppercase}% %style
- }%end section definition
-\renewcommand{\subsection}{\@startsection
- {subsection}{2}{0pt}{0.5\baselineskip}{1sp}%
- {\normalsize\bfseries\uppercase}%
- }%end section definition
-\renewcommand{\subsubsection}{\@startsection
- {subsubsection}{3}{0pt}{0.5\baselineskip}{\runInHead}%
- {\bfseries}%
- }%end section definition
-\renewcommand{\paragraph}{\@startsection
- {paragraph}{4}{0pt}{0.5\baselineskip}{\runInHead}%
- {\bfseries}%
- }%end section definition
-\renewcommand{\subparagraph}{\@startsection
- {subparagraph}{5}{0pt}{0.5\baselineskip}{\runInHead}%
- {\bfseries}%
- }%end section definition
-
-\renewenvironment{abstract}{\section{ABSTRACT}}{}
-
-\endinput %% SUGconf.cls
+%% This is file 'sugconf.cls' for SAS(R) User Group conference papers +%% Copyright (C) 2006, 2021 Ronald J. Fehd +%% +%% This program is provided under the terms of the +%% LaTeX Project Public License distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt. +%% +%% Author: Ronald J. Fehd +%% Ron dot Fehd dot macro dot maven at gmail dot com +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% usage: see sugconf-template.tex +%% \documentclass{sugconf} +%% %\documentclass[nopagenumbers]{sugconf} +%% \sugconfbanner{banner-sgf-2021.png}% +%% \sugconfpapernumber{Paper 999-99}% +%% %\sugconfpapernumber{\relax}%note: no paper number: warning in log +%% \title{this is the title of the paper} +%% \author{R.J. Fehd and N. Derby} +% +\ProvidesClass{sugconf}[2021/04/02 v2021 (RJF)] +\NeedsTeXFormat{LaTeX2e} +\pagestyle{plain}%see boolean PageNumbers +% +\usepackage[T1]{fontenc}%TEX extended text +\usepackage[ansinew]{inputenc}%2021-03-16 +\usepackage{graphicx}%2021-03-20 for banner +\usepackage{ifthen}%for newboolean PageNumbers +% +\newboolean{PageNumbers}%%K&D pg 203 +\setboolean{PageNumbers}{true} +\let\SUGconfSubject\relax% +\newcommand{\sugconfsubject}[1]{\def\SUGconfSubject{#1}} +\let\SUGconfKeywords\relax% +\newcommand{\sugconfkeywords}[1]{\def\SUGconfKeywords{#1}} +\let\@papernumber\relax% +\newcommand{\sugconfpapernumber}[1]{\def\@papernumber{#1}} +\let\@banner\relax% +\newcommand{\sugconfbanner}[1]{\def\@banner{#1}} +% +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} +\DeclareOption{nopagenumbers}{\setboolean{PageNumbers}{false}% + \pagestyle{empty}}% +\ProcessOptions +\LoadClass[10pt]{article} +\AtEndOfPackage{% + \RequirePackage[hyphens]{url} + \RequirePackage[bookmarks =false%SUG style guide + ,pdfcreator ={pdfLaTeX sugconf.cls}% + ,pdfstartview=FitBH%fit width of page to the window + ]{hyperref} + }%end AtEndOfPackage +\AtBeginDocument{% + \ifthenelse{\boolean{PageNumbers}}%%K&D pg 335 + {\relax}% + {\thispagestyle{empty}}%no page numbers + \if\@papernumber\relax% + \@latex@warning{sugconf: + You need to specify a paper identifier + using the 'papernumber' macro in the preamble.} + \fi% + }%end AtBeginDocument +% +%% https://ctan.org/pkg/fntguide +\renewcommand{\rmdefault}{phv}%Adobe Helvetica san-serif similar to Win Arial +\renewcommand{\sfdefault}{phv}%Adobe Helvetica san-serif +\renewcommand{\ttdefault}{pcr}%Adobe Courier monospace +% +%% acmconf.cls: places floats where they should go; per R Pursifull +\renewcommand{\bottomfraction}{1} \setcounter{topnumber} {10} +\renewcommand{\textfraction} {0} \setcounter{bottomnumber}{10} +% +\renewcommand{\refname}{\flushleft\normalsize\bfseries REFERENCES} +\renewcommand{\contentsname} + {table of contents: for review only, disable for final} +% +\newcommand{\SASregistered}% + {SAS\textsuperscript{\scriptsize\textregistered}\ } +\newcommand{\SASisRegisteredTrademark}% + {SAS and all other SAS Institute Inc. product or service % + names are registered trademarks or trademarks of % + SAS Institute Inc. in the USA and other countries. %® + \textregistered\/ indicates USA registration.} +\newcommand{\OtherTrademarks}% + {Other brand and product names are trademarks + of their respective companies.}% +\providecommand{\tightlist}{% begin{description|enumerate|itemize}\tightlist + \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} +%https://tex.stackexchange.com/questions/257418/error-tightlist-converting-md-file-into-pdf-using-pandoc +% +\setcounter{secnumdepth}{-1}%turn off numbering of headings +% +\setlength{\hoffset} {-0.375in} \setlength{\voffset} {-0.25in} +\setlength{\textwidth} {7.0in} \setlength{\textheight} {9.25in} +\setlength{\headheight} {0pt} \setlength{\headsep} {0pt} +\setlength{\topskip } {0pt} \setlength{\topmargin} {0pt} +\setlength{\evensidemargin}{0pt} \setlength{\oddsidemargin}{0pt} +\setlength{\columnsep} {0.5in}%space between two columns +\setlength{\columnseprule} {0pt} %width vertical rule between columns +\setlength{\parindent} {0pt} %paragraph indent +\setlength{\parskip} {1.0ex plus 0.125ex minus 0.125ex} +% +\def\@maketitle{% + \begin{center}% + \if\@banner\relax\else% + \includegraphics[width=\textwidth]{\@banner} \\ + \vspace{-0.6\baselineskip} + \fi% + \if\@papernumber\relax\else% + \textbf{\@papernumber}\\ \bigskip + \fi% + \textbf{\Large\@title } \\ \medskip + \textbf{\large\@author} + \end{center}% + }%end maketitle +% +%% LaTeX 2e reference manual +\renewcommand{\section}{\@startsection + {section}% %name + {1}% %level + {0pt}% %indent + {\baselineskip}% %beforeskip + {0.125\baselineskip}% %afterskip + {\large\bfseries\uppercase}%style + }%end section definition +\renewcommand{\subsection}{\@startsection + {subsection}{2}{0pt}{0.5\baselineskip}{1sp}% + {\normalsize\bfseries\uppercase}% + }%end subsection definition +\endinput %% sugconf.cls 2021-04-02 5:32:03 PM |