Skip to content

Instantly share code, notes, and snippets.

@chrisyeh96
chrisyeh96 / macros.tex
Last active April 4, 2024 22:33
LaTeX Macros
% domains
\newcommand{\C}{\mathbb{C}} % complex numbers
\newcommand{\N}{\mathbb{N}} % natural numbers
\newcommand{\Q}{\mathbb{Q}} % rational numbers
\newcommand{\R}{\mathbb{R}} % real numbers
\newcommand{\Z}{\mathbb{Z}} % integers
\newcommand{\Sym}{\mathbb{S}} % symmetric, real matrices
% general macros
\newcommand{\abs}[1]{\left\lvert#1\right\rvert} % absolute value
@chrisyeh96
chrisyeh96 / .vimrc
Last active September 2, 2023 22:25
My .vimrc
"""" Enable Vundle: vim plugin manager
" required before Vundle initialization
" set nocompatible " disable compatibility mode with vi
" filetype off " disable filetype detection (but re-enable later, see below)
" set the runtime path to include Vundle, and initialize
" set rtp+=~/.vim/bundle/Vundle.vim
" call vundle#begin()
" Plugin 'VundleVim/Vundle.vim'