summaryrefslogtreecommitdiffstats
path: root/configuration
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2012-04-19 16:32:34 +0200
committerDavid A. Madore <david+git@madore.org>2012-04-19 16:32:34 +0200
commitcffe395d5a30da1cc677565094d83fce11fe45b5 (patch)
tree31f7437815c984969b9872dc7920507c8e4380c0 /configuration
parent781e643f3fc5cc5a06585b9311cdc5d9dd7d4009 (diff)
downloadgalois-cffe395d5a30da1cc677565094d83fce11fe45b5.zip
galois-cffe395d5a30da1cc677565094d83fce11fe45b5.tar.gz
galois-cffe395d5a30da1cc677565094d83fce11fe45b5.tar.bz2
macros: Ajout de macros \lwave et \rwave tirées du package mathdesign.
Diffstat (limited to 'configuration')
-rw-r--r--configuration/formules.tex25
1 files changed, 25 insertions, 0 deletions
diff --git a/configuration/formules.tex b/configuration/formules.tex
index 8ae983d..7b9a356 100644
--- a/configuration/formules.tex
+++ b/configuration/formules.tex
@@ -130,6 +130,31 @@
\DeclareSymbolFontAlphabet{\mathbi}{biletters}
\DeclareMathSymbol{\bimu}{\mathord}{biletters}{"16}
+% une horreur pour avoir \leftwave et compagnie sans inclure le package mathdesign:
+\DeclareFontFamily{OMX}{mdput}{}
+\DeclareFontShape{OMX}{mdput}{m}{n}{<-> mdputr7v}{}
+%\DeclareFontFamily{OMX}{mdbch}{}
+%\DeclareFontShape{OMX}{mdbch}{m}{n}{<-> mdbchr7v}{}
+%\DeclareFontFamily{OMX}{mdugm}{}
+%\DeclareFontShape{OMX}{mdugm}{m}{n}{<-> mdugmr7v}{}
+\DeclareSymbolFont{mathdesignlargesymbols}{OMX}{mdput}{m}{n}
+\SetSymbolFont{mathdesignlargesymbols}{bold}{OMX}{mdput}{b}{n}
+\DeclareMathDelimiter{\lwave}{\mathopen} {mathdesignlargesymbols}{"D0}{mathdesignlargesymbols}{"D0}
+\DeclareMathDelimiter{\rwave}{\mathclose}{mathdesignlargesymbols}{"D0}{mathdesignlargesymbols}{"D0}
+\DeclareMathDelimiter{\levaw}{\mathopen} {mathdesignlargesymbols}{"D1}{mathdesignlargesymbols}{"D1}
+\DeclareMathDelimiter{\revaw}{\mathclose}{mathdesignlargesymbols}{"D1}{mathdesignlargesymbols}{"D1}
+
+\newcommand*{\textMDESv}[1]{{\usefont{OMX}{mdput}{m}{n}##1}}
+\newbox\MDESwavebox
+\DeclareRobustCommand{\MDESleftwavelet}{\textMDESv{\char"D0}}
+\DeclareRobustCommand{\MDESleftwave}{%
+ \setbox\MDESwavebox=\hbox{\textMDESv{\char"D0}}
+ \raisebox{-1.5\dp\MDESwavebox}{\vbox to 4\dp\MDESwavebox{\cleaders\copy\MDESwavebox\vfill}}}
+\DeclareRobustCommand{\MDESleftevawlet}{\textMDESv{\char"D1}}
+\DeclareRobustCommand{\MDESleftevaw}{%
+ \setbox\MDESwavebox=\hbox{\textMDESv{\char"D1}}
+ \raisebox{-1.5\dp\MDESwavebox}{\vbox to 4\dp\MDESwavebox{\cleaders\copy\MDESwavebox\vfill}}}
+
% degré de transcendance
\newcommand{\degtr}{\mathop{\mathrm{deg.tr}}}