From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: beamer: centering list items Date: Thu, 12 May 2011 08:16:09 +0100 Message-ID: <87fwok1j9i.fsf@ucl.ac.uk> References: <7267.1305160107@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKRWy-0001Q4-So for emacs-orgmode@gnu.org; Thu, 12 May 2011 04:46:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QKRWx-0007DF-TD for emacs-orgmode@gnu.org; Thu, 12 May 2011 04:46:00 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:32985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKRWx-0007Ct-Ow for emacs-orgmode@gnu.org; Thu, 12 May 2011 04:45:59 -0400 In-Reply-To: <7267.1305160107@alphaville.americas.hpqcorp.net> (Nick Dokos's message of "Wed, 11 May 2011 20:28:27 -0400") 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, Mehul Sanghvi Nick Dokos writes: > Mehul Sanghvi 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)