From: Julius Dittmar <Julius.Dittmar@gmx.de>
To: emacs-orgmode@gnu.org
Subject: Re: Placement of \makeatletter with \beamer@frametextheight
Date: Thu, 29 Nov 2018 09:13:59 +0100 [thread overview]
Message-ID: <7f1382cc-70a3-7f6f-7366-a42a64fd4026@gmx.de> (raw)
In-Reply-To: <87y39cjqt7.fsf@hornfels.zedat.fu-berlin.de>
Hi Loris,
I don't know beamer enough to propose an elegant solution. Nonetheless I
have ideas what might go wrong here.
Am 29.11.18 um 08:17 schrieb Loris Bennett:
>> #+latex_header: \makeatletter\let\mytextheight\beamer@frametexheight\makeatother
>> #+attr_latex: :height 0.75\mytextheight
First, \let copies the at-the-moment-of-definition version of
\beamer@frametexheight to \mytextheight. This happens in the preamble.
I expect beamer to set up things like frame height at the begin of the
document (exactly the \begin{document} line), not earlier. Thus at the
point of that \let, that length isn't what you want yet.
Solution to this:
#+begin_export latex
\makeatletter...
#+end_export
Second, \let creates a macro whereas it then is used as a length for the
figure. I doubt that is possible.
If that's the reason, you might try
#+begin_export latex
\newlength\mytextheight
\makeatletter
\setlength\mytextheight{\beamer@frametexheight}
\makeatother
#+end_export
Perhaps this gives you a starting point to further play with it.
HTH,
Julius
next prev parent reply other threads:[~2018-11-29 8:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-28 15:09 Placement of \makeatletter with \beamer@frametextheight Loris Bennett
2018-11-28 15:37 ` Eric S Fraga
2018-11-29 7:17 ` Loris Bennett
2018-11-29 8:13 ` Julius Dittmar [this message]
2018-11-29 8:38 ` Julius Dittmar
2018-11-29 9:26 ` Eric S Fraga
2018-11-29 13:07 ` Loris Bennett
2018-11-29 13:24 ` Gustavo Barros
2018-11-29 13:41 ` Joost Kremers
2018-11-29 15:12 ` Loris Bennett
2018-11-29 17:50 ` Eric S Fraga
2018-11-29 13:47 ` Julius Müller
2018-11-30 7:13 ` Loris Bennett
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=7f1382cc-70a3-7f6f-7366-a42a64fd4026@gmx.de \
--to=julius.dittmar@gmx.de \
--cc=emacs-orgmode@gnu.org \
/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).