Skip to content

Instantly share code, notes, and snippets.

@idmillington
Created December 6, 2013 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save idmillington/7827067 to your computer and use it in GitHub Desktop.
Save idmillington/7827067 to your computer and use it in GitHub Desktop.
Minimal example of Plain TeX recipe, with rules that are too large.
\def\reciperule{
\vskip0.5em\hrule\vskip0.5em
}
\def\beginrecipe{
\par
\begingroup
\leftskip=\baselineskip
\multiply\leftskip by 2
\rightskip=\leftskip
\parindent=-\baselineskip
\parfillskip=0pt plus 1fil
\reciperule
}
\def\endrecipe{
\par
\reciperule
\endgroup
}
\parindent=\baselineskip
Lorem ipsum dolor sit amet, est no molestiae abhorreant. Pro ei
scripta labores percipit, per te alterum reformidans. Ut dicta exerci
usu, ei principes euripidiqs vis. Vis ad vitae postea alienum.
\beginrecipe
{\bf Blonde roux}
2 tbsp of butter.
2 tbsp of flour.
Melt the butter in a pan and add the flour.
Cook the flour without browning for 2 minutes, stirring with a whisk.
\endrecipe
\noindent
Nobis dicant admodum no vix, mei ad timeam eligendi. Eos ea gubergren
concludaturque. Ea mea alii illud insolens, sea nobis qualisque
scribentur id, at his alii justo munere. Et meis mollis sit, wisi
laudem legimus nec te.
\end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment