Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
  • EIT/Templates/style-eit-latex
  • djimadeu/style-eit-latex
2 results
Select Git revision
Loading items
Show changes

Commits on Source 9

[submodule "RedHatFont"]
path = RedHatFont
url = https://github.com/RedHatOfficial/RedHatFont
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% TUK EIT Style for LaTeX Documents
%% RPTU EIT Style for LaTeX Documents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ProvidesPackage{style-eit-latex/EIT}[2017/06/02 v0.4 by Matthias Jung, Christian De Schryver]
\ProvidesPackage{style-eit-latex/EIT}[2022/11/30 by Matthias Jung, Christian De Schryver, edited by Julian Puderbach]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Language Settings and Options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% defines a global token "isGerman" that can also be used in the LaTeX files later
\usepackage[english,ngerman]{babel}
\RequirePackage{etoolbox}
\newtoggle{isGerman}
\togglefalse{isGerman}
......@@ -15,9 +16,6 @@
% default is English
\DeclareOption{en}{\togglefalse{isGerman}}
\DeclareOption{de}{\toggletrue{isGerman}}
% set global font style to sans serif by passing [pt] option
\DeclareOption{pt}{\renewcommand{\familydefault}{\sfdefault}}
\ProcessOptions\relax
% language support
......@@ -34,10 +32,10 @@
\RequirePackage{geometry}
\geometry{
a4paper,
top=25.4mm,
left=25.4mm,
right=25.4mm,
bottom=25.4mm,
top=35.0mm,
left=30.0mm,
right=20.0mm,
bottom=25.0mm,
headsep=8mm,
footskip=10mm
}
......@@ -49,12 +47,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Standard Packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set up unicode input:
\RequirePackage[utf8]{inputenc}
% set 8-bit font enconding
% see: http://tex.stackexchange.com/questions/664/why-should-i-use-usepackaget1fontenc
\RequirePackage[T1]{fontenc}
% Breaking URLs with hyphens
\RequirePackage[hyphens]{url}
......@@ -71,13 +63,15 @@
\RequirePackage{bm}
% Get correct links for url in bibliography
\RequirePackage[hidelinks]{hyperref}
\RequirePackage[hidelinks,bookmarks,hypertexnames=false,debug]{hyperref}
%\RequirePackage{hyperref}
\RequirePackage{bookmark}
% Balance columns on last page
\RequirePackage{flushend}
% Nice subfigures (a) and (b)
\RequirePackage[caption=false]{subfig}
% Nice figures (a) and (b)
%\RequirePackage[caption=false]{subfig}
% Get nice fractions as \nicefrac{1}{4}
\RequirePackage{nicefrac}
......@@ -90,10 +84,12 @@
\RequirePackage{multirow}
\newcommand{\minitab}[2][c]{\begin{tabular}{@{}#1@{}}#2\end{tabular}}
\RequirePackage{tabularx}
\RequirePackage{xltabular} % for tabularx options with longtables i.e. for glossaries
\RequirePackage{environ} % for tabularx longtables in glossaries
\newcolumntype{Y}{>{\raggedleft\arraybackslash}X}% raggedleft column X
\iftoggle{isGerman}{
\RequirePackage[detect-all,decimalsymbol=comma]{siunitx}
\RequirePackage[detect-all, output-decimal-marker = {,}]{siunitx}
}{
\RequirePackage[detect-all]{siunitx}
}
......@@ -106,46 +102,65 @@
\RequirePackage[capitalize]{cleveref}
% Other Packages:
\RequirePackage{graphicx}
\RequirePackage{paratype}
\RequirePackage{titlesec}
\RequirePackage{titling}
\usepackage{booktabs} % für booktabs style von Tabellen
\usepackage{tcolorbox}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Background and TUK Corporate Design
%% Background and RPTU Corporate Design
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Background image for title page
\RequirePackage{wallpaper}
\iftoggle{isGerman}{
\ThisCenterWallPaper{1.0}{style-eit-latex/backgrounds/bg_report_de.pdf}
}{
\ThisCenterWallPaper{1.0}{style-eit-latex/backgrounds/bg_report_en.pdf}
}
% Cooperate Design TUK including PT-Sans:
\newcommand{\pt}{\usefont{T1}{PTSans-TLF}{m}{n}}
\newcommand{\ptc}{\usefont{T1}{PTSansCaption-TLF}{m}{n}}
\titleformat{\section}{\LARGE\color{tuk-blue}\ptc}{\thesection}{1em}{}
\titleformat{\subsection}{\Large\ptc}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\large\color{tuk-coldgrey}\ptc}{\thesubsubsection}{1em}{}
% Color definitions from TUK style handbook version 2015-02-04
% Background for title page
\RequirePackage{eso-pic} % for flexible Background options
\RequirePackage{svg} % for svg graphics
\usepackage{vcell} % for vertical alignment in tables
% Brand Design RPTU including RedHatText:
\RequirePackage{fontspec}
\setmainfont[ExternalLocation=./style-eit-latex/RedHatFont/fonts/proportional/static/ttf/]{RedHatText-Regular}[%
Extension = .ttf,
BoldFont = RedHatText-Bold, % default Bold Font
ItalicFont = RedHatText-Italic, % default Italic Font
BoldItalicFont = RedHatText-BoldItalic, % default Bold Italic Font
FontFace={md}{n}{Font=RedHatText-Medium}, % Medium Font
FontFace={md}{it}{Font=RedHatText-MediumItalic}, % Medium Italic Font
FontFace={li}{n}{Font=RedHatText-Light}, % Light Font
FontFace={li}{it}{Font=RedHatText-LightItalic}, % Light Italic Font
FontFace={bf}{n}{Font=RedHatText-Bold}, % Bold Font
FontFace={bf}{it}{Font=RedHatText-BoldItalic}]% % Bold Italic Font
% example for using custom FontFace:
% {\fontseries{md}\fontshape{n}\selectfont this is an example text for using the RedHatText Medium Font}
\titleformat{\section}{\LARGE\bf\color{rptuschwarz}}{\thesection}{1em}{}
\titleformat{\subsection}{\Large\bf\color{rptuschwarz}}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\large\bf\color{rptuschwarz}}{\thesubsubsection}{1em}{}
\titleformat{\paragraph}{\normalsize\bf\color{rptuschwarz}}{\theparagraph}{1em}{}
% Color definitions from RPTU Brand Manual version 2022-09
% https://www.startklar2023.de/fileadmin/startklar2023/Brand-Portal/220928_RPTU_Brand_Manual.pdf
\RequirePackage{color}
\definecolor{tuk-red}{RGB}{185,40,25}
\definecolor{tuk-blue}{RGB}{0,95,140}
\definecolor{tuk-coldgrey}{RGB}{130,140,150}
\definecolor{tuk-warmgrey}{RGB}{130,125,120}
\definecolor{tuk-black}{RGB}{0,0,0}
\definecolor{rptublaugrau}{RGB}{80,114,137}
\definecolor{rptugruengrau}{RGB}{119,182,186}
\definecolor{rptudunkelblau}{RGB}{4,44,88}
\definecolor{rptuhellblau}{RGB}{106,178,231}
\definecolor{rptudunkelgruen}{RGB}{0,107,107}
\definecolor{rptuhellgruen}{RGB}{38,208,124}
\definecolor{rptuviolett}{RGB}{76,53,117}
\definecolor{rptupink}{RGB}{209,56,150}
\definecolor{rpturot}{RGB}{227,27,76}
\definecolor{rptuorange}{RGB}{255,162,82}
\definecolor{rptuschwarz}{RGB}{0,0,0}
\definecolor{rptuweiss}{RGB}{255,255,255}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Command Definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TODO command:
\newcommand{\todo}[1]{{\bf \color{tuk-red}TODO: [{#1}]}}
\newcommand{\todo}[1]{{\bf \color{rpturot}TODO: [{#1}]}}
% Non-breakable hyphen
\newcommand{\hyph}{\mbox{-}}
......@@ -164,17 +179,17 @@
% Titel generation
\newcommand*{\subtitle}[1]{\gdef\@subtitle{#1}}
\newcommand*{\@subtitle}{}
\renewcommand*{\maketitle}{%
\thispagestyle{frontpage}
\vspace{2.5cm}
{\noindent\Huge\color{tuk-blue}\ptc\@title\unskip\strut\par}
{\noindent\LARGE\color{tuk-black}\ptc\@subtitle\unskip\strut\par}
{\noindent\pt\color{tuk-coldgrey}\itshape\@author\unskip\strut\par}
\vspace{1cm}
}
%\newcommand*{\subtitle}[1]{\gdef\@subtitle{#1}}
%\newcommand*{\@subtitle}{}
%\renewcommand*{\maketitle}{%
% \thispagestyle{frontpage}
% \vspace{2.5cm}
% {\noindent\Huge\bf\color{rptuschwarz}\@title\unskip\strut\par}
% {\noindent\LARGE\bf\color{rptuschwarz}\ptc\@subtitle\unskip\strut\par}
% {\noindent\color{rptuschwarz}\itshape\@author\unskip\strut\par}
% \vspace{1cm}
%}
% Provide \mail command that prints e-mail-adresses as <yyy@yyy.zz> and provides correct link
......
Copyright 2023 RPTU Kaiserslautern-Landau
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
# style-eit-latex
LaTeX style for the Department of Electrical and Computer Engineering, Technische Universität Kaiserslautern (TUK)
Changed LaTeX style for the Department of Electrical and Computer Engineering, RPTU Kaiserslautern-Landau
## Build
There is nothing to build right here in this repository. It is included as a submodule into the document templates where required.
However, if you really want to use it directly in your own documents, you can do so by including:
```
% for English documents (standard)
\usepackage{style-eit-latex/EIT}
```
or
```
% use [de] option for German documents
\usepackage[de]{style-eit-latex/EIT}
```
Additional option: [pt] for setting the standard font to PT Sans (sans serif)
```
## Known Dependencies
* texlive-science
* texlive-fonts-extra
* submodule RedHatText - Fonts
* clone with `git clone --recursive` if font download is desired
* LaTeX packages
* texlive-science
## Contributors:
* Christian De Schryver <schryver@eit.uni-kl.de>
* Matthias Jung <jungma@eit.uni-kl.de>
* Christian De Schryver <mailto:christian.deschryver@rptu.de>
* Matthias Jung <mailto:jungma@eit.uni-kl.de>
* Julian Puderbach
Subproject commit 10481873674cde7674bcf85f3ffc4dd1cd8dc04b
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.