Hello,

I am trying to set the default height (or width) of all pictures for my Beamer slides (ox-beamer) for a single file. How can I do it?

I am currently trying this:


#+begin_src org

#+BIND: org-latex-image-default-width 0.5\textwidth
#+property: :latex-image-default-width 0.6\regheight

* Test

** Slide                                                            :B_block:
:PROPERTIES:
:BEAMER_env: block
:END:

#+name: testing
#+caption: this figure
[[file:../some.png]]

#+begin_src emacs-lisp
  (org-version)
#+end_src

#+RESULTS:
: 9.5.2

#+begin_src emacs-lisp
  (emacs-version)
#+end_src

#+RESULTS:
: GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6)
:  of 2022-04-20

#+end_src

and I get this
#+begin_src latex
% Created 2022-05-19 Thu 19:12
% Intended LaTeX compiler: pdflatex
\documentclass[presentation]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\usetheme{default}
\date{\today}
\title{}
\hypersetup{
 pdfauthor={},
 pdftitle={},
 pdfkeywords={},
 pdfsubject={},
 pdfcreator={Emacs 28.1 (Org mode 9.5.2)},
 pdflang={English}}
\begin{document}

\begin{frame}{Outline}
\tableofcontents
\end{frame}


\begin{frame}[label={sec:orgaf83f29},fragile]{Test}
 \begin{block}{Slide}
\begin{figure}[htbp]
\centering
\includegraphics{../some.png}
\caption{\label{fig:orga0f8614}this figure}
\end{figure}

\begin{verbatim}
(org-version)
\end{verbatim}

\begin{verbatim}
(emacs-version)
\end{verbatim}
\end{block}
\end{frame}
\end{document}
#+end_src


-------------------------------------------------
This free account was provided by VFEmail.net - report spam to ab...@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!

Reply via email to