Bryan Lu's LaTeX Package (and other stuff)
For making handouts: download blubase.sty and blubird.sty. Use class scrartcl in your document and include \usepackage{blubird} in your preamble.
For writing up problem sets: download blubase.sty, problemset.cls. Use document class problemset, and include \studname{<your name>}, \studmail{<your email>}, \coursename{<course name>}, \duedate{<the date>}, and \hwNo{<problem set #>} in the preamble. The template ps-template.tex is recommended as it automatically fills in these fields.
Note: A lot of this package reimplements the functionality of the physics package in LaTeX. I've been told that package sucks so I've included most of those macros explicitly and extended them to be more flexible.
This is not meant to be a complete listing; but the following describes at a high level what kinds of commands are included in this package:
BIG NOTE: Redefinition of \bf: You shouldn't be using this anyway for good-practice reasons, so I've repurposed it to be the shorthand for \mathbf.
All common sets of numbers (the naturals, integers, rationals, reals, complex, etc.) have macros. For example, the integers are \ZZ. The set of n x m matrices also now has a shortcut - Mat(n, m) can be written as \mat(n, m).
Real and imaginary part operators don't look super ugly, capitalized for principal-valued functions for Log and Arg.
Implemented from my Concrete Math (Spring 2019) class. Lots of commands dedicated to Knuth's Stirling number notation (for both the first and second kinds).
Lots of commands to abbreviate derivatives, partial derivatives, and mixed partials. Has vector operators for the gradient, curl, divergence, and Laplacian. Added some hyperbolic functions and inverses of some specific trig/hyperbolic trig functions not already covered.
Has stuff for the Lagrangian and Hamiltonian and other things in the cool, swirly mathcal font.
Supports all that jazz, from my (incomplete) transcription of my Quantum/Electrodynamics (2018-2019) class notes.
Any other notation that's not the above stuff that appears in Hubbard (5th ed.) is here. Some notes:
- Chapter 0/Other:
- I prefer
\varepsilonto\epsilon, so the former is abbreviated as\eps.
- I prefer
- Chapter 1:
- The Jacobian and derivative of a function as in 1.7 are automatically in brackets to indicate they are matrices. Uses
mathcalfont. - Interior, closure, and boundary symbols added.
- Abbreviations for starting/ending matrices. Separate commands for inline matrices and display-style matrices.
- The Jacobian and derivative of a function as in 1.7 are automatically in brackets to indicate they are matrices. Uses
- Chapter 2:
- Augmented matrices (both parenthesis and bracket delimiters) added
- span is now
\spn, image is\im. (Hubbard's notation uses img for the image, I prefer im) - dimension is
\dim, kernel is\ker, which are both implemented by default - added notation for change of basis matrix
- "Divided matrices" (both parenthesis and bracket delimiters) when computing matrix inverses added
- Chapter 3:
- the trace of a matrix finally implemented as
\tr! - Taylor series notation added. First argument is the function
f; the second, the order of the polynomialn; and the third, the center of the series\mathbf{a}. - because not even Hubbard can decide which way the indices go for the multi-exponents, I have made the executive decision to make
\multexp{n}, the set of all multi-exponents innvariables, have thenas the subscript. If you don't like it, change it.
- the trace of a matrix finally implemented as
- Chapter 4:
- indicator function
\mathbf{1}, with argument for the region for which the function is 1. - the volume function
\volfor the volume of various regions - the symbol for the set of dyadic pavings,
\dpav, with one argument for the orderNof the paving. - Made it easier to type absolute-value differential with
\dvol \sgnand\signused for signature (of a permutation), or sign of a permutation (or really anything), use whichever you like
- indicator function
- Chapter 5:
\areamacro for two dimensions\hausdfor Hausdorff dimension/measure notation as used by Professor Manning in lecture - not standard (read: not used by Hubbard in the book itself)\dmanvolfor typing out the big square root of determinants if you're feeling a little lazy, don't recommend using regularly
- Chapter 6:
\basetto represent the symbols used for an ordered basis of a vector space V (with the subscript V) or as "operating" on a manifold, giving ordered bases of the tangent space at every point on a smooth manifold\extdfor the exterior derivative of a form\permsetused in the definition of the wedge product (no special symbol other than standardamssymbone for wedges)
\isoeasier for writing isomorphisms\nsubfor writing normal subgroups (may implement the other direction -- normal "supergroups"?)\autfor the automorphism group\innfor the inner automorphism group\outfor the outer automorphism group\edomfor the set of endomorphisms M -> M on an R-module (or vector space)\torfor the torsion set of an R-module\annfor the annihilator of an R-module