summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xcookybooky/example/tex/Complete_Recipe.tex
blob: 195b27d1be888e2202db3690f28d02244510fc42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
% Complete recipe example
\begin{recipe}
[% 
    preparationtime = {\unit[1]{h}},
    bakingtime={\unit[1]{h}},
    bakingtemperature={\protect\bakingtemperature{
        fanoven=\unit[230]{\textcelcius},
        topbottomheat=\unit[195]{°C},
        topheat=\unit[195]{°C},
        gasstove=Level 2}},
    portion = {\portion{5-6}},
    calory={\unit[3]{kJ}},
    source = {Somebody you used know}
]
{Test Recipe}
    
    \graph
    {% pictures
        small=pic/glass,     % small picture
        big=pic/ingredients  % big picture
    }
    
    \introduction{%
        \blindtext
    }
    
    \ingredients{%
        2 bar & Dark Chocolate (above \unit[70]{\%})\\
        3 & Eggs\\
        \unit[200]{ml} & Cream\\
        40 g & Sugar\\
        50 g & Butter
    }
    
    \preparation{%
        \step \blindtext
        \step \blindtext
        \step \blindtext
    }
    
    \suggestion[Headline]
    {%
        \blindtext
    }
    
    \suggestion{%
        \blindtext
    }
    
    \hint{%
        Enjoy typesetting recipes with {\textbf{\Large\LaTeX}} and {\textbf{\Large xcookybooky!}}
    }
    
\end{recipe}