Add latex support
This commit is contained in:
93
cookbook.tex
Normal file
93
cookbook.tex
Normal file
@ -0,0 +1,93 @@
|
||||
\documentclass[%
|
||||
a4paper,
|
||||
%twoside,
|
||||
11pt
|
||||
]{article}
|
||||
|
||||
% encoding, font, language
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[utf8x]{inputenc}
|
||||
\usepackage{lmodern}
|
||||
\usepackage[ngerman, english]{babel}
|
||||
|
||||
\usepackage{nicefrac}
|
||||
|
||||
\usepackage[
|
||||
handwritten,
|
||||
nowarnings,
|
||||
%myconfig
|
||||
]
|
||||
{xcookybooky}
|
||||
|
||||
\usepackage{blindtext} % only needed for generating test text
|
||||
|
||||
\DeclareRobustCommand{\textcelcius}{\ensuremath{^{\circ}\mathrm{C}}}
|
||||
|
||||
\renewcommand{\step}
|
||||
{%
|
||||
\stepcounter{step}%
|
||||
\lettrine
|
||||
[%
|
||||
lines=2,
|
||||
lhang=0, % space into margin, value between 0 and 1
|
||||
loversize=0.15, % enlarges the height of the capital
|
||||
slope=0em,
|
||||
findent=1em, % gap between capital and intended text
|
||||
nindent=0em % shifts all intended lines, begining with the second line
|
||||
]{\thestep}{}%
|
||||
}
|
||||
|
||||
\setcounter{secnumdepth}{1}
|
||||
\renewcommand*{\recipesection}[2][]
|
||||
{%
|
||||
\subsection[#1]{#2}
|
||||
}
|
||||
\renewcommand{\subsectionmark}[1]
|
||||
{% no implementation to display the section name instead
|
||||
}
|
||||
|
||||
|
||||
\usepackage{hyperref} % must be the last package
|
||||
\hypersetup{%
|
||||
pdfauthor = {Sven Harder},
|
||||
pdftitle = {Example Recipes for xcookybooky},
|
||||
pdfsubject = {Recipes},
|
||||
pdfkeywords = {example, recipes, cookbook, xcookybooky},
|
||||
pdfstartview = {FitV},
|
||||
pdfview = {FitH},
|
||||
pdfpagemode = {UseNone}, % Options; UseNone, UseOutlines
|
||||
bookmarksopen = {true},
|
||||
pdfpagetransition = {Glitter},
|
||||
colorlinks = {true},
|
||||
linkcolor = {black},
|
||||
urlcolor = {blue},
|
||||
citecolor = {black},
|
||||
filecolor = {black},
|
||||
}
|
||||
|
||||
\hbadness=10000 % Ignore underfull boxes
|
||||
|
||||
\begin{document}
|
||||
|
||||
\title{DIE WG - Das Kochbuch}
|
||||
\author{Johannes \& Felix Schäfer \\ \href{mailto:jojo@diewg.sexy}{jojo@diewg.sexy}}
|
||||
\maketitle
|
||||
|
||||
\begin{abstract}
|
||||
\noindent Was hier folgt ist unsere wilde Rezeptesammlung - ein kleines bisschen Kochen mit Karg, eine Prise Französische Küche, und dort ein Ausflug in die württembergische Küche - und zu guter Letzt darf auch ein bisschen American BBQ nicht fehlen.
|
||||
\end{abstract}
|
||||
|
||||
\tableofcontents
|
||||
|
||||
\vspace{5em}
|
||||
|
||||
\section{Schwäbische Küche}
|
||||
Und los geht mit der guten Schwäbischen Küche
|
||||
|
||||
\include{rezepte/maultaschen}
|
||||
|
||||
\section{Französische Küche}
|
||||
|
||||
\include{rezepte/croissants}
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user