Code: Select all
$m '(f) > 0$

Code: Select all
$m '(f) > 0$
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Code: Select all
\documentclass[professionalfont]{beamer}
\mode<presentation>
\usetheme{Warsaw}
\usetheme{CambridgeUS}
\begin{document}
\frame
{
\frametitle{Slide Title}
\textbf{Model:}
\vspace{0.05cm}
\begin{itemize}
\item Utility increases with consumption: $m '(c) > 0$
\end{itemize}
}
\end{document}
Frits wrote:Please provide a Minimal Working Example of you document. I think the problem is not beamer but something else in your preamble, as I'm not experiencing this when making a beamer document without calling any other packages.
Code: Select all
\item Compare with $f '(x)$ or $f ^\prime(x)$
Code: Select all
%\documentclass[fleqn]{beamer}
%\mode<presentation>
\documentclass[professionalfont]{beamer}
\mode<presentation>
\usetheme{Warsaw}
\usetheme{CambridgeUS}
\beamertemplatenavigationsymbolsempty
\begin{document}
\frame
{
\frametitle{Title}
\textbf{Model:}
\vspace{0.05cm}
\begin{itemize}
\item Original derivative: $m '(f) > 0$
\item New derivative: $a ^\prime(f) < 0$
\end{itemize}
}
\end{document}
Stefan_K wrote:Instead of f' you could also write f^\prime. You speak of f'(x), but your example code shows m'(c). m is lower than f, perhaps that's why you think the prime sign is too high.
Your code plus
gives:Code: Select all
\item Compare with $f '(x)$ or $f ^\prime(x)$
Stefan
If you want more space between the prime and the function you could do something like his:latexhelp1 wrote:[...] Shouldn't there be more space between the prime and function? [...]
Code: Select all
\documentclass{article}
\newcommand\deriv{^{\mkern1mu\prime}}
\begin{document}
$f'(x)=x^2$
$f\deriv(x)=x^2$
\end{document}
Code: Select all
%\documentclass[fleqn]{beamer}
%\mode<presentation>
\documentclass[professionalfont]{beamer}
\mode<presentation>
\usetheme{Warsaw}
\usetheme{CambridgeUS}
\useoutertheme{miniframes}
\usefonttheme{serif}
\usepackage{beamerthemesplit}
\usepackage{color}
\usepackage{bm}
\usepackage{bbm}
\usepackage{amsmath}
%\usepackage{pdfsync}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{setspace}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{epic}
\usepackage{eepic}
\usepackage{eepicemu}
\usepackage{epsf}
\usepackage{verbatim}
\usepackage{hyperref}
%\usepackage{showkeys} %Shows labels in compilation
%\usepackage{syntonly} %Runs document but doesn't produce pdf: faster
\usepackage{mathptmx}
\usepackage[scaled]{helvet}
\usepackage{pstricks,pst-node,pst-tree}
\usepackage{fix-cm}
\newcommand\deriv{^{\mkern1mu\prime}}
\newcommand{\ind}{\mathbf{1}}
\newrgbcolor{darkred}{.75 0 0.15}
\newrgbcolor{darkerred}{.45 0 0.15}
%\hypersetup{linkbordercolor=red, filecolor=red, linkcolor=red}
\usebuttontemplate{\color{darkerred}\insertbuttontext}
\beamertemplatenavigationsymbolsempty
\begin{document}
\frame
{
\frametitle{Title}
\textbf{Model:}
\vspace{0.05cm}
\begin{itemize}
\item Original derivative: $m '(f) > 0$
\item New derivative: $a\deriv(f) < 0$
\end{itemize}
}
\end{document}
cgnieder wrote:If you want more space between the prime and the function you could do something like his:latexhelp1 wrote:[...] Shouldn't there be more space between the prime and function? [...]Code: Select all
\documentclass{article} \newcommand\deriv{^{\mkern1mu\prime}} \begin{document} $f'(x)=x^2$ $f\deriv(x)=x^2$ \end{document}
Code: Select all
1mu
Code: Select all
1.5mu
Code: Select all
\documentclass{beamer}
\begin{document}
\begin{frame}
\[
f^{\prime}(x).
\]
\end{frame}
\end{document}
\usepackage[T1]{fontenc}
solves the problem.NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p