emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Mehul Sanghvi <mehul.sanghvi@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: beamer: centering list items
Date: Wed, 11 May 2011 20:28:27 -0400	[thread overview]
Message-ID: <7267.1305160107@alphaville.americas.hpqcorp.net> (raw)
In-Reply-To: Message from Mehul Sanghvi <mehul.sanghvi@gmail.com> of "Wed, 11 May 2011 19:25:43 EDT." <BANLkTimt3moWEejfgvdbi17VA-YnS18+2w@mail.gmail.com>

Mehul Sanghvi <mehul.sanghvi@gmail.com> wrote:

> I would like to center the list items that I have in my presentation.
> How would I do that ?

Vertically? I think that's what you get by default (at least that's what I get).

Horizontally? Each list item centered? I hope not - it's going to look ugly.
You can do something like this 

--8<---------------cut here---------------start------------->8---
#+LaTeX_CLASS: beamer

* foo
#+LaTeX: \begin{center}
one\\
two three\\
four five six
#+LaTeX: \end{center}
--8<---------------cut here---------------end--------------->8---

and each line will be centered, but you cannot do this with a list:
I think the box that the list occupies takes up the whole width of the
slide, so centering it is a no-op.

Or perhaps you want the whole box indented so that the items are closer
to the center of the slide (but still left-aligned)? I think you can do
that by playing with list parameters in LaTeX, but I don't have my
references handy and don't know how to do it off the top of my head.

> Is that a LaTeX thing or can it be done from within org-mode/beamer ?
> 

The former, probably.

Nick

  reply	other threads:[~2011-05-12  0:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11 23:25 beamer: centering list items Mehul Sanghvi
2011-05-12  0:28 ` Nick Dokos [this message]
2011-05-12  7:16   ` Eric S Fraga

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7267.1305160107@alphaville.americas.hpqcorp.net \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mehul.sanghvi@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).