From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: 2-column mode for many cooking recipes Date: Wed, 28 Feb 2018 12:01:18 +0000 Message-ID: <87inahcohd.fsf@gmail.com> References: <87606ho2sa.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er0QP-0004CN-Nj for emacs-orgmode@gnu.org; Wed, 28 Feb 2018 07:01:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er0QF-0004Mi-HE for emacs-orgmode@gnu.org; Wed, 28 Feb 2018 07:01:32 -0500 Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:32793) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1er0QF-0004KB-8U for emacs-orgmode@gnu.org; Wed, 28 Feb 2018 07:01:23 -0500 Received: by mail-wr0-x22a.google.com with SMTP id v18so1488542wrv.0 for ; Wed, 28 Feb 2018 04:01:21 -0800 (PST) In-Reply-To: <87606ho2sa.fsf@skimble.plus.com> (Sharon Kimble's message of "Wed, 28 Feb 2018 09:56:53 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Sharon Kimble Cc: org-mode-email --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain On Wednesday, 28 Feb 2018 at 09:56, Sharon Kimble wrote: > I have this as a recipe - [...] > How can I have the ingredients in a left-most column and the method in a > right-most column please? So that everything below the index entries is > in 2-column mode which ends after the citation. And it can then be > renewed below the next index entries of the next entry, ad infinitum. > > This is for an org-mode document that is exported to latex and built > into a pdf file. You could use special blocks (section 12.10.10 of org manual). See attached example for your recipe. Does require LaTeX magic... --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename=recipe.org #+title: Recipes #+author: Professor Eric S Fraga #+macro: lastchange 2018.02.26 11:14 #+options: toc:nil num:nil * Recipes #+begin_export latex \definecolor{verypaleblue}{rgb}{0.95,0.95,1} \makeatletter\newenvironment{ingredients}{\begin{lrbox}{\@tempboxa}\begin{minipage}{0.3\textwidth}}{\end{minipage}\end{lrbox}\colorbox{verypaleblue}{\usebox{\@tempboxa}}}\makeatother \makeatletter\newenvironment{steps}{\begin{lrbox}{\@tempboxa}\begin{minipage}{0.6\textwidth}\centering}{\end{minipage}\end{lrbox}\usebox{\@tempboxa}}\makeatother #+end_export ** Date Bread #+begin_ingredients /12 ounces stoned dates/\\ /1 teaspoonful bicarbonate of soda/\\ /1 cupful boiling water/\\ /4 ounces margarine/\\ /1 egg/\\ /2 cups flour/\\ /$\frac{1}{2}$ cup sugar/\\ /pinch of salt/ #+end_ingredients #+begin_steps - Cut dates into pieces, shake soda over the dates, and pour water over. - Add margarine cut into small pieces and stir well. - Break egg into mixture, then add sugar and flour. - Divide into two loaf tins and bake 90 minutes in moderate oven, Regulo 4. #+end_steps --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-191-g90607d --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWpaaDgAKCRDIkZPY//z2 fV85AJ4ulRYR0JSd8p7m5mh08ujVmTqsYwCgk7GWAYjJB0icToWCLWiI8wAMbjo= =CPAF -----END PGP SIGNATURE----- --==-=-=--