LaTeX
Mac
TeX
PowerPoint

Latexitのプリアンブルに書いておくと便利なこと

Latexitを使えば簡単に数式の画像ができる。パワポに数式貼りたい時など便利。

プリアンブルには下記を記入しておくと何かと捗る。
```math
%\documentclass[10pt]{article}
\documentclass[platex, a4paper]{jsarticle}
\usepackage[usenames]{color} %used for font color
\usepackage{amssymb} %maths
\usepackage{amsmath} %maths
\usepackage[utf8]{inputenc} %useful to type directly diacritic characters

\usepackage{commath}
\usepackage[english]{babel} % English language/hyphenation
\usepackage{amssymb,amsfonts,amsthm,bm}
\usepackage{booktabs}

\DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}

\newcommand{\code}[1]{\lstinline[basicstyle=\ttfamily\color{green!40!black}]|#1|}
\newcommand{\units}[1] {:\text{#1}}%
\newcommand{\SN}{S$_N$}
\newcommand{\cyclus}{\textsc{Cyclus}\xspace}
\newcommand{\Cyclus}{\cyclus}
\newcommand{\citeme}{\textcolor{red}{CITE}\xspace}
\newcommand{\cycpp}{\code{cycpp}\xspace}
\newcommand{\TODO}[1] {{\color{red}\textbf{TODO: #1}}}%

\newcommand{\comment}[1]{{\color{green}\textbf{#1}}}

\newcommand{\E}{\mathbb{E}}
\newcommand{\GP}{\mathpzc{GP}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\LWR}{\mathrm{LWR}}
\newcommand{\FR}{\mathrm{FR}}
\newcommand{\Total}{\mathrm{Total}}
\newcommand{\argmax}{\mathop{\rm argmax}\limits}
\newcommand{\argmin}{\mathop{\rm argmin}\limits}
\newcommand{\CYCLUS}{\mathrm{Cyclus}}
\newcommand{\DYMOND}{\mathrm{DYMOND}}
\newcommand{\I}{\mathbf{I}}
\newcommand{\K}{\mathbf{K}}
\newcommand{\stochastic}{\texttt{`stochastic'}\xspace}
\newcommand{\innerprod}{\texttt{`inner-prod'}\xspace}
\newcommand{\allflag}{\texttt{`all'}\xspace}

\global\long\def\T#1{#1^{\top}}
```

References

https://github.com/scopatz/fc-deploy-opt/blob/master/paper.tex