Math & Science ⇒ adding tabular in equation/math enviroment
adding tabular in equation/math enviroment
\begin{equation}
F=\left\lbrace
\begin{tabular}{ll}
$F_{app}\mu_{k}\sin (v) $ & $if \quad v>0$, \\
$ F_{app}$ & if$ \quad v=0 \quad and \quad F_{app}\leq F_{app} \mu_{s}$,
\end{tabular}
\right
%\label{RRRR}
\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
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
adding tabular in equation/math enviroment
There's a math equivalent to
tabular, it's array. Here is how I would do it:Code: Select all
\documentclass{article}
\usepackage{amsmath}
\DeclareMathOperator\app{app}
\begin{document}
\begin{equation}
F = \left\lbrace
\begin{array}{ll}
F_{\app} \, \mu_{k} \sin(v) & \text{ if } v > 0, \\
F_{\app} & \text{ if } v = 0
\text{ and } F_{\app}\leq F_{\app} \, \mu_{s}
\end{array}
\right.
%\label{RRRR}
\end{equation}
\end{document}Stefan
adding tabular in equation/math enviroment
{cases} for typesetting the equation. Here is the code:
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\DeclareMathOperator\app{app}
\begin{document}
\begin{equation}
F =
\begin{cases}
F_{\app} \, \mu_{k} \sin(v) & \text{ if } v > 0, \\
F_{\app} & \text{ if } v = 0
\text{ and } F_{\app}\leq F_{\app} \, \mu_{s}
\end{cases}
%\label{RRRR}
\end{equation}
\end{document}OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim