Text FormattingLatex Beamer error

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
aa2719
Posts: 1
Joined: Fri May 24, 2019 10:53 pm

Latex Beamer error

Post by aa2719 »

I was writing below code but while I use $ sign within the \begin {frame} the line doesn't work
Check the line number 28. If i run the code line 28 does not execute.

Code: Select all

\documentclass{beamer}
\usetheme[progressbar=frametitle]{metropolis}
\setbeamertemplate{frame numbering}[fraction]
\useoutertheme{metropolis}
\useinnertheme{metropolis}
\usefonttheme{metropolis}
\usecolortheme{spruce}
\setbeamercolor{background canvas}{bg=white}
\definecolor{mygreen}{rgb}{.125, .5, .25}
\usecolortheme[named=mygreen]{structure}

%\title[short title]{Your Title Here}
\title{Functions, Limits, Derivatives}
%\subtitle{Subtitle here}
\author{}
\institute{\large{\textbf{Learning Outcomes}}:\\[6pt] Identify properties of elementary functions(formed by composition of power, exponential, logarithmic, and trigonometric functions and their inverses).}
\date{}
\begin{document}
\metroset{block=fill}
\begin{frame}
\titlepage
\end{frame}

\begin{frame}[t]{Functions}\vspace{4pt}
\begin{block}{Definition of a function }
A function  is a rule 
\end{block}
Set $D$ as the function.

\end{frame}

\end{document}
Last edited by Stefan Kottwitz on Sat May 25, 2019 4:53 pm, edited 1 time in total.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

mas
Posts: 226
Joined: Thu Dec 04, 2008 4:39 am

Latex Beamer error

Post by mas »

Please use the code tags to enclose your code.

It compiles, and $D$ comes out as expected. Are you getting any error messages?
x.png
x.png (35.54 KiB) Viewed 2449 times

OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim
Post Reply