cw (06/19/82)
Enclosed are a set of recipe macros for the formatting of recipes. Use them in a command like nroff -Tlp recipe.macros recipe.to.be.formatted >printfile If you plan to submit to the net, run the output through col col -bx <printfile >nicefile There are some useful troff characters for phototypeset recipes. \(14 = 1/4 \(12 = 1/2 \(34 = 3/4 \(de = degree mark (little raised circle) \(13 = 1/3 Can't remember if these really exist--experiment. \(23 = 2/3 Use these because they look nicer on typeset output and reasonable on typed output. Charles .\" These macros are used to build RECIPES. .\" .\" Macro ST takes as argument a section title and skips to a new page .\" for that section. .\" .de ST .\" .1C .SK .sp 8 .nr Hu 1 .nr Hc 1 .ps 18 .HU "\\$1" .ps 10 .sp 3 .\" .2C .. .\" .\" Macro RT takes as its single argument the title of a recipe .\" enclosed in double quote marks ("). This macro should always .\" be invoked at the beginning of a recipe. .\" .de RT .ne 8 .nr Hu 1 .nr Hc 1 .sp 1 .ps 14 .HU "\\$1" .ps 10 .. .\" .\" Macro IB should always be used to begin a list of ingredients. .\" There may be more than one such list in a recipe. .\" The optional argument gives a subhead for the list of ingredients, .\" for example Ingredients For Gravy. .\" .de IB .ne 4 .nr Hu 2 .HU "Ingredients \\$1" .VL 12 "" 1 .. .\" .\" Macro IE should always be used to end a list of ingredients. .\" .de IE .LE 1 .. .\" .\" Macro IN takes as arguments a quantity of some ingredient, .\" a measure for the ingredient (e.g., tsp, Tbl, cup), and .\" a description of the ingredient. If any of the arguments includes .\" a space, the argument should appear in quotes. .\" .de IN .LI "\\$1 \\$2" \\$3 .. .\" Macro CM should be used to begin a section of cooking .\" instructions. There may be more than one such section. .\" .de CM .ne 4 .nr Hu 2 .HU "Method" .. .\" .\" Macro RN should be used to begin a section of notes on .\" the recipe (e.g., serving suggestions, wine notes). .\" There may be more than one such section. .\" .de RN .ne 3 .nr Hu 2 .HU "Notes" .. .\" .\" Global settings .\" .PH .PF "''-\\\\nP-''"