Processing math: 0%

Monday, March 19, 2012

Latex Under and over braces example

I found this example for over and under brakets useful and thought I should keep it just in case I wanted to use it later.
\overbrace{\rho \Big( \underbrace{\frac{\partial \mathbf{v}}{\partial t}}_{ \begin{smallmatrix} \text{Unsteady}\\ \text{acceleration} \end{smallmatrix}} + \underbrace{\mathbf{v} \cdot \nabla \mathbf{v}}_{ \begin{smallmatrix} \text{Convective} \\ \text{acceleration} \end{smallmatrix}}\Big)}^{\text{Inertia}} = \underbrace{-\nabla p}_{ \begin{smallmatrix} \text{Pressure} \\ \text{gradient} \end{smallmatrix}} + \underbrace{\mu \nabla^2 \mathbf{v}}_{\text{Viscosity}} + \underbrace{\mathbf{f}}_{ \begin{smallmatrix} \text{Other} \\ \text{forces} \end{smallmatrix}}

The example is from: http://www.physicsforums.com/showthread.php?t=264861

More information about how to do this type of writing is at:
http://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics

Note:
underbrace and overbrace can also be underbracket and overbracket. See that wiki page above if you want more information of how this works.

No comments:

Post a Comment