From 84fdc150461dd06e1ac5db63dbc6b5542615d492 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 27 May 2024 19:30:51 +0000 Subject: rub-kunstgeschichte (27may24) git-svn-id: svn://tug.org/texlive/trunk@71373 c570f23f-e606-0410-a88d-b1316a301751 --- .../rub-kunstgeschichte/rub-kunstgeschichte.dtx | 192 +++++++++++++++++++++ .../rub-kunstgeschichte/rub-kunstgeschichte.ins | 70 ++++++++ 2 files changed, 262 insertions(+) create mode 100644 Master/texmf-dist/source/latex/rub-kunstgeschichte/rub-kunstgeschichte.dtx create mode 100644 Master/texmf-dist/source/latex/rub-kunstgeschichte/rub-kunstgeschichte.ins (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/rub-kunstgeschichte/rub-kunstgeschichte.dtx b/Master/texmf-dist/source/latex/rub-kunstgeschichte/rub-kunstgeschichte.dtx new file mode 100644 index 00000000000..5423d5babeb --- /dev/null +++ b/Master/texmf-dist/source/latex/rub-kunstgeschichte/rub-kunstgeschichte.dtx @@ -0,0 +1,192 @@ +% \iffalse meta-comment +% +% File: rub-kunstgeschichte.dtx +% Copyright (C) 2024 by Joran Schneyer +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3c +% of this license or (at your option) any later version. +% The latest version of this license is in +% https://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Joran Schneyer . +% +% This work consists of the files rub-kunstgeschichte.dtx +% rub-kunstgeschichte.ins +% and the derived files rub-kunstgeschichte.cls +% rub-kunstgeschichte-example.tex +% +% \fi + +% \iffalse +%<*driver> +\ProvidesFile{rub-kunstgeschichte.dtx} +% +%\NeedsTeXFormat{LaTeX2e}[2022-06-01] +%\ProvidesClass{rub-kunstgeschichte} +%<*class> + [2024-05-26 v0.1.0 RUB KGI class] +% +%<*driver> +\documentclass{ltxdoc} +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\begin{document} + \DocInput{\jobname.dtx} + \PrintChanges + \PrintIndex +\end{document} +% +% \fi +% +%^^A Document general changes here +% \changes{v0.1.0}{2024-05-26}{Initial version} +% +% \GetFileInfo{\jobname.dtx} +% +% \DoNotIndex{\newcommand,\newenvironment} +% \DoNotIndex{\begin,\end} +% +%^^A define helper commands for consistent typesetting in the documentation +% \def\env{\texttt} +% \def\opt{\texttt} +% \def\cls{\textsf} +% \def\pkg{\textsf} +% \def\prg{\textsf} +% \DeclareDocumentCommand\email{m}{\href{mailto:#1}{\nolinkurl{#1}}} +% +% \title{The \cls{\jobname} class^^A +% \thanks{This document corresponds to \pkg{\jobname}~\fileversion, +% dated \filedate.}} +% \author{\copyright{} Joran Schneyer^^A +% \thanks{Released under the LaTeX Project Public License v1.3c or later.^^A +% \\ See \url{https://www.latex-project.org/lppl.txt}}^^A +% \\ \email{joran.schneyer@ruhr-uni-bochum.de}} +% \date{\filedate} +% +% \maketitle +% +% \section{Introduction}\label{sec:introduction} +% +% This \LaTeX{} class aims to implement the guidelines on scientific writing of the art history institute (Kunstgeschichtliches Institut - short: KGI) at Ruhr University Bochum.^^A +% \footnote{Guidelines version July 2023 \url{https://kgi.ruhr-uni-bochum.de/wp-content/uploads/2023/04/Anleitung-zum-Erstellen-von-Hausarbeiten-im-Fach-Kunstgeschichte_Fassung-Juli-2023.pdf}} +% +% Note, that at this point this is not an official class made by anyone at the institute but rather a free-time hobby project of me, Joran, who knows \LaTeX{} from studying Electrical Engineering and just wants to help out some friends studying art history. +% +% You can find the latest releases and the development of this project at GitHub: \url{https://github.com/rub-kgi/rub-kunstgeschichte-latex} +% +% \section{Usage}\label{sec:usage} +% +% To use this class, simply specify it as the document class.^^A +% \footnote{You can also find a complete example usage of this class in \autoref{sec:example}.} +% \begin{verbatim} +% \documentclass{rub-kunstgeschichte} +% \end{verbatim} +% +% \StopEventually{} +% +% \clearpage +% \appendix +% +% \section{Implementation}\label{sec:implementation} +% +% \iffalse +%<*class> +% \fi +% +% \subsection{Base class}\label{sec:implementation:base-class} +% The \cls{\jobname} class is based on the \cls{article} class. +% When loading the class we specify \texttt{12pt} as the base font size, as required by the guidelines. +% \iffalse +%% Load base class with 12pt base font size +% \fi +% \begin{macrocode} +\LoadClass[12pt]{article} +% \end{macrocode} +% +% \subsection{Loading packages}\label{sec:implementation:package-loading} +% +% \paragraph{Line spacing} +% To achieve 1.5 times line spacing as required by the guidelines, +% we simply load the package \pkg{setspace} with the \opt{onehalfspacing} option. +% \iffalse +%% Set 1.5 times line spacing +% \fi +% \begin{macrocode} +\RequirePackage[onehalfspacing]{setspace} +% \end{macrocode} +% +% \paragraph{Margins} +% The guidelines require 2cm top, left and bottom margins as well as a 4cm correction margin on the right side. +% Furthermore A4 paper is the standard page size here. +% \iffalse +%% Set a4 paper size and margins +% \fi +% \begin{macrocode} +\RequirePackage[ + a4paper, + top=2cm,left=2cm,bottom=2cm,right=4cm +]{geometry} +% \end{macrocode} +% +% \iffalse +% +%<*example> +% \fi +% +% \section{Example}\label{sec:example} +% +% To further exemplify the use of this class, +% we create an example .tex file. +% The full \texttt{rub-kunstgeschichte-example.tex} and the corresponding \texttt{rub-kunstgeschichte-example.pdf} are available on GitHub.^^A +% \footnote{\url{https://github.com/rub-kgi/rub-kunstgeschichte-latex/releases}} +% +% Let's examine the contents of this example .tex file step by step +% to highlight features of this class that were used. +% +% First, the \cls{rub-kunstgeschichte} class is loaded +% \iffalse +%% Load the rub-kunstgeschichte class +% \fi +% \begin{macrocode} +\documentclass{rub-kunstgeschichte} +% \end{macrocode} +% \iffalse + +% \fi +% +% and then the information needed to typeset a title is given: +% \begin{macrocode} +\title{Example usage of the \textsf{rub-kunstgeschichte} class} +\author{Joran Schneyer} +% \end{macrocode} +% +% Naturally, we begin the document environment and typeset the title +% \begin{macrocode} +\begin{document} + \maketitle +% \end{macrocode} +% +% Next we need some text to show some features. +% The text in the example itself will explain the features used. +% \begin{macrocode} + Here is some text. + Note, how the typeset text has 12pt font size as specified + and there is a 1.5 times line-spacing present. +% \end{macrocode} +% +% Finally we end the document environment +% \begin{macrocode} +\end{document} +% \end{macrocode} +% \iffalse + +% +% \fi +% +% \Finale \ No newline at end of file diff --git a/Master/texmf-dist/source/latex/rub-kunstgeschichte/rub-kunstgeschichte.ins b/Master/texmf-dist/source/latex/rub-kunstgeschichte/rub-kunstgeschichte.ins new file mode 100644 index 00000000000..32ba943f7f1 --- /dev/null +++ b/Master/texmf-dist/source/latex/rub-kunstgeschichte/rub-kunstgeschichte.ins @@ -0,0 +1,70 @@ +\iffalse meta-comment + +File: rub-kunstgeschichte.ins +Copyright (C) 2024 by Joran Schneyer + +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.3c +of this license or (at your option) any later version. +The latest version of this license is in + https://www.latex-project.org/lppl.txt +and version 1.3c or later is part of all distributions of LaTeX +version 2008 or later. + +This work has the LPPL maintenance status `maintained'. + +The Current Maintainer of this work is Joran Schneyer . + +This work consists of the files rub-kunstgeschichte.dtx + rub-kunstgeschichte.ins + and the derived files rub-kunstgeschichte.cls + rub-kunstgeschichte-example.tex + +\fi + +\input docstrip.tex +\keepsilent + +\usedir{tex/latex/rub-kunstgeschichte} + +\preamble + +This is a generated file. + +Copyright (C) 2024 by Joran Schneyer + +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.3c +of this license or (at your option) any later version. +The latest version of this license is in + https://www.latex-project.org/lppl.txt +and version 1.3c or later is part of all distributions of LaTeX +version 2008 or later. + +This work has the LPPL maintenance status `maintained'. + +The Current Maintainer of this work is Joran Schneyer . + +This work consists of the files rub-kunstgeschichte.dtx + rub-kunstgeschichte.ins + and the derived files rub-kunstgeschichte.cls + rub-kunstgeschichte-example.tex + +\endpreamble + +\generate{\file{rub-kunstgeschichte.cls}{\from{rub-kunstgeschichte.dtx}{class}}} +\generate{\file{rub-kunstgeschichte-example.tex}{\from{rub-kunstgeschichte.dtx}{example}}} + +\obeyspaces +\Msg{*********************************************************************} +\Msg{* *} +\Msg{* To finish the installation you have to move the following *} +\Msg{* file into a directory searched by TeX: *} +\Msg{* *} +\Msg{* rub-kunstgeschichte.cls *} +\Msg{* *} +\Msg{* To produce the documentation run the file rub-kunstgeschichte.dtx *} +\Msg{* through LaTeX. *} +\Msg{*********************************************************************} + +\endbatchfile \ No newline at end of file -- cgit v1.2.3