by
271 12
0
4
270k
2
Top 1% !
Popular
Pearl of Wisdom
Tagged
Popularity: 4634th place
Created
Modified Jun 26, 2013
This snippet is Public
LicenseMIT_X11

Useful commands for math in LaTeX

If in your document you use a lot of partial derivatives, matrices, etc.. these commands can be useful
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/1254/Useful-commands-for-math-in-LaTeX?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
\newcommand{\fratop}[2]{\genfrac{}{}{0pt}{}{#1}{#2}} \newcommand{\mx}[1]{\mathbf{\bm{#1}}} % Matrix symbol \newcommand{\vc}[1]{\mathbf{\bm{#1}}} % Vector symbol \newcommand{\degree}{\ensuremath{^\circ}} % define the degree symbol \newcommand{\pder}[2]{\frac{\partial#1}{\partial#2}} % partial derivative \newcommand{\refframe}[1]{\mbox{\textless#1\textgreater}} % to denote a reference frame \DeclareMathOperator*{\argmin}{\arg\!\min} % argmin \DeclareMathOperator*{\argmax}{\arg\!\max} % argmax \DeclareMathOperator*{\dif}{\mathrm{d}} % d \DeclareMathOperator*{\half}{\frac{1}{2}} % one half \newcommand{\mat}[1]{\ensuremath{\begin{bmatrix}#1\end{bmatrix}}} % matrix \newcommand{\rank}[1]{\text{rank}(#1)} % rank \newcommand{\diag}[1]{\text{diag}(#1)} % diag \newcommand{\x}{\ensuremath{\times}}
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus