Debian Codegraph @

texmf-dist/doc/metapost/blockdraw_mp/tiddetext.sty

raw
1 \RequirePackage{xspace}
2
3 % label and ref pairs
4 \newcommand{\qlabel}[1]{\label{eq:#1}}
5 \newcommand{\qref}[1]{\eqref{eq:#1}}
6 \newcommand{\Equationref}[1]{Equation~\qref{#1}}
7 \newcommand{\equationref}[1]{\qref{#1}}
8 \newcommand{\Equationsref}[1]{Equations~\qref{#1}}
9 \newcommand{\equationsref}[1]{\qref{#1}}
10
11 \newcommand{\fglabel}[1]{\label{fig:#1}}
12 \newcommand{\fgref}[1]{\ref{fig:#1}}
13 \newcommand{\Figureref}[1]{Figure~\fgref{#1}}
14 \newcommand{\figureref}[1]{figure~\fgref{#1}}
15 \newcommand{\Figuresref}[1]{Figures~\fgref{#1}}
16 \newcommand{\figuresref}[1]{figures~\fgref{#1}}
17
18 \newcommand{\tblabel}[1]{\label{fig:#1}}
19 \newcommand{\tbref}[1]{\ref{fig:#1}}
20 \newcommand{\Tableref}[1]{Table~\tbref{#1}}
21 \newcommand{\tableref}[1]{table~\tbref{#1}}
22 \newcommand{\Tablesref}[1]{Tables~\tbref{#1}}
23 \newcommand{\tablesref}[1]{tables~\tbref{#1}}
24
25 \newcommand{\alglabel}[1]{\label{fig:#1}}
26 \newcommand{\algref}[1]{\ref{fig:#1}}
27 \newcommand{\Algorithmref}[1]{Algorithm~\algref{#1}}
28 \newcommand{\algorithmref}[1]{algorithm~\algref{#1}}
29 \newcommand{\Algorithmsref}[1]{Algorithms~\algref{#1}}
30 \newcommand{\algorithmsref}[1]{algorithms~\algref{#1}}
31
32 \newcommand{\chalabel}[1]{\label{fig:#1}}
33 \newcommand{\charef}[1]{\ref{fig:#1}}
34 \newcommand{\Chapterref}[1]{Chapter~\charef{#1}}
35 \newcommand{\chapterref}[1]{chapter~\charef{#1}}
36 \newcommand{\Chaptersref}[1]{Chapters~\charef{#1}}
37 \newcommand{\chaptersref}[1]{chapters~\charef{#1}}
38
39 \newcommand{\seclabel}[1]{\label{fig:#1}}
40 \newcommand{\secref}[1]{\ref{fig:#1}}
41 \newcommand{\Sectionref}[1]{Section~\secref{#1}}
42 \newcommand{\sectionref}[1]{section~\secref{#1}}
43 \newcommand{\Sectionsref}[1]{Sections~\secref{#1}}
44 \newcommand{\sectionsref}[1]{sections~\secref{#1}}
45
46 \newcommand{\applabel}[1]{\label{fig:#1}}
47 \newcommand{\appref}[1]{\ref{fig:#1}}
48 \newcommand{\Appendixref}[1]{Appendix~\appref{#1}}
49 \newcommand{\appendixref}[1]{appendix~\appref{#1}}
50 \newcommand{\Appendicesref}[1]{Appendices~\appref{#1}}
51 \newcommand{\appendicesref}[1]{appendices~\appref{#1}}
52
53 \newcommand{\ost}[1]{\ensuremath{{#1}^{\textrm{st}}}}
54 \newcommand{\ond}[1]{\ensuremath{{#1}^{\textrm{nd}}}}
55 \newcommand{\ord}[1]{\ensuremath{{#1}^{\textrm{rd}}}}
56 \newcommand{\oth}[1]{\ensuremath{{#1}^{\textrm{th}}}}
57
58 \newcommand{\abbetc}{etc\xspace}
59 \newcommand{\abbie}{i~e\xspace}
60 \newcommand{\Matlab}{\textsc{Matlab}\xspace}
61 \newcommand{\Mathematica}{\textit{Mathematica}\xspace}
62
63 \newenvironment{codeverbatim}%
64 {\hspace{0.05\textwidth}\begin{minipage}[c]{0.95\textwidth}}%
65 {\end{minipage}}
66 \newcommand{\inline}[1]{\textnormal{\texttt{#1}}}
67
68 \newcommand{\funname}[1]{\textnormal{\texttt{#1}}}
69 \newcommand{\typename}[1]{\textnormal{\textbf{\textit{#1}}}}
70 \newcommand{\varname}[1]{\textnormal{\textit{#1}}}
71 \newcommand{\filename}[1]{\emph{#1}}