From: edgar@openmail.cc
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Default attributes for images in beamer export
Date: Fri, 20 May 2022 20:18:35 +0000 [thread overview]
Message-ID: <20220520201835.Horde.9fWKO5bXYY8T6ryLJUOt_2V@www.vfemail.net> (raw)
On 2022-05-20 19:50, edgar@openmail.cc wrote:
> On 2022-05-19 18:29, Eric S Fraga wrote:
>> On Thursday, 19 May 2022 at 17:17, wrote:
>>> #+BIND: org-latex-image-default-width 0.5\textwidth
>>
>> Try
>>
>> #+BIND: org-latex-image-default-width "0.5\\textwidth"
>>
>> and make sure org-export-allow-bind-keywords is set to t.
>
> Oh, ok! That works. Thank you!
Actually, if I have this (The =org-latex-image-default-option= is
applied everywhere, but =org-latex-image-default-width= is not):
#+begin_src org
* Example
#+attr_latex: :height 0.5\regheight
file:example.png
file:example.png
* Configuration :ARCHIVE:noexport:
#+BIND: org-latex-image-default-width "0.98\\textwidth"
#+BIND: org-latex-image-default-height "\\regheight"
#+BIND: org-latex-image-default-option "keepaspectratio"
#+end_src
#+caption: Excerpt of results when exporting with Beamer LaTeX
#+begin_latex
\begin{frame}[label={sec:org22d94b4}]{Example}
\begin{center}
\includegraphics[keepaspectratio,height=0.5\regheight]{example.png}
\end{center}
\begin{center}
\includegraphics[keepaspectratio,width=0.98\textwidth,height=\regheight]{example.png}
\end{center}
\end{frame}
#+end_latex
But I was expecting
#+caption: Excerpt of results when exporting with Beamer LaTeX
#+begin_latex
\begin{frame}[label={sec:org22d94b4}]{Example}
\begin{center}
\includegraphics[keepaspectratio,width=0.98\textwidth,height=0.5\regheight]{example.png}
\end{center}
\begin{center}
\includegraphics[keepaspectratio,width=0.98\textwidth,height=\regheight]{example.png}
\end{center}
\end{frame}
#+end_latex
Is this the expected behaviour? Thanks again :) .
-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!
next reply other threads:[~2022-05-20 20:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 20:18 edgar [this message]
2022-05-23 9:06 ` Default attributes for images in beamer export Eric S Fraga
2022-05-23 10:59 ` Timothy
2022-05-24 11:10 ` edgar
-- strict thread matches above, loose matches on Subject: below --
2022-05-19 17:17 edgar
2022-05-19 18:29 ` Eric S Fraga
2022-05-20 19:50 ` edgar
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=20220520201835.Horde.9fWKO5bXYY8T6ryLJUOt_2V@www.vfemail.net \
--to=edgar@openmail.cc \
--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).