You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
3.0 KiB
130 lines
3.0 KiB
%%
|
|
%% This is file `colonequals.sty',
|
|
%% generated with the docstrip utility.
|
|
%%
|
|
%% The original source files were:
|
|
%%
|
|
%% colonequals.dtx (with options: `package')
|
|
%%
|
|
%% This is a generated file.
|
|
%%
|
|
%% Project: colonequals
|
|
%% Version: 2016/05/16 v1.1
|
|
%%
|
|
%% Copyright (C)
|
|
%% 2006 Heiko Oberdiek
|
|
%% 2016-2019 Oberdiek Package Support Group
|
|
%%
|
|
%% This work may be distributed and/or modified under the
|
|
%% conditions of the LaTeX Project Public License, either
|
|
%% version 1.3c of this license or (at your option) any later
|
|
%% version. This version of this license is in
|
|
%% https://www.latex-project.org/lppl/lppl-1-3c.txt
|
|
%% and the latest version of this license is in
|
|
%% https://www.latex-project.org/lppl.txt
|
|
%% and version 1.3 or later is part of all distributions of
|
|
%% LaTeX version 2005/12/01 or later.
|
|
%%
|
|
%% This work has the LPPL maintenance status "maintained".
|
|
%%
|
|
%% The Current Maintainers of this work are
|
|
%% Heiko Oberdiek and the Oberdiek Package Support Group
|
|
%% https://github.com/ho-tex/oberdiek/issues
|
|
%%
|
|
%%
|
|
%% This work consists of the main source file colonequals.dtx
|
|
%% and the derived files
|
|
%% colonequals.sty, colonequals.pdf, colonequals.ins, colonequals.drv.
|
|
%%
|
|
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesPackage{colonequals}%
|
|
[2016/05/16 v1.1 Colon equals symbols (HO)]%
|
|
\newcommand*{\colonsep}{}
|
|
\newcommand*{\doublecolonsep}{}
|
|
\def\@center@colon{%
|
|
\mathpalette\@center@math{:}%
|
|
}
|
|
\def\@center@math#1#2{%
|
|
\vcenter{%
|
|
\m@th
|
|
\hbox{$#1#2$}%
|
|
}%
|
|
}
|
|
\newcommand*{\ratio}{%
|
|
\ensuremath{%
|
|
\mathrel{%
|
|
\@center@colon
|
|
}%
|
|
}%
|
|
}
|
|
\newcommand*{\coloncolon}{%
|
|
\ensuremath{%
|
|
\mathrel{%
|
|
\@center@colon
|
|
\doublecolonsep
|
|
\@center@colon
|
|
}%
|
|
}%
|
|
}
|
|
\def\@make@colon@set#1#2{%
|
|
\begingroup
|
|
\let\@center@colon\relax
|
|
\let\newcommand\relax
|
|
\let\ensuremath\relax
|
|
\let\mathrel\relax
|
|
\let\colonsep\relax
|
|
\let\doublecolonsep\relax
|
|
\def\csx##1{%
|
|
\expandafter\noexpand\csname ##1\endcsname
|
|
}%
|
|
\edef\x{\endgroup
|
|
\newcommand*{\csx{colon#1}}{%
|
|
\ensuremath{%
|
|
\mathrel{%
|
|
\@center@colon
|
|
\colonsep
|
|
{#2}%
|
|
}%
|
|
}%
|
|
}%
|
|
\newcommand*{\csx{coloncolon#1}}{%
|
|
\ensuremath{%
|
|
\mathrel{%
|
|
\@center@colon
|
|
\doublecolonsep
|
|
\@center@colon
|
|
\colonsep
|
|
{#2}%
|
|
}%
|
|
}%
|
|
}%
|
|
\newcommand*{\csx{#1colon}}{%
|
|
\ensuremath{%
|
|
\mathrel{%
|
|
{#2}%
|
|
\colonsep
|
|
\@center@colon
|
|
}%
|
|
}%
|
|
}%
|
|
\newcommand*{\csx{#1coloncolon}}{%
|
|
\ensuremath{%
|
|
\mathrel{%
|
|
{#2}%
|
|
\colonsep
|
|
\@center@colon
|
|
\doublecolonsep
|
|
\@center@colon
|
|
}%
|
|
}%
|
|
}%
|
|
}%
|
|
\x
|
|
}
|
|
\@make@colon@set{equals}{=}%
|
|
\@make@colon@set{minus}{-}%
|
|
\@make@colon@set{approx}{\approx}
|
|
\@make@colon@set{sim}{\sim}
|
|
\endinput
|
|
%%
|
|
%% End of file `colonequals.sty'.
|
|
|