From c1a7ed92b8521984da2a116b7b16544bf12529a5 Mon Sep 17 00:00:00 2001 From: Nicholas Malaya Date: Fri, 9 Dec 2011 23:54:19 +0000 Subject: [PATCH] [cantera+autotools]: adding style file for latex goodness, should be good to go! --- doxygen/Makefile.am | 2 +- doxygen/cantera.sty | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 doxygen/cantera.sty diff --git a/doxygen/Makefile.am b/doxygen/Makefile.am index 8a3090c57..d4b54bc41 100644 --- a/doxygen/Makefile.am +++ b/doxygen/Makefile.am @@ -1,5 +1,5 @@ EXTRA_DIST = cantera.dox cantera.page txt_common fig_common -EXTRA_DIST += install.page cantera.sty tutorial.page +EXTRA_DIST += install.page tutorial.page dist-hook: rm -rf `find $(distdir)/ -name .svn` diff --git a/doxygen/cantera.sty b/doxygen/cantera.sty new file mode 100644 index 000000000..fca692fa3 --- /dev/null +++ b/doxygen/cantera.sty @@ -0,0 +1,20 @@ +\typeout{Document Style `masa'. Released 04 March 2011} +\usepackage{pdflscape} +\usepackage[authoryear]{natbib} +%\usepackage[utf8x]{inputenc} +\usepackage{amsmath} +\usepackage{amsfonts} +\usepackage{geometry} + +\newcommand{\D}{\partial} +\newcommand{\Diff}[2] {\dfrac{\partial( #1)}{\partial #2}} +\newcommand{\diff}[2] {\dfrac{\partial #1}{\partial #2}} +\newcommand{\bv}[1]{\ensuremath{\mbox{\boldmath$ #1 $}}} +\newcommand{\gv}[1]{\ensuremath{\mbox{\boldmath$ #1 $}}} +\newcommand{\grad}[1]{\gv{\nabla} #1} +\newcommand{\Rho}{\,\mathtt{Rho}} +\newcommand{\PP}{\,\mathtt{P}} +%\newcommand{\U}{\,\mathtt{U}} +\newcommand{\V}{\,\mathtt{V}} +\newcommand{\W}{\,\mathtt{W}} +\newcommand{\Lo}{\,\mathcal{L}}