2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00

added MWE for title page

This commit is contained in:
Martin Thoma 2013-12-26 18:27:30 +01:00
parent 1efccc09d9
commit 79fe2dab2d
3 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,47 @@
\documentclass[a4paper,oneside,DIV15,BCOR12mm]{scrbook}
\usepackage{etoolbox}
\usepackage{amsmath,amssymb}% math symbols / fonts
\usepackage{mathtools} % \xRightarrow
\usepackage{nicefrac} % \nicefrac
\usepackage[utf8]{inputenc} % this is needed for umlauts
\usepackage[ngerman]{babel} % this is needed for umlauts
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
\usepackage[framed,amsmath,thmmarks,hyperref]{ntheorem}
\usepackage{framed}
\usepackage{marvosym}
\usepackage{makeidx} % for automatically generation of an index
\usepackage{xcolor}
\usepackage[bookmarks,bookmarksnumbered,hypertexnames=false,pdfpagelayout=OneColumn,colorlinks,hyperindex=false]{hyperref} % has to be after makeidx
\usepackage{enumitem}
\usepackage{tabto}
\usepackage{braket} % needed for \Set
\usepackage{csquotes} % \enquote{}
\usepackage{subfig} % multiple figures in one
\usepackage{parskip} % nicer paragraphs
\usepackage{xifthen} % \isempty
\usepackage{changepage} % for the adjustwidth environment
\usepackage{pst-solides3d}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{pgfplots}
\pgfplotsset{compat=1.7}
\usepackage[arrow, matrix, curve]{xy}
\usepackage{caption} % get newlines within captions
\usepackage{tikz} % draw
\usepackage{tikz-3dplot} % draw
\usepackage{tkz-fct} % draw
\usetikzlibrary{3d,calc,intersections,er,arrows,positioning,shapes.misc,patterns,fadings,decorations.pathreplacing}
\usepackage{tqft}
\usepackage{cleveref} % has to be after hyperref, ntheorem, amsthm
\usepackage{xspace} % for new commands; decides weather I want to insert a space after the command
\author{Siehe \href{http://tinyurl.com/GeoTopo}{tinyurl.com/GeoTopo}}
\title{Geometrie und Topologie\\
\vspace{10cm}
\includegraphics[width=0.9\linewidth]{figures/Torus.pdf}}
\usepackage{microtype}
\begin{document}
\pagenumbering{roman}
\setcounter{page}{1}
\maketitle
\end{document}

View file

@ -0,0 +1,14 @@
DOKUMENT = GeoTopo
make:
sketch figures/torus.sketch > figures/torus.tex
pdflatex $(DOKUMENT).tex -output-format=pdf # aux-Dateien für makeindex / makeglossaries
make clean
ebook:
latexml --dest=$(DOKUMENT).xml $(DOKUMENT).tex
latexmlpost -dest=$(DOKUMENT).html $(DOKUMENT).xml
ebook-convert $(DOKUMENT).html $(DOKUMENT).epub --language de --no-default-epub-cover
clean:
rm -rf $(TARGET) *.class *.html *.log *.aux *.out *.thm *.idx *.toc *.ind *.ilg figures/torus.tex *.glg *.glo *.gls *.ist *.xdy

View file

@ -0,0 +1,10 @@
def torus {
def n_segs 40
sweep [draw=black, fill=lightgray, fill opacity=0.75] {n_segs, rotate(360/n_segs, (0,0,0), [0,1,0])}
sweep {n_segs, rotate(360/n_segs, (1.5,0,0), [0,0,1])}
(2,0,0)
}
put { view((10,4,2)) } {{torus}}
global { language tikz }