Last active
July 25, 2017 01:48
-
-
Save balos1/649bcc79ee04fe9866ced8ec536a1d42 to your computer and use it in GitHub Desktop.
Macros for writing mathematical documents in LaTex.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Helpful math mode macros. | |
% | |
% (c) Cody Balos | |
\NeedsTeXFormat{LaTeX2e}[] | |
\ProvidesPackage{mathmacros}[2017/01/20 Math Macros] | |
\RequirePackage{amsmath} | |
\ProcessOptions\relax | |
% Integrals and Derivatives | |
\newcommand{\evalbar}[2]{\Bigr|_{#1}^{#2}} | |
\newcommand{\ddt}[1]{\frac{d#1}{dt}} | |
\newcommand{\dtwodt}[1]{\frac{d^2#1}{dt^2}} | |
\newcommand{\Lapl}[1]{\mathcal{L}\{#1\}} | |
% Fractions | |
\newcommand{\bigfrac}[2]{\frac{\displaystyle #1}{\displaystyle #2}} | |
% QED | |
% \renewcommand{\qed}{\tag*{$\blacksquare$}} | |
\endinput |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment