From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welle Subject: Re: org-reveal: content side by side Date: Tue, 13 Feb 2018 16:16:46 +0100 Message-ID: <87bmgsncm9.fsf@luisa.c0t0d0s0.de> References: <87lgg9c96y.fsf@luisa.c0t0d0s0.de> <876073h7d9.fsf@luisa.c0t0d0s0.de> <873725rrw7.fsf@wi.uni-muenster.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elcKD-0005lM-2c for emacs-orgmode@gnu.org; Tue, 13 Feb 2018 10:16:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elcK8-0003we-St for emacs-orgmode@gnu.org; Tue, 13 Feb 2018 10:16:53 -0500 Received: from mout.gmx.net ([212.227.15.15]:38471) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1elcK8-0003vK-IU for emacs-orgmode@gnu.org; Tue, 13 Feb 2018 10:16:48 -0500 Received: from stella.c0t0d0s0.de ([194.95.66.1]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M0xbD-1eWiIa0531-00v9Y5 for ; Tue, 13 Feb 2018 16:16:47 +0100 Received: from Stella (stella.c0t0d0s0.de [192.168.42.1]) by stella.c0t0d0s0.de (Postfix) with ESMTP id 5E610C446D for ; Tue, 13 Feb 2018 16:16:46 +0100 (CET) In-Reply-To: <873725rrw7.fsf@wi.uni-muenster.de> (Jens Lechtenboerger's message of "Tue, 13 Feb 2018 13:33:12 +0100") 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" To: emacs-orgmode@gnu.org Hello Jens, Jens Lechtenboerger writes: > On 2018-02-11, Michael Welle wrote: > >> Looks easy, eh? A header at the top, a footer at the bottom and a lot >> of space in between. In some cases, like in [1], I wanted content (e.g. >>

Ich...
OS/2 Warp 4

) to be centered horizontally and >> vertically between the footer and the header. > > I created emacs-reveal [0] for my own slides. Contents are centered jepp, I had a gander at that slides as well as at your slides for the OS course. Great stuff. > vertically (default for reveal.js). CSS with =E2=80=9Ctext-align: center= =E2=80=9D > can be used for horizontal alignment. > > The howto for emacs-reveal is available at [1]. First-level > headings are centered vertically and horizontally. I just added > slide 20 with horizontally centered text (underneath a heading, > which=E2=80=94as ugly hack=E2=80=94could just be a non-breaking space I g= uess). Well, maybe it's just me, but the headings do not look vertically centered. They jump up and down a lot while flipping through the slides. For slides with a lot of content the heading is a bit more to the top of the page, for slides with less content the heading 'sinks down' to the center of the page. If you look at page 20 the heading is just above the vertical middle of the slide, not at the top. That jumping of the headings is one of my main issues, I think it's not acceptable.=20 I can glue the headings to the top of the page (setting reveal-center to nil). But then I have trouble centering the content. I tried with putting in an empty
of a certain height. That works, for certain meanings of work. The trouble is finding the height, which also might change with changing resolution and content. I have the feeling that all that can be fixed with using flex layout. That means changing the CSS entirely, I think. But that is a lot of work. On the other hand, I'm not a CSS expert. > I hope that helps and would be happy to help more. (Responses may > be slow in the coming days, though.) No worries. Your help is much appreciated. Regards hmw