Add recipe template (WIP)

This commit is contained in:
Joel von der Weid 2023-05-26 12:51:29 +02:00
parent 64f65acf1e
commit 617e61aa98

63
recipe/recipe.tex Normal file
View File

@ -0,0 +1,63 @@
%++++++++++++++++++++++++++++++++++++++++
\documentclass[a4paper,14pt]{memoir}
\usepackage{newfloat,parskip,tabularx,amsmath,graphicx}
\usepackage[dvipsnames]{xcolor}
\usepackage[margin=2.5cm,a4paper]{geometry}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\makeatletter
\newcommand\BIG{\@setfontsize\Huge{35.83}{47}}
\makeatother
\pagestyle{empty}
% Create title commands
\newcommand\persons[1]{\renewcommand\printpersons{#1}}
\newcommand\printpersons{}
\renewcommand{\maketitle}{
\vspace*{-0.5cm}
\begin{center}
\makeatletter
\BIG{\textbf{\@title}}
\makeatother
\begin{tabularx}
\end{tabularx}
\end{center}
}
\graphicspath{{img/}}
\setlength{\parindent}{0pt} % Remove alinea
%++++++++++++++++++++++++++++++++++++++++
\title{Mousse au chocolat}
\persons{4}
\begin{document}
\section*{Section}
This is a section.
%\begin{figure}[ht!]
%\center
%\includegraphics[width=0.95\textwidth]{schema}
%\caption{Schema relationnel de la base de données}
%\label{fig:schema}
%\end{figure}
\subsection*{Subsection}
\subsubsection*{Subsubsection}
\end{document}