From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: org-reveal questions Date: Fri, 23 Oct 2015 12:08:17 -0400 Message-ID: References: <87wpue5cq9.fsf@ucl.ac.uk> <8737x2ashh.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fb200cdff140522c7d166 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpetC-0008Kq-2f for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 12:08:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zpet8-0005qe-4g for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 12:08:22 -0400 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]:34272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpet7-0005qO-WF for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 12:08:18 -0400 Received: by iow1 with SMTP id 1so128794654iow.1 for ; Fri, 23 Oct 2015 09:08:17 -0700 (PDT) In-Reply-To: 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: Xebar Saram Cc: fabrice.popineau@centralesupelec.fr, org mode --001a113fb200cdff140522c7d166 Content-Type: text/plain; charset=UTF-8 On Fri, Oct 23, 2015 at 5:20 AM, Xebar Saram wrote: > > On Fri, Oct 23, 2015 at 12:09 PM, Fabrice Popineau < > fabrice.popineau@supelec.fr> wrote: > > how do i (for a specific slide) make all text not centered but rather left > aligned? > > I haven't been following this thread very lcosely, but hopefully this will help: org-reveal allows you to specify a local.css file (M-x customize-variable org-reveal-extra-css). I keep mine in ~/src/org-reveal/local.css, but you should choose a location that works for you. I use this file to define extra css classes for nededs that reveal doesn't met out of the box. This is a two step process. In your local.css, put something like this: .left p, .left ul, .left li { text-align:left; } and then in your org file: #+ATTR_HTML: :class left ** Slide Title some slide content ------------------------ I *think* this should work. If it doesn't, please reply and I'll try to help. > thx so much again > > --001a113fb200cdff140522c7d166 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Fri, Oct 23, 2015 at 5:20 AM, Xebar Saram <zeltakc@gmail.com>= ; wrote:

On Fri, = Oct 23, 2015 at 12:09 PM, Fabrice Popineau <fabrice.popineau@sup= elec.fr> wrote:
=
h= ow do i (for a specific slide) make all text not centered but rather left a= ligned?


I haven't been following this thread very lcos= ely, but hopefully this will help:
org-reveal allows you to s= pecify a local.css file (M-x customize-variable org-reveal-extra-css).=C2= =A0 I keep mine in ~/src/org-reveal/local.css, but you should choose a loca= tion that works for you.=C2=A0 I use this file to define extra css classes = for nededs that reveal doesn't met out of the box.=C2=A0

=
This is a two step process.=C2=A0 In your local.css, put something lik= e this:

.left p, .left ul, .left li {
text-= align:left;
}

and then in your org file:

=
#+ATTR_HTML: :class left
** Slide Title

some slide content

------------------------

I *t= hink* this should work.=C2=A0 If it doesn't, please reply and I'll = try to help.=C2=A0
=C2=A0
thx so much again


--001a113fb200cdff140522c7d166--