From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [babel] Environment around exported results Date: Tue, 21 Sep 2010 09:44:39 +0200 Message-ID: <87ocbrlevs.fsf@mundaneum.com> References: <87zkvhoh18.fsf@mundaneum.com> <87fwx5c98w.fsf@gmail.com> <87sk14p6y6.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Eric, S=C3=A9bastien Vauban wrote: > "Eric Schulte" wrote: >>> Would you mind creating an LaTeX environment around the =3Dresults=3D b= lock, >>> so that we could have the code colorized (via listings or Minted), and >>> clearly distinguish the results, if we want so. >>> >>> Having an environment would allow one to use non-proportional font for = the >>> results, or a shadowed background, or... >> >> Would such an environment be in addition too or in place of wrapping >> results in the example environment? > > I would think of something like this: > > \begin{orgresults} > <... results block ...> > \end{orgresults} > > so that one can customize the =3Dorgresults=3D environment in LaTeX to ge= t a > colored background, another font, etc. > > >> What would you suggest for tabular results? > > Nothing different for tables: just the same plain default environment aro= und > the results part. > > >> One very nice property of the current setup is that it relies solely on >> vanilla Org-mode for export features. If the example export of Org-mode >> allowed some form of customization through a customizable div class or >> latex environment would that be sufficient? > > The name of the environment could be in a variable, yes. > > But please note the above request can come out of a misunderstanding or p= oor > knowledge of already existing parametrization of Org-Babel. Put me back on > tracks if needed... To illustrate the output I can currently get (and its corresponding source,= in "vis-=C3=A0-vis"), go and see http://www.mygooglest.com/sva/ob-exported-res= ults.png. What I would like, to improve readability, is to be able to put a light gre= en background for all the generated results, by customizing an added environme= nt that has been put around the results block. Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode