From: Xebar Saram <zeltakc@gmail.com>
To: Matt Price <moptop99@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: org-reveal questions
Date: Thu, 3 Dec 2015 11:10:37 +0200 [thread overview]
Message-ID: <CAOQHXPqTo6W5bGo=aEfX1s0Qw0fwFkrGPDN+0sTsibuwaEOdLw@mail.gmail.com> (raw)
In-Reply-To: <CAN_Dec9YEjeG1Z0F5QLsjJOh8-ZdTXXTZWSA6SavOLSfqzLTMg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]
Thx matt
i have this code snippet in my custom css working for the whole document
/* Align Slides Left */
.reveal p {text-align: left; }
this works well in exporting all slide left aligned. could one somehow
integrate in the same css file another css statement for centered text and
thus call this for a specific slide (org header) or as eric suggsted using
the #+ATTR_HTML: :class before a specific line?
thanks so much
Z
On Sun, Nov 22, 2015 at 11:58 PM, Matt Price <moptop99@gmail.com> wrote:
>
>
> On Sun, Nov 22, 2015 at 11:47 AM, Xebar Saram <zeltakc@gmail.com> wrote:
>
>> Thanks so much Eric
>>
>> this works great!
>>
>> but i found that i have to prepend the #+ATTR_HTML: :class left before
>> every line. is there a way to make it work for the whole section (under the
>> header) or for the whole document?
>>
>
> If you want it to work for the whole document, you probalby want to
> replace
>
> p.left {...}
>
> simply with p {}
>
> To do it for a whole section -- I think you mean a whole slide? -- I think
> you would want
>
> .left p {...}
>
> in your css file, and to add a property to the containing header like so:
>
> :PROPERTIES:
> :HTML_CONTAINER_CLASS: left
> :END:
>
> You can add a property easily with C-c C-x p
>
> HTH,
> Matt
>
>
[-- Attachment #2: Type: text/html, Size: 2578 bytes --]
next prev parent reply other threads:[~2015-12-03 9:10 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-23 5:16 org-reveal questions Xebar Saram
2015-10-23 6:18 ` Eric S Fraga
2015-10-23 6:45 ` Xebar Saram
2015-10-23 8:39 ` Eric S Fraga
2015-10-23 9:09 ` Fabrice Popineau
2015-10-23 9:20 ` Xebar Saram
2015-10-23 14:58 ` Matt Lundin
2015-10-23 16:08 ` Matt Price
2015-11-22 14:25 ` Xebar Saram
2015-11-22 15:50 ` Eric S Fraga
2015-11-22 16:47 ` Xebar Saram
2015-11-22 21:58 ` Matt Price
2015-11-23 2:55 ` John Hendy
2015-12-03 9:07 ` Xebar Saram
2015-12-04 14:55 ` John Hendy
2015-12-04 15:49 ` Xebar Saram
2015-12-04 18:52 ` John Hendy
2015-12-03 9:10 ` Xebar Saram [this message]
2015-10-23 13:27 ` Andreas Leha
2015-10-23 16:15 ` Matt Price
2015-10-25 20:46 ` Eric S Fraga
2015-10-25 22:01 ` Matt Price
2015-10-26 16:34 ` Matt Price
2015-10-27 14:41 ` Eric S Fraga
2015-10-26 15:43 ` Xebar Saram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOQHXPqTo6W5bGo=aEfX1s0Qw0fwFkrGPDN+0sTsibuwaEOdLw@mail.gmail.com' \
--to=zeltakc@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=moptop99@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.