-
Notifications
You must be signed in to change notification settings - Fork 0
/
localcommands.tex
67 lines (54 loc) · 2.74 KB
/
localcommands.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
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
56
57
58
59
60
61
62
63
64
65
66
67
%add all your local new commands to this file
\newcommand{\smiley}{:)}
\renewbibmacro*{index:name}[5]{%
\usebibmacro{index:entry}{#1}
{\iffieldundef{usera}{}{\thefield{usera}\actualoperator}\mkbibindexname{#2}{#3}{#4}{#5}}}
% \newcommand{\noop}[1]{}
% Couto-Vale
\newcommand{\pt}[0]{pt}
% \newcommand{\uettl}[0]{\includegraphics[trim=5 22 17 13, clip,width=11\pt,height=9\pt]{figures/couto-vale/u232B}}
% \newcommand{\uettr}[0]{\includegraphics[trim=5 22 17 13, clip, width=11\pt, height=9\pt]{figures/couto-vale/u2326}}
\newcommand{\uettl}{{\Large\texttt{⌫}}}
\newcommand{\uettr}{{\Large\texttt{⌦}}}
\let\tt\ttfamily
% Bisiada
% \SetCiteCommand{\parencite} % tells csquotes how to interpret \textcquote and \blockcquote
% \renewcommand{\mkblockquote}[4]{#1#2#3\begin{flushright}#4\end{flushright}} % insets citations in block quotes to the right
\pgfplotsset{ % add "[]" to every addplot command to turn black & white
compat=1.12,
anova/.style={
enlarge y limits=0.15,
symbolic x coords={TR,TR+ED,ED},
xtick=data,
every axis plot/.append style={
only marks,mark=*,very thick,
x=sample,y=value,
nodes near coords,
visualization depends on={value \thisrow{anchor}\as\myanchor},,
every node near coord/.append style={anchor=\myanchor},
},
every axis plot no 1/.append style={mark=square},
every axis plot no 2/.append style={mark=diamond},
},
error bars/.cd,y dir=both,y explicit,error bar style={very thick},
}
% for extracts in baraldi-gavioli
\newcommand{\extractref}[1]{Extract \ref{#1}}
% for examples in troque-marchan
\newcommand{\exref}[1]{Example \ref{#1}}
% WingDings-Symbols for Silva-Pagano
% font pictures extracted from https://commons.wikimedia.org/wiki/File:Wingdings.svg
\newcommand{\wdtab}[0]{\includegraphics[height=8\pt]{figures/silva-pagano/u8680_2x}~}
\newcommand{\wdpause}[0]{\includegraphics[height=8\pt]{figures/silva-pagano/u10038_2x}~}
\newcommand{\wdblank}[0]{\includegraphics[height=8\pt]{figures/silva-pagano/u11045_2x}~}
\newcommand{\wdcursor}[0]{\includegraphics[height=8\pt]{figures/silva-pagano/u129128_2x}~}
\newcommand{\wdbackspace}[0]{\includegraphics[height=8\pt]{figures/silva-pagano/u9003_2x}~}
\newcommand{\wddelete}[0]{\includegraphics[height=8\pt]{figures/silva-pagano/u8998_2x}~}
\newcommand{\wdmouse}[0]{\includegraphics[height=8\pt]{figures/silva-pagano/u128432_2x}~}
\newcommand{\wddown}[0]{\includegraphics[height=8\pt]{figures/silva-pagano/u129131}~}
% Custom single-cell text alignments for tables
\newcommand{\cralign}[1]{\multicolumn{1}{r}{#1}}
\newcommand{\ccalign}[1]{\multicolumn{1}{c}{#1}}
\newcommand{\clalign}[1]{\multicolumn{1}{l}{#1}}
\newcommand{\textcquote}[3][]{``#3'' \citep[#1]{#2}}
\newcommand{\citealtv}[1]{\citeauthor{#1} \citeyear*{#1} [this volume]}