From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Malone Subject: Background color for literal examples in LaTeX export Date: Fri, 14 Oct 2011 11:14:07 -0700 Message-ID: Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REmid-0001OV-0p for emacs-orgmode@gnu.org; Fri, 14 Oct 2011 14:42:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REmib-0001ub-U0 for emacs-orgmode@gnu.org; Fri, 14 Oct 2011 14:42:54 -0400 Received: from hunan.ucolick.org ([128.114.23.233]:40880 helo=smtp.ucolick.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REmib-0001uK-Lp for emacs-orgmode@gnu.org; Fri, 14 Oct 2011 14:42:53 -0400 Received: from smtp.ucolick.org (localhost [127.0.0.1]) by smtp.ucolick.org (Postfix) with ESMTP id 3945A2746 for ; Fri, 14 Oct 2011 11:14:08 -0700 (PDT) Received: from maudib.ucolick.org (maudib.ucolick.org [128.114.22.198]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: cmalone@ucolick.org) by smtp.ucolick.org (Postfix) with ESMTP id 35FBE2706 for ; Fri, 14 Oct 2011 11:14:08 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs orgmode Hi all, I would like to include some lines in an example block and upon LaTeX = export give the block a colored background, analogous to HTML export. = For src blocks, this is easy using =3Dlistings=3D, but the lines I want = to include are not necessarily source code. By default an example block = is exported in a LaTeX =3Dverbatim=3D environment. There are LaTeX ways = of changing the verbatim environment to have a background and colors, = but I'm curious if there is a way to do this within org-mode with a flag = or different type of block? Another option would be to define a new language for the =3Dsrc=3D = block, which can then use the =3Dlstset=3D for listings, but this seems = like more work than just adding the LaTeX to renew the =3Dverbatim=3D = environment. Chris=