-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathGAelectrodynamics.sty
55 lines (44 loc) · 1.38 KB
/
GAelectrodynamics.sty
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
%\usepackage{siunitx}
%\usepackage{esint} % \oiint
%\newcommand{\timeaverage}[1]{\left[#1\right]}
\newcommand{\nbref}[1]{%
\itemRef{GAelectrodynamics}{#1}%
\index{Mathematica}%
}
% with an alternate label for the link.
% {nb}{text}
% nb of the form: ps2b:countItersAndPlot.m
\newcommand{\nbcite}[2]{%
\itemCite{GAelectrodynamics}{#1}{#2}%
}
\usepackage{peeters_figures}
% \pmathImageFigure{dir}{file}{caption}{label}{width}{nbpath}
% nbpath like: ps2b:countItersAndPlot.m
\newcommand{\pmathImageFigure}[6]{%
\pimageFigure{#1}{#2}{\nbcite{#6}{#3}}{#4}{#5}
}
% \pmathImageTwoFigures{dir}{file1}{file2}{caption}{fig:fff}{scale=0.3}{nbfile}
\newcommand{\pmathImageTwoFigures}[7]{%
\pimageTwoFigures{#1}{#2}{#3}{\nbcite{#7}{#4}}{#5}{#6}
}
% \pmathImageThreeFiguresOneLine{dir}{file1}{file2}{file3}{caption}{fig:fff}{scale=0.3}{nbfile}
\newcommand{\pmathImageThreeFiguresOneLine}[8]{%
\pimageThreeFiguresOneLine{#1}{#2}{#3}{#4}{\nbcite{#8}{#5}}{#6}{#7}
}
% \pmathImageFourFiguresTwoLines{dir}{file1}{file2}{file3}{file4}{caption}{fig:fff}{scale=0.3}{nbfile}
\newcommand{\pmathImageFourFiguresTwoLines}[9]{%
\pimageFourFiguresTwoLines{#1}{#2}{#3}{#4}{#5}{\nbcite{#9}{#6}}{#7}{#8}
}
\newcommand{\matlabFunc}[1]{%
\textbf{#1}%
}
% {func}{path}
\newcommand{\matlabFuncPath}[2]{%
\nbcite{#2}{\textbf{#1}}%
}
%\usepackage{macros_bm}
%\usepackage{macros_mathematica}
%
%\newcommand{\hatcalP}[0]{%
%\widehat{\calP}%
%}