From 46c69c97cfe4829801dd8009189eb3b1f56176a3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 21 Sep 2017 20:57:42 +0000 Subject: hepthesis (21sep17) git-svn-id: svn://tug.org/texlive/trunk@45371 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/hepthesis/ChangeLog | 22 +++++- .../doc/latex/hepthesis/example/backmatter.tex | 2 +- .../doc/latex/hepthesis/example/example.pdf | Bin 345111 -> 380181 bytes .../doc/latex/hepthesis/example/example.tex | 2 +- .../doc/latex/hepthesis/example/h-physrev.bst | 8 +-- .../texmf-dist/doc/latex/hepthesis/hepthesis.pdf | Bin 260350 -> 217759 bytes .../texmf-dist/doc/latex/hepthesis/hepthesis.tex | 77 ++++++++++++--------- 7 files changed, 71 insertions(+), 40 deletions(-) (limited to 'Master/texmf-dist/doc/latex/hepthesis') diff --git a/Master/texmf-dist/doc/latex/hepthesis/ChangeLog b/Master/texmf-dist/doc/latex/hepthesis/ChangeLog index b337bd4bf1b..5ce44c910cc 100644 --- a/Master/texmf-dist/doc/latex/hepthesis/ChangeLog +++ b/Master/texmf-dist/doc/latex/hepthesis/ChangeLog @@ -1,7 +1,27 @@ -2014-08-27 Andy Buckley +2017-09-20 Andy Buckley + + * 1.5.1 release. + + * Disable deprecated \thesis... commands -- as promised for 1.5.0! + + * Change hepthesis.tex class to basic article, since fancyvrb + still generates \tt macros and scrartcl bans them. + + * Replace \sf -> \sffamily and \bf -> \bfseries for proper + NFSS/modern LaTeX compatibility. Thanks to William Fawcett for + highlighting the problem. + + * Fix a typo (extra 'g') in the \setfrontmatterextramargins + command definition. Thanks to Clement Dallard. + +2014-12-02 Andy Buckley * 1.5.0 release. + * Minor tweaks to Makefile, adding a \thispagestyle{empty} tweak to the example, bump version date. + +2014-08-27 Andy Buckley + * Changing example doc font, and removing mythesis.sty/cls files in favour of a preamble.tex diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/backmatter.tex b/Master/texmf-dist/doc/latex/hepthesis/example/backmatter.tex index 3926f699a24..a695bf3a080 100644 --- a/Master/texmf-dist/doc/latex/hepthesis/example/backmatter.tex +++ b/Master/texmf-dist/doc/latex/hepthesis/example/backmatter.tex @@ -14,6 +14,6 @@ \listoftables %% If you have time and interest to generate a (decent) index, -%% then you've clearly spent more time on the write-up than the +%% then you've clearly spent more time on the write-up than the %% research ;-) %\printindex diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/example.pdf b/Master/texmf-dist/doc/latex/hepthesis/example/example.pdf index a9a3b7d84f3..1f1c688dc23 100644 Binary files a/Master/texmf-dist/doc/latex/hepthesis/example/example.pdf and b/Master/texmf-dist/doc/latex/hepthesis/example/example.pdf differ diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/example.tex b/Master/texmf-dist/doc/latex/hepthesis/example/example.tex index 6563dc27a4b..9f9c432ed27 100644 --- a/Master/texmf-dist/doc/latex/hepthesis/example/example.tex +++ b/Master/texmf-dist/doc/latex/hepthesis/example/example.tex @@ -5,7 +5,7 @@ %% For short draft builds (breaks citations by necessity) %\documentclass[hyperpdf,nobind,draft,hidefrontback]{hepthesis} -%%For Cambridge soft-bound version +%% For Cambridge soft-bound version \documentclass[hyperpdf,bindnopdf]{hepthesis} %% For Cambridge hard-bound version (must be one-sided) %\documentclass[hyperpdf,oneside]{hepthesis} diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/h-physrev.bst b/Master/texmf-dist/doc/latex/hepthesis/example/h-physrev.bst index 0d200a0197e..7c3c09f9bdb 100644 --- a/Master/texmf-dist/doc/latex/hepthesis/example/h-physrev.bst +++ b/Master/texmf-dist/doc/latex/hepthesis/example/h-physrev.bst @@ -142,13 +142,13 @@ if$ FUNCTION {emphasize} { duplicate$ empty$ { pop$ "" } -{ "{\em " swap$ * "}" * } +{ "{\itshape " swap$ * "}" * } if$ } FUNCTION {embolden} { duplicate$ empty$ { pop$ "" } -{ "{\bf " swap$ * "}" * } +{ "{\bfseries " swap$ * "}" * } if$ } FUNCTION {paren} @@ -533,7 +533,7 @@ format.authors "author" output.check new.block crossref missing$ { journal field.or.null -format.vol.num.pages +format.vol.num.pages format.date empty$ 'skip$ { duplicate$ empty$ @@ -571,7 +571,7 @@ crossref missing$ { new.block format.book.crossref output.nonnull } -if$ +if$ eprint output new.block note output diff --git a/Master/texmf-dist/doc/latex/hepthesis/hepthesis.pdf b/Master/texmf-dist/doc/latex/hepthesis/hepthesis.pdf index 29add0ffb80..8aabf61cce1 100644 Binary files a/Master/texmf-dist/doc/latex/hepthesis/hepthesis.pdf and b/Master/texmf-dist/doc/latex/hepthesis/hepthesis.pdf differ diff --git a/Master/texmf-dist/doc/latex/hepthesis/hepthesis.tex b/Master/texmf-dist/doc/latex/hepthesis/hepthesis.tex index 7a32d7127cc..94b113adafb 100644 --- a/Master/texmf-dist/doc/latex/hepthesis/hepthesis.tex +++ b/Master/texmf-dist/doc/latex/hepthesis/hepthesis.tex @@ -1,5 +1,6 @@ -\documentclass[12pt]{scrartcl} -\usepackage{maybemath,xspace,setspace,fancyvrb,fancybox} +\documentclass[12pt]{article} +\usepackage{mathpazo} +\usepackage{maybemath,xspace,setspace,fancybox,fancyvrb} \usepackage{a4wide,url,relsize,underscore} \usepackage[colorlinks=true,bookmarks=true]{hyperref} \newcommand{\maybemath}{\texttt{maybemath}\xspace} @@ -10,9 +11,9 @@ \setlength{\fboxsep}{10pt} \addtolength{\fboxrule}{0.6\fboxrule} -\newcommand{\hepthesisversion}{v1.5} +\newcommand{\hepthesisversion}{v1.5.1} \author{Andy Buckley, \texttt{andy@insectnation.org}} -\title{\hepthesis \hepthesisversion \\ \smaller A class for typesetting academic theses} +\title{hepthesis \hepthesisversion \\ \smaller A class for typesetting academic theses} %% Bold tt font \DeclareFontShape{OT1}{cmtt}{bx}{n}{<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>cmttb10}{} @@ -28,15 +29,23 @@ \newcommand{\gen}[1]{\ensuremath{\langle\text{\mdseries\itshape#1\/}\rangle}} \newcommand{\texpkg}[1]{#1} \newcommand{\texoption}[1]{\texopt{#1}} + \newenvironment{snippet}{\Verbatim}{\endVerbatim} \newenvironment{fsnippet}% {\VerbatimEnvironment \begin{Sbox}\begin{minipage}{0.82\textwidth}\begin{Verbatim}}% {\end{Verbatim}\end{minipage}\end{Sbox} - \setlength{\fboxsep}{12pt}\vspace*{4mm}\newline\fbox{\TheSbox}\vspace{4mm}} + \setlength{\fboxsep}{12pt}\vspace*{4mm}\newline\fbox{\TheSbox}\vspace{4mm}\par\noindent} + +% \newenvironment{snippet}% +% {\begin{minted}{latex}}{\end{minted}} +% \newenvironment{fsnippet}% +% {\begin{Sbox}\begin{minipage}{0.82\textwidth}\begin{minted}{latex}}% +% {\end{minted}\end{minipage}\end{Sbox} +% \setlength{\fboxsep}{12pt}\vspace*{4mm}\newline\fbox{\TheSbox}\vspace{4mm}} \begin{document} -{\sf \maketitle} +{\larger[3] \sffamily \bfseries \maketitle} \abstract{% The \hepthesis class provides an attractive framework in which to write a PhD @@ -48,21 +57,22 @@ \section{Introduction} When I began my PhD in 2001, I was surprised to find that there was no standard -\LaTeX{} thesis class used by students in my field (high-energy particle -physics, hence the ``hep''). In retrospect, this is not so surprising --- -research groups tend to have an informal system of handing down slightly -tailored thesis templates (complete with in line \texcmd{vspace}s, +\LaTeX{} thesis class used by students in my field (\emph{h}igh-\emph{e}nergy +\emph{p}article physics, hence the ``hep''). In retrospect, this is not so +surprising --- research groups often have an informal system of handing down +slightly tailored thesis templates (complete with in line \texcmd{vspace}s, \texcmd{Huge}s and all the rest) through generations of students without ever -formalising the style and attempting to do it ``properly''. By the time it came -to write my own thesis it was obvious that I would only retain my sanity through -measures of extreme procrastination and so this package came to be. It has now -been edited and hacked on and off since roughly mid-2004, taking stylistic -features from other theses that I've thought attractive and adding features -based on my own pickiness and user requests. The typography isn't motivated by -any formal understanding of the subject, though, so I'm sure there's still -plenty of room for improvement! - -This document will document the structure of \hepthesis and how to make it work +formalising the style and attempting to do it ``properly''. + +By the time it came to write my own thesis it was obvious that I would only +retain my sanity through measures of extreme procrastination and so this package +came to be. It has now been edited and hacked on and off since roughly mid-2004, +taking stylistic features from other theses that I've thought attractive and +adding features based on my own pickiness and user requests. The typography +isn't motivated by any formal understanding of the subject, though, so I'm sure +there's still plenty of room for improvement. + +This document documents the structure of \hepthesis and how to make it work with you rather than against you. I may be unable to resist including other hints and tips on how to make your thesis-writing go smoothly. Please contact me with suggested improvements, either to the package or to this documentation. @@ -184,7 +194,7 @@ which doesn't interface well to \texpkg{hyperref}. I think this is fixed in \usepackage{csquotes}[2007/03/25] \end{snippet} % -so that a new enough version will be used. +so that sufficiently recent version will be used. \item Similarly, version 0.9 of the \texpkg{varwidth} package has a deformed version @@ -533,14 +543,15 @@ As for \texcmd{frontquote}, an optional language argument can be used. \subsection{\texenv{colophon} environment} A colophon is an inscription placed at the end of a book or other work that talks about how the work was created and what things were used in its creation. -This should go in the back matter of your thesis and is completely optional. -If you use this, please mention \hepthesis' r\^ole in making your thesis! Here's -an example: +This should go in the back matter of your thesis and is completely +optional. Frankly, I've only ever seen them in O'Reilly tech books (and my own +thesis, of course). If you use this, please mention \hepthesis' r\^ole in +making your thesis! Here's an example: % \begin{fsnippet} \begin{backmatter} \begin{colophon} - This thesis was made with ``hepthesis'' and it was really cool... + This thesis was made with ``hepthesis'' and it blew my mind... \end{colophon} ... \end{fsnippet} @@ -642,14 +653,14 @@ over line breaks. The equation, reference and page forms will call the \texcmd{eqref}, \texcmd{cite} and \texcmd{pageref} reference macros rather than \texcmd{ref}, which is used for all others. -\subsection{``thesis---'' prefix versions} -Additionally, all \hepthesis environments and commands have an alternative name, -which is the version described above, prefixed with ``thesis''\footnote{This - is a hang-over from early versions of my thesis, when I didn't know how to - robustly extend and re-define environments and commands.}. These forms are -frankly a bit of a pain to use, so use the short versions, please. The -``thesis---'' versions should be considered deprecated and \textbf{will be removed -in the next release, version 1.5}. +% \subsection{``thesis---'' prefix versions} +% Additionally, all \hepthesis environments and commands have an alternative name, +% which is the version described above, prefixed with ``thesis''\footnote{This +% is a hang-over from early versions of my thesis, when I didn't know how to +% robustly extend and re-define environments and commands.}. These forms are +% frankly a bit of a pain to use, so use the short versions, please. The +% ``thesis---'' versions should be considered deprecated and \textbf{will be removed +% in the next release, version 1.5}. \section{Recommended extra packages} -- cgit v1.2.3