emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org, Mehul Sanghvi <mehul.sanghvi@gmail.com>
Subject: Re: beamer: centering list items
Date: Thu, 12 May 2011 08:16:09 +0100	[thread overview]
Message-ID: <87fwok1j9i.fsf@ucl.ac.uk> (raw)
In-Reply-To: <7267.1305160107@alphaville.americas.hpqcorp.net> (Nick Dokos's message of "Wed, 11 May 2011 20:28:27 -0400")

Nick Dokos <nicholas.dokos@hp.com> writes:

> 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 
>
> #+LaTeX_CLASS: beamer
>
> * foo
> #+LaTeX: \begin{center}
> one\\
> two three\\
> four five six
> #+LaTeX: \end{center}
>
> 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.

If you want the list as a whole centred, the way Nick suggests here,
taking up less of the width, you can put the list inside a column block
with a desired width.  There need not be more than one column block in a
given slide!

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.274.gd6aba)

      reply	other threads:[~2011-05-12  8:46 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
2011-05-12  7:16   ` Eric S Fraga [this message]

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=87fwok1j9i.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=mehul.sanghvi@gmail.com \
    --cc=nicholas.dokos@hp.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).