Math & ScienceDerivatives in Beamer

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Derivatives in Beamer

Post by cgnieder »

This seems to be the same problem as the here: fontspec/mathspec ruins my parentheses with beamer. The solution outlined there works here as well:

Code: Select all

% arara: xelatex
\documentclass{beamer}

\AtBeginDocument{%
  \DeclareSymbolFont{pureletters}{T1}{lmss}{\mddefault}{it}%
  }

\begin{document}
\begin{frame}
\[
  f'(x).
\]
\end{frame}
\end{document}
AFAIK it is not a good idea to use fontenc with XeLaTeX.
site moderator & package author

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply