summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/rub-kunstgeschichte
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/rub-kunstgeschichte')
-rw-r--r--macros/latex/contrib/rub-kunstgeschichte/README.md11
-rw-r--r--macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte-example.pdfbin0 -> 36684 bytes
-rw-r--r--macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.dtx192
-rw-r--r--macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.ins70
-rw-r--r--macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.pdfbin0 -> 232043 bytes
5 files changed, 273 insertions, 0 deletions
diff --git a/macros/latex/contrib/rub-kunstgeschichte/README.md b/macros/latex/contrib/rub-kunstgeschichte/README.md
new file mode 100644
index 0000000000..4d8ac8c06a
--- /dev/null
+++ b/macros/latex/contrib/rub-kunstgeschichte/README.md
@@ -0,0 +1,11 @@
+# `rub-kunstgeschichte` - Class for the art history institute at Ruhr University Bochum
+
+A LaTeX class implementing the guidelines on scientific writing of the art history institute "KGI" (Kunstgeschichtliches Institut) at Ruhr University Bochum.
+
+## Author
+
+This package is maintained by Joran Schneyer: [joran.schneyer@ruhr-uni-bochum.de](mailto:joran.schneyer@ruhr-uni-bochum.de)
+
+## License
+
+Released under the LaTeX Project Public License v1.3c or later. See https://www.latex-project.org/lppl.txt \ No newline at end of file
diff --git a/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte-example.pdf b/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte-example.pdf
new file mode 100644
index 0000000000..891c9e8e97
--- /dev/null
+++ b/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte-example.pdf
Binary files differ
diff --git a/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.dtx b/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.dtx
new file mode 100644
index 0000000000..5423d5babe
--- /dev/null
+++ b/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.dtx
@@ -0,0 +1,192 @@
+% \iffalse meta-comment
+%
+% File: rub-kunstgeschichte.dtx
+% Copyright (C) 2024 by Joran Schneyer <joran.schneyer@ruhr-uni-bochum.de>
+%
+% 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 <joran.schneyer@ruhr-uni-bochum.de>.
+%
+% 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}
+%</driver>
+%<class>\NeedsTeXFormat{LaTeX2e}[2022-06-01]
+%<class>\ProvidesClass{rub-kunstgeschichte}
+%<*class>
+ [2024-05-26 v0.1.0 RUB KGI class]
+%</class>
+%<*driver>
+\documentclass{ltxdoc}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+ \DocInput{\jobname.dtx}
+ \PrintChanges
+ \PrintIndex
+\end{document}
+%</driver>
+% \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
+%</class>
+%<*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
+
+%</example>
+% \fi
+%
+% \Finale \ No newline at end of file
diff --git a/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.ins b/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.ins
new file mode 100644
index 0000000000..32ba943f7f
--- /dev/null
+++ b/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.ins
@@ -0,0 +1,70 @@
+\iffalse meta-comment
+
+File: rub-kunstgeschichte.ins
+Copyright (C) 2024 by Joran Schneyer <joran.schneyer@ruhr-uni-bochum.de>
+
+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 <joran.schneyer@ruhr-uni-bochum.de>.
+
+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 <joran.schneyer@ruhr-uni-bochum.de>
+
+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 <joran.schneyer@ruhr-uni-bochum.de>.
+
+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
diff --git a/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.pdf b/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.pdf
new file mode 100644
index 0000000000..98614bb733
--- /dev/null
+++ b/macros/latex/contrib/rub-kunstgeschichte/rub-kunstgeschichte.pdf
Binary files differ