-
Notifications
You must be signed in to change notification settings - Fork 13
/
commands.tex
28 lines (23 loc) · 1023 Bytes
/
commands.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Insert HERE any additional commands
% as examples here are some commands from the JFM template:
%
\newcommand\etal{\mbox{\textit{et al.}}}
\newcommand\etc{etc.\ }
\newcommand\eg{e.g.\ }
\providecommand\bnabla{\boldsymbol{\nabla}}
\providecommand\bcdot{\boldsymbol{\cdot}}
\newcommand\Rey{\mbox{\textit{Re}}} % Reynolds number
\newcommand\Pran{\mbox{\textit{Pr}}} % Prandtl number, cf TeX's \Pr product
\newcommand\Pen{\mbox{\textit{Pe}}} % Peclet number
% Commands to include custom images in the footers (implemented for odd-numbered pages of the paper sections)
%
% This command creates the path to the images and inserts them:
% format: [path to file]/[basename]_[paper_number]_[pagenumber_in_paper].[ext]
%
\newcommand{\numberedimage}[1][]{%
\includegraphics[#1]{imgs/flip_book/FB_example_\arabic{paper}_\arabic{paperpage}.jpg}%
}
% This command places the image (\put) and defines its size (width).
\newcommand{\putimg}{%
\begin{picture}(0,0) \put(341,-41){\numberedimage[width=1.9cm]} \end{picture}%
}