Hi, the quickest way to diagnose is to make a minimal one slide presentation, 
export it to LaTeX and analyze from there. (IE post is here for us to take a 
look at)

Best PA
Enviado desde mi iPhone

> El 5 ago 2025, a las 12:54, Naresh Gurbuxani <naresh_gurbux...@hotmail.com> 
> escribió:
> 
> 
> For documentclasses article and beamer, I would like to use two
> different font sizes. I want to keep other settings in my init.el
> file.  This is my set up in init.el:
> 
> (require 'ox-latex)
> (setq org-latex-src-block-backend 'listings)
> (add-to-list 'org-latex-packages-alist '("" "listings"))
> (add-to-list 'org-latex-packages-alist '("" "color"))
> (setq org-latex-listings-options
>      '(("basicstyle" "\\fontfamily{lmtt}\\selectfont\\footnotesize")
>    ("keywordstyle" "\\color{blue}")
>    ("commentstyle" "\\color{olive}")
>    ("stringstyle" "\\color{purple}")
>    ("showspaces" "false")
>    ("showstringspaces" "false"))
>      )
> 
> For beamer, my org document has this setup:
> #+LATEX_HEADER: \lstset{basicstyle=\fontfamily{lmtt}\setfont\tiny}
> 
> This does not seem to have an effect.  Is it possible to use
> #+LATEX_HEADER: to override some of the settings in init.el?
> 
> Thanks,
> Naresh
> 

Reply via email to