Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Initial Commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippVerpoort committed Mar 19, 2015
1 parent 9fb5e64 commit 454f7f6
Show file tree
Hide file tree
Showing 18 changed files with 1,561 additions and 2 deletions.
190 changes: 190 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
# Created by https://www.gitignore.io

### Linux ###
*~

# KDE directory preferences
.directory


### KDevelop4 ###
*.backup
*.kdev4
.kdev4/


### vim ###
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~


### TeX ###
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc

## Intermediate documents:
*.dvi
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.brf
*.run.xml

## Build tool auxiliary files:
*.fdb_latexmk
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync

## Auxiliary and intermediate files from other packages:

# algorithms
*.alg
*.loa

# amsthm
*.thm

# beamer
*.nav
*.snm
*.vrb

#(e)ledmac/(e)ledpar
*.end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R

# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls

# hyperref
*.brf

# listings
*.lol

# makeidx
*.idx
*.ilg
*.ind
*.ist

# minitoc
*.maf
*.mtc
*.mtc0

# minted
*.pyg

# morewrites
*.mw

# nomencl
*.nlo

# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd

# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/

# todonotes
*.tdo

# xindy
*.xdy


### LaTeX ###
*.acn
*.acr
*.alg
*.aux
*.bbl
*.blg
*.dvi
*.fdb_latexmk
*.glg
*.glo
*.gls
*.idx
*.ilg
*.ind
*.ist
*.lof
*.log
*.lot
*.maf
*.mtc
*.mtc0
*.nav
*.nlo
*.out
*.pdfsync
*.ps
*.snm
*.synctex.gz
*.toc
*.vrb
*.xdy
*.tdo

### Windows ###
# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.PHONY: clean pdf

main.pdf: main.tex lit.bib $(shell find chap -type f) $(shell find fig -type f) $(shell find tab -type f) $(shell find include -type f)
pdflatex main.tex
bibtex main.aux
pdflatex main.tex
pdflatex main.tex

# needed for integration in vim-latex
pdf: main.pdf

clean:
rm *.aux *.log *.out *.bbl *.blg *.toc *.lof *.lot *.pdf
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
# thesisvorlage-latex
LaTeX-Vorlage für Abschlussarbeiten an der Fakultät für Physik am KIT
# Thesisvorlage für die Fakultät für Physik am KIT (v1.0.0)

The repository consists of only one branch (master). This thesis class is strongly connected to the [Praktikumsvorlage](https://github.com/fsphys/praktikum-protokollvorlage-latex/).

## Use the template
First, obtain a copy of the template. You have multiple possibilities:
* download the [most recent release of the template](https://github.com/fsphys/thesisvorlage-latex/releases),
* download a [development snapshot of the template](https://github.com/fsphys/thesisvorlage-latex/archive/master.zip) or
* clone this repository with git: <code>git clone https://github.com/fsphys/thesisvorlage-latex.git</code>.

Compile on the command line using <code>make main.pdf</code> or your favorite LaTeX editor, which will do something like the following for you:
* <code>pdflatex main.tex</code>
* <code>bibtex main.aux</code>
* <code>pdflatex main.tex</code>
* <code>pdflatex main.tex</code>

The template is known to be compatible with TeXLive 2012 and 2014.

## Contribute to the template

The preferred way is to fork the repository and send a pull request. You can send your contributions via e-mail to latexvorlage@fachschaft.physik.kit.edu .
4 changes: 4 additions & 0 deletions chap/appendix.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
\section{First Appendix Section}
Wonderful Appendix!

\lipsum[1-5]
1 change: 1 addition & 0 deletions chap/chapter1.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\lipsum[1-5] \cite{Dem10}
1 change: 1 addition & 0 deletions chap/chapter2.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\lipsum[1-20]
1 change: 1 addition & 0 deletions chap/chapter3.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\lipsum[1-10]
1 change: 1 addition & 0 deletions chap/chapter4.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\lipsum[1-5]
Empty file added fig/.keep
Empty file.
67 changes: 67 additions & 0 deletions include/cmds.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
% Simple Stuff
%\newcommand{\element}[3]{\makebox[\maxof{\widthof{$^{#2}$}}{\widthof{$^{#3}$}}][r]{$^{#3}_{\vphantom{#2}}$}\makebox[0px][r]{$_{#2}^{\vphantom{#3}}$}\textrm{#1}} %already defined in mhchem package (see \ce{})
%\newcommand{\celsius}{{}^\circ C} % already defined in siunitx package
%\newcommand{\angstrom}{\mathring{A}} % already defined in siunitx package
\renewcommand{\d}{\ensuremath{\text{d}}}
\renewcommand{\vec}[1]{\boldsymbol{#1}}

\newcommand{\op}[1]{\operatorname{#1}} % just an abbrev.
\newcommand{\NN}{\mathbb{N}} % or change it to \mathbb if you like it better
\newcommand{\RR}{\mathbb{R}}
\newcommand{\CC}{\mathbb{C}}
%\newcommand{\NN}{\mathbbm{N}} % or change it to \mathbb if you like it better
%\newcommand{\RR}{\mathbbm{R}}
%\newcommand{\CC}{\mathbbm{C}}





% Environments
\newcommand{\margtodo} {\marginpar{\textbf{\textcolor{kitcolor}{ToDo}}}{}}
\newcommand{\todo}[1] {{\textbf{\textcolor{kitcolor}{[\margtodo{}#1]}}}{}}
\newenvironment{deprecated}{\begin{color}{gray}}{\end{color}}

\newcommand{\mygraphics}[4]{\begin{figure}[#1]
\centering
\includegraphics[scale=#2]{./abb/#3.eps}
\caption{#4}
\label{fig:#3}
\end{figure}}

\newcommand{\mygraphicsrot}[4]{\begin{figure}[#1]
\centering
\includegraphics[angle=270,scale=#2]{./abb/#3.eps}
\caption{#4}
\label{fig:#3}
\end{figure}}

\newcommand{\mytable}[3]{\begin{table}[#1]
\centering
\caption{#3}
\include{./tab/#2}
\label{tab:#2}
\end{table}}

\newcommand{\arr}[2]{\begin{array}{#1}#2\end{array}}





% Nice commands for quantum mechanics
\newcommand{\pdb}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\ket}[1]{\left|#1\right\rangle}
\newcommand{\bra}[1]{\left\langle#1\right|}
\newcommand{\braket}[2]{\left\langle#1 \middle| #2\right\rangle}
\newcommand{\bratenket}[3]{\left\langle#1 \middle|\middle| #2 \middle|\middle| #3\right\rangle}
\newcommand{\anglemean}[1]{\left\langle #1 \right\rangle}
\newcommand{\norm}[1]{\left\lVert#1\right\rVert}
\newcommand{\neswarrows}{\text{\rotatebox[origin=c]{45}{$\rightleftarrows$}}}
\newcommand{\updownarrows}{\text{\rotatebox[origin=c]{90}{$\rightleftarrows$}}}
\newcommand{\downuparrows}{\text{\rotatebox[origin=c]{270}{$\rightleftarrows$}}}

% creation and annihilation operators
\newcommand{\cre}{c^\dagger}
\newcommand{\anh}{c^{\vphantom{\dagger}}}
\newcommand{\numb}{n^{\vphantom{\dagger}}}
Loading

0 comments on commit 454f7f6

Please sign in to comment.