summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/sidenotes
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-21 20:56:46 +0000
committerKarl Berry <karl@freefriends.org>2016-04-21 20:56:46 +0000
commit8b231a565e5f97a3bd41deded73be7986ab1cb3e (patch)
tree0c5d3a9f80fc6cfb2b6e777fbc9649d79bdcf9eb /Master/texmf-dist/tex/latex/sidenotes
parenta25cbbbb685bf98f9df75cb08131ea8f4e0f7e79 (diff)
sidenotes (21apr16)
git-svn-id: svn://tug.org/texlive/trunk@40658 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/sidenotes')
-rw-r--r--Master/texmf-dist/tex/latex/sidenotes/caesar_book.cls28
-rw-r--r--Master/texmf-dist/tex/latex/sidenotes/sidenotes.sty2
2 files changed, 22 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/sidenotes/caesar_book.cls b/Master/texmf-dist/tex/latex/sidenotes/caesar_book.cls
index 8b892f6c691..b04a244d91e 100644
--- a/Master/texmf-dist/tex/latex/sidenotes/caesar_book.cls
+++ b/Master/texmf-dist/tex/latex/sidenotes/caesar_book.cls
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{caesar_book.cls}[2015/03/04 v0.98 Caesar book]
+\ProvidesFile{caesar_book.cls}[2016/04/21 v1.00 Caesar book]
% Load the amsmath and the mhchem package before loading microtype
\RequirePackage{amsmath}% better math handling
\RequirePackage[version=3]{mhchem}% chemical formulas
@@ -96,11 +96,15 @@
%
% titlepage
\newcommand{\publisher}[1]{\gdef\caesar@publisher{#1}}
+\gdef\caesar@thesis{}
+\newcommand{\thesis}[1]{\gdef\caesar@thesis{#1}}
\RequirePackage{textcase} % provides \MakeTextUppercase and \MakeTextLowercase
\RequirePackage{color} % the title is too black, define gray
\definecolor{darkgray}{rgb}{0.25,0.25,0.25}
\newcommand{\maketitlepage}{% the title page is generated here
% first count the number of lines in the title
+ \begin{fullwidth}
+ \raggedright%
\setbox0\vbox{\noindent\fontsize{30}{38}\selectfont\caesar@letterspace{\MakeTextUppercase{\@title}}\par
\count@\z@
\loop
@@ -117,19 +121,29 @@
\begingroup%
{%
\sffamily%
- \begin{fullwidth}%
+ %\begin{fullwidth}%
\vspace*{0em}% one line extra space
- \LARGE\caesar@letterspace{\MakeTextUppercase{\@author}}\par
+ \noindent\LARGE\caesar@letterspace{\MakeTextUppercase{\@author}}\par
\vfill%
\noindent\fontsize{30}{38}\selectfont\textcolor{darkgray}{\caesar@letterspace{\MakeTextUppercase{\@title}}}\par
\vfill%
\vspace{\caesar@titlespace}%
- \Large\noindent\caesar@letterspace{\MakeTextUppercase{\caesar@publisher}}\par
- \end{fullwidth}%
+ \noindent\Large\caesar@letterspace{\MakeTextUppercase{\caesar@publisher}}\par
+ %\end{fullwidth}%
}%
- \endgroup%
\thispagestyle{empty}%
- \clearpage%
+ \endgroup
+ \cleardoublepage%
+ \begin{center}%
+ \vspace*{0em}% one line extra space
+ \textit{\@title}%
+ \end{center}%
+ \end{fullwidth}%
+ \cleardoublepage%
+ \chapter*{\@title}
+ \vspace{-3em}%
+ \section*{\caesar@thesis\@author}
+ %
}
\newcommand\newthought[1]{%
\addvspace{1.0\baselineskip plus 0.5ex minus 0.2ex}%
diff --git a/Master/texmf-dist/tex/latex/sidenotes/sidenotes.sty b/Master/texmf-dist/tex/latex/sidenotes/sidenotes.sty
index b9040b117ee..7b21e85bd06 100644
--- a/Master/texmf-dist/tex/latex/sidenotes/sidenotes.sty
+++ b/Master/texmf-dist/tex/latex/sidenotes/sidenotes.sty
@@ -13,7 +13,7 @@
%% about the files the work consists of.
%%
\RequirePackage{l3keys2e}%
-\ProvidesExplPackage{sidenotes}{2015/03/04}{0.98}{rich text in the margin for LaTeX}
+\ProvidesExplPackage{sidenotes}{2016/04/21}{1.00}{rich text in the margin for LaTeX}
\RequirePackage{marginnote} % provides an offset option for the marginals instead of a float
\RequirePackage{caption} % handles the captions (in the margin)
\RequirePackage{xparse} % new LaTeX3 syntax to define macros and environments