Last active
May 15, 2020 06:56
-
-
Save jaanli/172becaa828b633b994152979f0a3221 to your computer and use it in GitHub Desktop.
LaTeXiT template for settings that look okay with Keynote and Whitney font
This file contains hidden or 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
\documentclass[10pt]{article} | |
\usepackage[usenames]{color} %used for font color | |
\usepackage{amssymb} %maths | |
\usepackage{amsmath} %maths | |
\usepackage{mathtools} | |
\usepackage[utf8]{inputenc} %useful to type directly diacritic characters | |
% TABLES | |
\usepackage{booktabs} | |
\usepackage{array} | |
%\usepackage{dblfloatfix} % for placing table at bottom of page | |
% TABLE ALIGNMENT | |
\usepackage{etoolbox,siunitx} | |
\robustify\bfseries | |
\sisetup{detect-weight=true, detect-shape=true, detect-mode=true, | |
table-format=5.1, | |
table-number-alignment=center, | |
separate-uncertainty=true, | |
input-ignore={,},input-decimal-markers={.}} | |
\usepackage{mathspec} | |
\usepackage{xunicode} | |
\usepackage{xltxtra} | |
\setmainfont{Gill Sans} | |
\setmathsfont(Digits,Latin,Greek){Gill Sans} | |
\usepackage{amssymb} | |
\DeclareRobustCommand{\mb}[1]{\ensuremath{\boldsymbol{\mathbf{#1}}}} | |
\DeclareMathOperator*{\argmax}{arg\,max} | |
\DeclareMathOperator*{\argmin}{arg\,min} | |
\DeclareMathOperator{\logit}{logit} | |
\DeclareRobustCommand{\KL}[2]{\ensuremath{\textrm{\textsc{kl}}\left(#1\;\|\;#2\right)}} | |
\newcommand{\mbx}{\mb{x}} | |
\newcommand{\mbX}{\mb{X}} | |
\newcommand{\mbz}{\mb{z}} | |
\newcommand{\mby}{\mb{y}} | |
\newcommand{\mbI}{\mb{I}} | |
\newcommand{\mbZ}{\mb{Z}} | |
\newcommand{\mbL}{\mb{L}} | |
\newcommand{\mbtheta}{\mb{\theta}} | |
\newcommand{\mbTheta}{\mb{\Theta}} | |
\newcommand{\mbomega}{\mb{\omega}} | |
\newcommand{\mbOmega}{\mb{\Omega}} | |
\newcommand{\mbsigma}{\mb{\sigma}} | |
\newcommand{\mbSigma}{\mb{\Sigma}} | |
\newcommand{\mblambda}{\mb{\lambda}} | |
\newcommand{\tmblambda}{\tilde{{\mb{\lambda}}}} | |
\newcommand{\mbgamma}{\mb{\gamma}} | |
\newcommand{\mbzeta}{\mb{\zeta}} | |
\newcommand{\mbeta}{\mb{\eta}} | |
\newcommand{\mbbeta}{\mb{\beta}} | |
\newcommand{\mbphi}{\mb{\phi}} | |
\newcommand{\mbmu}{\mb{\mu}} | |
\newcommand{\mbnu}{\mb{\nu}} | |
\newcommand{\mbrho}{\mb{\rho}} | |
\newcommand\dif{\mathop{}\!\mathrm{d}} | |
\newcommand{\diag}{\textrm{diag}} | |
\newcommand{\supp}{\textrm{supp}} | |
\newcommand{\E}{\mathbb{E}} | |
\newcommand{\Var}{\mathbb{V}\textrm{ar}} | |
\newcommand{\bbN}{\mathbb{N}} | |
\newcommand{\bbZ}{\mathbb{Z}} | |
\newcommand{\bbR}{\mathbb{R}} | |
\newcommand{\bbS}{\mathbb{S}} | |
\newcommand{\cL}{\mathcal{L}} | |
\newcommand{\cD}{\mathcal{D}} | |
\newcommand{\cZ}{\mathcal{Z}} | |
\newcommand{\cO}{\mathcal{O}} | |
\newcommand{\cN}{\mathcal{N}} | |
\newcommand{\Gam}{\textrm{Gam}} | |
\newcommand{\InvGam}{\textrm{InvGam}} | |
\newcommand{\mf}{\textsc{mf}} | |
\newcommand{\hvm}{\textsc{hvm}} | |
% RFS | |
\newcommand{\yum}{y_{um}} | |
\newcommand{\xum}{x_{um}} | |
\newcommand{\xuk}{x_{uk}} | |
\newcommand{\yuk}{y_{uk}} | |
\renewcommand{\mid}{~\vert~} | |
\newcommand{\prm}{\:;\:} | |
\newcommand{\Pois}{\textrm{Poisson}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment