emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-reveal questions


From: Matt Price
Subject: Re: [O] org-reveal questions
Date: Fri, 23 Oct 2015 12:08:17 -0400



On Fri, Oct 23, 2015 at 5:20 AM, Xebar Saram <address@hidden> wrote:

On Fri, Oct 23, 2015 at 12:09 PM, Fabrice Popineau <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]