[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Default attributes for images in beamer export
From: |
edgar |
Subject: |
Re: Default attributes for images in beamer export |
Date: |
Fri, 20 May 2022 20:18:35 +0000 |
User-agent: |
Horde Application Framework 5 |
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!