For example. I want want write y = 2x + 3 where
I would normally write
Code: Select all
\begin{equation*}
y = 2x + 3
\end{equation*}
Code: Select all
\begin{equation*}
y = 2x + 3
\end{equation*}
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
Code: Select all
\documentclass[professionalfonts,smaller]{beamer}
\usepackage[T1]{fontenc}
\usepackage{mathtools} % loads »amsmath«
\usepackage{fix-cm}
\begin{document}
\begin{frame}
\begin{equation*}
y=2x+3 \text{ where }
\end{equation*}
\end{frame}
\end{document}
Code: Select all
\documentclass[professionalfonts, smaller]{beamer}
\usetheme{CambridgeUS}
\usepackage[latin1]{inputenc}
\usefonttheme{professionalfonts}
\usepackage{times}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage{verbatim}
\usepackage[T1]{fontenc}
\usepackage{mathtools}
\usepackage{fix-cm}
\usetikzlibrary{arrows,shapes}
\DeclareMathOperator*{\Max}{Max}
\begin{document}
\tikzstyle{every picture}+=[remember picture]
\everymath{\displaystyle}
\begin{frame}
\frametitle{Title of Frame}
\begin{equation*}
y=2x+3 \hspace{0.05cm} \text{ where }
\end{equation*}
\end{frame}
\end{document}
localghost wrote:The amsmath package is your friend.Code: Select all
\documentclass[professionalfonts,smaller]{beamer} \usepackage[T1]{fontenc} \usepackage{mathtools} % loads »amsmath« \usepackage{fix-cm} \begin{document} \begin{frame} \begin{equation*} y=2x+3 \text{ where } \end{equation*} \end{frame} \end{document}
Thorsten
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