-
Notifications
You must be signed in to change notification settings - Fork 4
Installation
Since uni-titlepage
is a LaTeX package, a TeX distribution is of course required. Usually you have the choice between MiKTeX and TeX Live or MacTeX.
In addition uni-titlepage
needs the KOMA-Script package scrbase
. This should be installed via the package manager of the used TeX distribution. For MiKTeX the package manager can be found in the MiKTeX Console
. If MiKTeX is configured to install packages via an online connection when used for the first time, it is theoretically sufficient to load the package in a document with
\usepackage{scrbase}
so that KOMA-Script is installed. But you can also install the package koma-script
yourself in the MiKTeX Console
.
With TeX Live, KOMA-Script is of course also installed in the default full installation. If you have only a minimal LaTeX installed, you have to install the package koma-script
yourself. In the meantime there are several graphical administration tools with integrated package manager in TeX Live. But you can also start the installation of KOMA-Script simply via
tlmgr install koma-script
or
sudo tlmgr install koma-script
from a terminal.
For MacTeX the same generally applies as for TeX Live, because it is a TeX Live with special adaptations for OSX.
Theoretically, the same applies to the installation of uni-titlepage
as to the installation of prerequisites. Unfortunately, these methods currently still fail because the TeX distributions do not yet include uni-titepage
. As long as this is the case, I recommend using l3build
.
First you have to install the package l3build
. This is done in the same way as the installation of prerequisites. Of course, koma-script
has to be replaced by l3build
.
Before the sources of uni-titlepage
can be cloned from GitHub, you need either gh
or git
.
On Windows you can first install gh
.
For the Mac you also have to install gh
or git
. The latter is best done via Xcode.
On Linux you can install either gh
or git
via the package manager of the Linux distribution. For Debian based Linux distributions this can be done with:
sudo apt-get install git
For openSuSE you use instead:
sudo zypper install git
To clone uni-titlepage
with gh
, enter the following command in a terminal or the Windows command prompt
gh repo clone komascript/uni-titlepage
and wait for the successful cloning. When using git
the corresponding command is:
git clone https://github.com/komascript/uni-titlepage.git
In both cases, a new directory uni-titlepage
is created with the source code of the package.
With
cd uni-titlepage
you change to the directory of uni-titlepage
. Afterwards the installation is done with
l3build install
Finally one creates with
the manual and the PDFs of the example files. The example files can be found in the subdirectory build/unpacked
(or build\unpacked
for Windows).
Diese Seite ist ebenfalls in Deutsch verfügbar