You can’t use the greek symbols outside of math mode and your command is missing a b
, thus
Where \lamda is the failure rate and can be expressed as:
should be
Where $\lambda$ is the failure rate and can be expressed as:
Furthermore you should not use {center}
around your equations. They are centered by default (you use the fleqn
document class option, don’t us ist if you don't want flushing equations…) anyway and {center}
adds extra vertical space.
Appending \justify
to \frame
in that way seems to be a bad idea … Just stick do ragged text and take the following advice from beamers manual serious:
Do not hyphenate words. If absolutely necessary, hyphenate words “by hand”, using the command \-
.
I prefer having the \label
s inside of the environment they belong to.
Full code
\documentclass[15pt]{beamer}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{ragged2e}
\usepackage{etoolbox}
%\usetheme[blue,dark,colorblocks,tocinheader,]{tubs}
%\apptocmd{\frame}{}{\justifying}{}
\begin{document}
\section{Reliability, Availability, and Maintainability}
\subsection{Reliability}
\begin{frame}{Reliability}
bla bla bla bla
\begin{equation}\label{eq1}
R\left ( t \right )=\exp(- \lambda \cdot t)
\end{equation}
Where $\lambda$ is the failure rate and can be expressed as:
\begin{equation}\label{eq2}
\lambda = \frac{k}{T}
\end{equation}
\end{frame}
\end{document}
I had to comment the line loading the theme, because it is not part of TeX Live and therefore not installed on my system …
Edit:
I just noticed it should be either \mathrm{e}^{x}
or \exp(x)
but not \exp^{x}
. And your \lambda.t
should probably be \lambda\cdot t
, shouldn’t it?
Best Answer
There may be other local versions of
beamer
-related content in your folder. This was only the first one identified during compilation.Delete
beamerbasemodes.sty
from your working folder (D:\Geet D1ppt
) and re-compile. If errors continue, it probably means that you've installed an older version ofbeamer
to your working folder. Remove that local installation and use the MiKTeX Package Manager (MPM) to install the appropriate versions/updates tobeamer
instead.