diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-13 21:50:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-13 21:50:13 +0000 |
commit | 7c47f75ece18458fe6f2039d8d8c6d6ba77e0aad (patch) | |
tree | 6d6d21656f511436905c573456455b06fe519307 /Master | |
parent | e42f335965a6717fd00e14fa46c29291bc34761a (diff) |
hausarbeit-jura (13apr16)
git-svn-id: svn://tug.org/texlive/trunk@40488 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/hausarbeit-jura/README.md | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hausarbeit-jura/hausarbeit-jura.pdf | bin | 328277 -> 328435 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/hausarbeit-jura/hausarbeit-jura.dtx | 40 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/hausarbeit-jura/hausarbeit-jura.cls | 28 |
4 files changed, 53 insertions, 32 deletions
diff --git a/Master/texmf-dist/doc/latex/hausarbeit-jura/README.md b/Master/texmf-dist/doc/latex/hausarbeit-jura/README.md index 45ad8d5a138..8633ccb94f9 100644 --- a/Master/texmf-dist/doc/latex/hausarbeit-jura/README.md +++ b/Master/texmf-dist/doc/latex/hausarbeit-jura/README.md @@ -4,8 +4,8 @@ hausarbeit-jura -- A LaTeX class for writing “juristische Hausarbeiten” at German universities. -(c) 2012-2016 -Version: 1.2 +(c) 2012-2016 Martin Sievers +Version: 1.3 Maintainer: Martin Sievers Email: martin.sievers@schoenerpublizieren.de License: Released under the LaTeX Project Public License v1.3c or later @@ -21,7 +21,7 @@ environments are needed. The documentation is in German only. -Stable version are always uploaded to CTAN. You'll find the most recent developer version on GitHub. +Stable versions are always uploaded to CTAN. You'll find the most recent developer version on GitHub. ``` https://github.com/sieversMartin/hausarbeit-jura @@ -29,10 +29,17 @@ https://github.com/sieversMartin/hausarbeit-jura ## Changelog +###1.2 to 1.3 + +* Fixed a bug (missing ``\fi``) +* Added option ``headlinetitlepageleft`` +* Added package ``ellipsis`` + + ### 1.1 to 1.2 -* added option `headline' (thanks to Tobias Hirning) to add information to the header -* TeX Gyre Fonts are now the standard fonts; added new option “oldfonts” for compatibility +* added option ``headline`` (thanks to Tobias Hirning) to add information to the header +* TeX Gyre Fonts are now the standard fonts; added new option ``oldfonts`` for compatibility * added support for XeLaTeX and LuaLaTeX * rearranged package (not only) for GitHub * code cleaning and improvement diff --git a/Master/texmf-dist/doc/latex/hausarbeit-jura/hausarbeit-jura.pdf b/Master/texmf-dist/doc/latex/hausarbeit-jura/hausarbeit-jura.pdf Binary files differindex 06951a4543b..5f880c1d3ba 100644 --- a/Master/texmf-dist/doc/latex/hausarbeit-jura/hausarbeit-jura.pdf +++ b/Master/texmf-dist/doc/latex/hausarbeit-jura/hausarbeit-jura.pdf diff --git a/Master/texmf-dist/source/latex/hausarbeit-jura/hausarbeit-jura.dtx b/Master/texmf-dist/source/latex/hausarbeit-jura/hausarbeit-jura.dtx index 5811b3d4a56..6849b01fcc9 100644 --- a/Master/texmf-dist/source/latex/hausarbeit-jura/hausarbeit-jura.dtx +++ b/Master/texmf-dist/source/latex/hausarbeit-jura/hausarbeit-jura.dtx @@ -73,7 +73,7 @@ This work consists of the file hausarbeit-jura.dtx %</internal> %<*driver> \ProvidesFile{hausarbeit-jura.dtx}% -[2016/04/04 v1.2 Eine Klasse für juristische Hausarbeiten] +[2016/04/11 v1.3 Eine Klasse für juristische Hausarbeiten] \documentclass[a4paper]{ltxdoc} \usepackage[english,ngerman]{babel} \usepackage[utf8]{inputenc} @@ -132,10 +132,13 @@ This work consists of the file hausarbeit-jura.dtx % \changes{v1.1}{2014/05/13}{Added a documentation} % \changes{v1.1}{2014/05/09}{Modified demo file} % \changes{v1.2}{2016/04/04}{Rearranged package (not only) for GitHub} -% \changes{v1.2}{2016/04/04}{Added option `hagen' (thanks to Tobias Hirning) to add more information to the header} +% \changes{v1.2}{2016/04/04}{Added option `headline' (thanks to Tobias Hirning) to add more information to the header} % \changes{v1.2}{2016/04/04}{Introduced alternative interface for title page: \string\matrikelnummer and \string\semester[]{}} % \changes{v1.2}{2016/04/04}{TeX Gyre Fonts are now the standard fonts; new option ``oldfonts'' for compatibility} % \changes{v1.2}{2016/04/04}{Support for XeLaTeX and LuaLaTeX} +% \changes{v1.3}{2016/04/11}{Fixed a bug (missing \string\fi introduced with v1.2)} +% \changes{v1.3}{2016/04/11}{Added an option headlinetitlepageleft (thanks to Tobias Hirning) to set the header left-aligned on the titlepage} +% \changes{v1.3}{2016/04/11}{Added package ellipsis} % % \GetFileInfo{\jobname.dtx} % \DoNotIndex{\newcommand,\newenvironment} @@ -361,6 +364,9 @@ This work consists of the file hausarbeit-jura.dtx % Sie können über die Option \opt{headline}\footnote{Vielen Dank an Tobias Hirning für den Hinweis.} % % den Kurzautorenname sowie die Matrikelnummer immer oben links auf die Seiten drucken. % +% \DescribeOption{headlinetitlepageleft (ab v1.3)} +% Die Autorenangaben auf der Titelseite werden standardmäßig rechtsbündig gesetzt. Mit der Option \opt{headlinetitlepageleft}\footnotemark[1] können sie dies in linksbündig ändern. +% % \clearpage % \section{Aufbau eines Dokuments} % \subsection{Texteingabe} @@ -368,7 +374,7 @@ This work consists of the file hausarbeit-jura.dtx % \begin{itemize} % \item Anführungszeichen sollten stets als \cs{enquote\marg{Text}} eingegeben werden, alternativ über % \lstinline+"+\`{}\ldots\lstinline+"'+. -% \item Auslassungspunkte werden mit \cs{ldots} angegeben. +% \item Auslassungspunkte werden mit \cs{dots\{\}} angegeben. % \item Fußnoten werden in dem Makro \cs{footnote\marg{Text}} angegeben. % \item Anmerkungen können als \cs{TODO\marg{Text}} integriert werden. % \end{itemize} @@ -520,10 +526,12 @@ This work consists of the file hausarbeit-jura.dtx \newif\if@varioref \@varioreffalse \DeclareOption{varioref}{\@varioreftrue} -\newif\if@hagen -\@hagenfalse -\DeclareOption{headline}{\@hagentrue} - +\newif\if@headline +\@headlinefalse +\DeclareOption{headline}{\@headlinetrue} +\newif\if@headlinetitlepageleft +\@headlinetitlepageleftfalse +\DeclareOption{headlinetitlepageleft}{\@headlinetitlepagelefttrue} \ExecuteOptions{american,utf8} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{jurabook}} \ProcessOptions\relax @@ -558,17 +566,18 @@ This work consists of the file hausarbeit-jura.dtx \fi% \RequirePackage{babel} \RequirePackage{indentfirst} -\if@hagen +\if@headline \RequirePackage[left=7cm,right=1cm,top=1cm,bottom=1.5cm,footskip=0.5cm,marginparwidth=5cm,verbose,includehead]{geometry}% \else \RequirePackage[left=7cm,right=1cm,top=1cm,bottom=1.5cm,footskip=0.5cm,marginparwidth=5cm,verbose]{geometry}% \fi% +\RequirePackage{ellipsis} \RequirePackage[autostyle]{csquotes} \defineshorthand{"`}{\openautoquote} \defineshorthand{"'}{\closeautoquote} \usepackage{microtype} -\if@hagen +\if@headline \renewcommand{\SetJuboPagestyle}{% \pagestyle{fancy}% \fancyhf{}% @@ -779,18 +788,18 @@ This work consists of the file hausarbeit-jura.dtx \newgeometry{left=2cm,right=2cm,top=2cm,bottom=2cm}% \fancyfootoffset[RO]{0cm}% \pagestyle{fancyplain}% - \if@hagen\fancyheadoffset[L]{0pt}\fi} + \if@headline\fancyheadoffset[L]{0pt}\fi} \AtBeginDocument{\frontmatter} \let\@ORIGmainmatter\mainmatter \renewcommand\mainmatter{\@ORIGmainmatter% \restoregeometry% \fancyfootoffset[RO,RE]{0cm}% - \if@hagen\fancyheadoffset[L]{\marginparsep+\marginparwidth}\fi} + \if@headline\fancyheadoffset[L]{\marginparsep+\marginparwidth}\fi} \renewcommand{\chapter}{% \ifnum\value{chapter}=0\mainmatter\fi% Automatisch auf Hauptteil umschalten \chapterlevel% - \if@hagen\else\jubo@thispagestyle@empty\fi% + \if@headline\else\jubo@thispagestyle@empty\fi% \global\@topnum\z@% \@afterindentfalse \secdef\@chapter\@schapter% @@ -837,10 +846,11 @@ This work consists of the file hausarbeit-jura.dtx \let\footnoterule\relax \let\footnote\thanks {\jb@author@style - \hfill\begin{tabular}[t]{l}% + \if@headlinetitlepageleft\else\hfill\fi + \begin{tabular}[t]{l}% \@author% - \ifx\@matrikelnummer\@empty\else\tabularnewline\@matrikelnummer% - \ifx\@fachsemester\@empty\else\tabularnewline\@fachsemester% + \ifx\@matrikelnummer\@empty\else\tabularnewline\@matrikelnummer\fi% + \ifx\@fachsemester\@empty\else\tabularnewline\@fachsemester\fi% \end{tabular}\par% } \null\vfil% diff --git a/Master/texmf-dist/tex/latex/hausarbeit-jura/hausarbeit-jura.cls b/Master/texmf-dist/tex/latex/hausarbeit-jura/hausarbeit-jura.cls index 93725b31b46..c7bac1bad5e 100644 --- a/Master/texmf-dist/tex/latex/hausarbeit-jura/hausarbeit-jura.cls +++ b/Master/texmf-dist/tex/latex/hausarbeit-jura/hausarbeit-jura.cls @@ -49,10 +49,12 @@ \newif\if@varioref \@varioreffalse \DeclareOption{varioref}{\@varioreftrue} -\newif\if@hagen -\@hagenfalse -\DeclareOption{headline}{\@hagentrue} - +\newif\if@headline +\@headlinefalse +\DeclareOption{headline}{\@headlinetrue} +\newif\if@headlinetitlepageleft +\@headlinetitlepageleftfalse +\DeclareOption{headlinetitlepageleft}{\@headlinetitlepagelefttrue} \ExecuteOptions{american,utf8} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{jurabook}} \ProcessOptions\relax @@ -87,17 +89,18 @@ \fi% \RequirePackage{babel} \RequirePackage{indentfirst} -\if@hagen +\if@headline \RequirePackage[left=7cm,right=1cm,top=1cm,bottom=1.5cm,footskip=0.5cm,marginparwidth=5cm,verbose,includehead]{geometry}% \else \RequirePackage[left=7cm,right=1cm,top=1cm,bottom=1.5cm,footskip=0.5cm,marginparwidth=5cm,verbose]{geometry}% \fi% +\RequirePackage{ellipsis} \RequirePackage[autostyle]{csquotes} \defineshorthand{"`}{\openautoquote} \defineshorthand{"'}{\closeautoquote} \usepackage{microtype} -\if@hagen +\if@headline \renewcommand{\SetJuboPagestyle}{% \pagestyle{fancy}% \fancyhf{}% @@ -306,18 +309,18 @@ \newgeometry{left=2cm,right=2cm,top=2cm,bottom=2cm}% \fancyfootoffset[RO]{0cm}% \pagestyle{fancyplain}% - \if@hagen\fancyheadoffset[L]{0pt}\fi} + \if@headline\fancyheadoffset[L]{0pt}\fi} \AtBeginDocument{\frontmatter} \let\@ORIGmainmatter\mainmatter \renewcommand\mainmatter{\@ORIGmainmatter% \restoregeometry% \fancyfootoffset[RO,RE]{0cm}% - \if@hagen\fancyheadoffset[L]{\marginparsep+\marginparwidth}\fi} + \if@headline\fancyheadoffset[L]{\marginparsep+\marginparwidth}\fi} \renewcommand{\chapter}{% \ifnum\value{chapter}=0\mainmatter\fi% Automatisch auf Hauptteil umschalten \chapterlevel% - \if@hagen\else\jubo@thispagestyle@empty\fi% + \if@headline\else\jubo@thispagestyle@empty\fi% \global\@topnum\z@% \@afterindentfalse \secdef\@chapter\@schapter% @@ -364,10 +367,11 @@ \let\footnoterule\relax \let\footnote\thanks {\jb@author@style - \hfill\begin{tabular}[t]{l}% + \if@headlinetitlepageleft\else\hfill\fi + \begin{tabular}[t]{l}% \@author% - \ifx\@matrikelnummer\@empty\else\tabularnewline\@matrikelnummer% - \ifx\@fachsemester\@empty\else\tabularnewline\@fachsemester% + \ifx\@matrikelnummer\@empty\else\tabularnewline\@matrikelnummer\fi% + \ifx\@fachsemester\@empty\else\tabularnewline\@fachsemester\fi% \end{tabular}\par% } \null\vfil% |