I am trying to create a beamer presentation on TeXMaker and the problem that I'm having is that if I try to insert any type of equation into the presentation or just anything requiring $$, for example $x^2$, TeXMaker will fail to compile the presentation. Is there something in the preamble I'm missing?
Currently I have:
\documentclass[12pt]{beamer}
\usetheme{Warsaw}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{movie15}
\usepackage{hyperref}
%\usepackage{flashmovie}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{epstopdf}
\author{...}
\title{}
%\setbeamercovered{transparent}
%\setbeamertemplate{navigation symbols}{}
%\logo{}
\institute{...}
%\date{}
%\subject{}
\setbeamercovered{transparent}
\setbeamertemplate{navigation symbols}{}
\begin{document}
\begin{frame}{title}
$x$
\end{frame}
\end{document}
and I thought amsmath was the main thing I should have to allow math mode?
Thanks!
amsmathis not needed for math mode at all, but it's recommendable to use it. Concerning your issue: You've provided a fragment of code, but this does not help to solve it. The relevant code is invisible for us – May 31 '16 at 16:39\usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{movie15} \usepackage{hyperref} \usepackage{amssymb} \usepackage{graphicx} \usepackage{epstopdf}
\begin{document}
\begin{frame} $x^2$ \end{frame}
\end{document}
– samcarter_is_at_topanswers.xyz May 31 '16 at 16:42\begin{document}. If this is still not sufficient can you specify exactly what you need me to include? Also what is a complete MWE? Thanks. – JSmith May 31 '16 at 16:47\documentclassand end with\end{document}. – samcarter_is_at_topanswers.xyz May 31 '16 at 16:48$on both sides of thexthen it works perfectly fine. – JSmith May 31 '16 at 16:53\begin{document}and\end{document}its works for me – samcarter_is_at_topanswers.xyz May 31 '16 at 16:55\begin{document}and\end{document}but it still doesn't seem to work even if I change the frame title as shown above. Maybe it's my copy of TeXMaker that's the problem and I need to reinstall it completely. – JSmith May 31 '16 at 16:59Font shape OT1/cmss/m/n' in size <4> not available(Font) size <5> substitutedandSize substitutions with differences(Font) up to 1.0pt have occurred.. 2) latex, 3) MikTex 2.9, 4) I have't tried this and I guess this is probably the best way forward, I just don't understand why it only fails to work on a beamer presentation though. If I try math mode on a standard latex document it works perfectly fine. – JSmith May 31 '16 at 17:11\let\Tiny=\tiny. If you uselatexwith beamer you have to be careful how you transform the .dvi file to .pdf. Can you try pdflatex? – samcarter_is_at_topanswers.xyz May 31 '16 at 17:13hyperrefas Beamer already loads it. Don't loadepstopdf. You are making 4 sound like a nuclear option: it is not. It is just a question of cleaning up the working directory so that LaTeX generates new auxiliary files when you compile. – cfr Jun 01 '16 at 00:31\documentclass{beamer} \begin{document} \begin{frame}{title} $x$ \end{frame} \end{document}– samcarter_is_at_topanswers.xyz Jun 02 '16 at 13:22$$then it will fail to compile. If it's just plain text with no equations etc.then it will compile just fine. – JSmith Jun 02 '16 at 13:55\usepackage{sansmathaccent}and\pdfmapfile{+sansmathaccent.map}into my document's preamble it will compile just fine. The only problem is fixing it since I cannot seem to run initexmf.exe file required to fix it. – JSmith Jun 02 '16 at 14:15