-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c6e8868
Showing
6 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
|
||
project(eem NONE) | ||
include(UseLATEX) | ||
|
||
add_custom_target( | ||
writegitid ALL | ||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/write-gitid.sh | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} | ||
) | ||
|
||
set(IMAGES | ||
img/Logo.pdf | ||
) | ||
|
||
add_latex_document(formelsammlung.tex DEFAULT_PDF | ||
IMAGES ${IMAGES} | ||
DEPENDS writegitid | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Formelsammlung Template | ||
## Formelsammlung für Latex4ei | ||
### Links | ||
|
||
Public Version: [latex4ei.de](http://latex4ei.de) | ||
|
||
## Written by | ||
- Hofbauer, Markus | ||
- Meyer, Kevin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
# clean build and output files in main folder | ||
|
||
set -eu | ||
|
||
rm -rf *.aux *.log *.out formelsammlung.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
% Formelsammlung ... | ||
% | ||
% Geschrieben im SS 2014 an der TU München | ||
% von Markus Hofbauer und Kevin Meyer für LaTeX4EI (latex4ei.de) | ||
% Kontakt: [email protected] oder via Kontaktformular auf http://latex4ei.de | ||
|
||
% Dokumenteinstellungen | ||
% ====================================================================== | ||
|
||
|
||
% Dokumentklasse (Schriftgröße 6, DIN A4, Artikel) | ||
\documentclass[fs, footer]{latex4ei} | ||
|
||
\usepackage[european]{circuitikz} | ||
\usepackage{tabularx} | ||
\usepackage{multirow} | ||
\usetikzlibrary{arrows, calc, intersections} | ||
\usepackage{hyperref} | ||
|
||
% tabularx definition | ||
\newcolumntype{C}{>{\centering\arraybackslash}X} | ||
\newcolumntype{L}{@{\extracolsep\fill}X} | ||
|
||
% SI-Zahlen mit Komma als Dezimaltrenner | ||
\sisetup{locale=DE} | ||
\sisetup{range-phrase = \ldots} | ||
\sisetup{range-units = single} | ||
|
||
% SI-Einheiten | ||
\DeclareSIUnit \voltampere {VA} | ||
\DeclareSIUnit \var {Var} | ||
\DeclareSIUnit \newtonmeter {Nm} | ||
\DeclareSIUnit \voltsecond {Vs} | ||
\DeclareSIUnit \amperesecond {As} | ||
|
||
% Nicht neuen, sondern alten Vector benutzen | ||
\let\newvec = \vec | ||
\let\vec = \oldvec | ||
|
||
% Weitere Definitionen | ||
\renewcommand{\ggT}[1]{\ensuremath{\operatorname{ggT}\left\{#1\right\}}} | ||
|
||
% Eigener Inhalt für Center-Teil des Footers | ||
\fancyfoot[C]{von Markus Hofbauer und Kevin Meyer - Kontakt: \href{mailto:[email protected]}{\textit{[email protected]}}} | ||
|
||
% Dokumentbeginn | ||
% ====================================================================== | ||
\begin{document} | ||
|
||
\IfFileExists{git.id}{\input{git.id}}{} | ||
\ifdefined\HgRevision\fancyfoot[R]{Stand: \HgNiceDate \ (hg \HgRevision) \qquad \thepage}\fi | ||
|
||
% Aufteilung in Spalten | ||
\begin{multicols*}{4} | ||
\fstitle{Vorlage} | ||
|
||
\section{Inhalt} | ||
|
||
\end{multicols*} | ||
\end{document} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
# Write hd.id File | ||
|
||
Os=`uname -s` | ||
|
||
if [ "$Os" = "Darwin" ]; then | ||
DATEBIN=gdate | ||
else | ||
DATEBIN=date | ||
fi | ||
|
||
hg parent --template '\\def\\HgNode\{{node|short}}\n\\def\\HgDate\{{date|isodate}}\n\\def\\HgAuthor\{{author|person}}\n\\def\\HgRevision\{{rev}}\n' > hg.id | ||
hg parent --template '{date|isodate}' | xargs -I var_d $DATEBIN -d "var_d" +\\def\\HgNiceDate{%-d.\ %B\ %Y\ um\ %H:%M\ Uhr} >> hg.id |