diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/centernot.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/centernot.dtx | 119 |
1 files changed, 106 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/centernot.dtx b/Master/texmf-dist/source/latex/oberdiek/centernot.dtx index f9ca5ccec58..1c19cef8f5b 100644 --- a/Master/texmf-dist/source/latex/oberdiek/centernot.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/centernot.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +% Copyright (C) 2006, 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -66,7 +66,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: centernot 2006/12/02 v1.0 Centers the not symbol horizontally (HO)} +\Msg{* Package: centernot 2007/05/31 v1.1 Centers the not symbol horizontally (HO)} \Msg{************************************************************************} \keepsilent @@ -76,7 +76,7 @@ This is a generated file. -Copyright (C) 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +Copyright (C) 2006, 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either @@ -126,10 +126,19 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{centernot.drv}% - [2006/12/02 v1.0 Centers the not symbol horizontally (HO)]% + [2007/05/31 v1.1 Centers the not symbol horizontally (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc} \usepackage{centernot} +\usepackage{amssymb} +\DeclareFontFamily{U}{matha}{\hyphenchar\font45} +\DeclareFontShape{U}{matha}{m}{n}{ + <5> <6> <7> <8> <9> <10> gen * matha + <10.95> matha10 <12> <14.4> <17.28> <20.74> <24.88> matha12 + }{} +\DeclareSymbolFont{matha}{U}{matha}{m}{n} +\DeclareMathSymbol{\notdivides}{3}{matha}{"1F} +\DeclareMathSymbol{\notrightarrow}{3}{matha}{"DB} \begin{document} \DocInput{centernot.dtx}% \end{document} @@ -157,7 +166,7 @@ and the derived files % \GetFileInfo{centernot.drv} % % \title{The \xpackage{centernot} package} -% \date{2006/12/02 v1.0} +% \date{2007/05/31 v1.1} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -182,7 +191,7 @@ and the derived files % Examples: % \begin{quote} % \begin{tabular}{@{}cccl@{}} -% Symbol & \cs{not} & \cs{centernot} &\\ +% symbol & \cs{not} & \cs{centernot} &\\ % \hline % |=| & $\not=$ & $\centernot=$ & \textit{(definition)}\\ % \cs{parallel} & $\not\parallel$ & $\centernot\parallel$\\ @@ -190,6 +199,35 @@ and the derived files % $\not\longrightarrow$ & $\centernot\longrightarrow$ % \end{tabular} % \end{quote} +% But do not forget that most negated symbols are already +% available, e.g.: +% \begin{quote} +% \begin{tabular}{@{}lllc@{}} +% case & package & code & result\\ +% \hline +% \cs{parallel}: +% &\xpackage{centernot} & |$A \centernot\parallel B$| +% & $A \centernot\parallel B$\\ +% &\xpackage{amssymb} & |$A \nparallel B$| +% & $A\nparallel B$\\ +% \hline +% \cs{mid}: +% &\xpackage{centernot} & |$A \centernot\mid B$| +% & $A \centernot\mid B$\\ +% &\xpackage{amssymb} & |$A \nmid B$| +% & $A \nmid B$\\ +% &\xpackage{mathabx} & |$A \notdivides B$| +% & $A \notdivides B$\\ +% \hline +% \cs{rightarrow}: +% &\xpackage{centernot} & |$A \centernot\rightarrow B$| +% & $A \centernot\rightarrow B$\\ +% &\xpackage{amssymb} & |$A \nrightarrow B$| +% & $A \nrightarrow B$\\ +% &\xpackage{mathabx} & |$A \nrightarrow B$| +% & $A \notrightarrow B$\\ +% \end{tabular} +% \end{quote} % % \StopEventually{ % } @@ -200,7 +238,7 @@ and the derived files %<*package> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{centernot} - [2006/12/02 v1.0 Centers the not symbol horizontally (HO)]% + [2007/05/31 v1.1 Centers the not symbol horizontally (HO)]% % \end{macrocode} % % \noindent @@ -311,17 +349,68 @@ and the derived files % the different directories in your installation TDS tree % (also known as \xfile{texmf} tree): % \begin{quote} -% \sbox0{^^A -% \begin{tabular}{@{}>{\ttfamily}l@{$\quad\rightarrow\quad$}>{\ttfamily}l@{}} +% \def\t{^^A +% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}} % centernot.sty & tex/latex/oberdiek/centernot.sty\\ % centernot.pdf & doc/latex/oberdiek/centernot.pdf\\ % centernot.dtx & source/latex/oberdiek/centernot.dtx\\ % \end{tabular}^^A -% }% +% }^^A +% \sbox0{\t}^^A % \ifdim\wd0>\linewidth -% \mbox{}\nobreak\hskip0pt minus\leftmargin -% \usebox0 -% \nobreak\hskip0pt minus\rightmargin +% \begingroup +% \advance\linewidth by\leftmargin +% \advance\linewidth by\rightmargin +% \edef\x{\endgroup +% \def\noexpand\lw{\the\linewidth}^^A +% }\x +% \def\lwbox{^^A +% \leavevmode +% \hbox to \linewidth{^^A +% \kern-\leftmargin\relax +% \hss +% \usebox0 +% \hss +% \kern-\rightmargin\relax +% }^^A +% }^^A +% \ifdim\wd0>\lw +% \sbox0{\small\t}^^A +% \ifdim\wd0>\linewidth +% \ifdim\wd0>\lw +% \sbox0{\footnotesize\t}^^A +% \ifdim\wd0>\linewidth +% \ifdim\wd0>\lw +% \sbox0{\scriptsize\t}^^A +% \ifdim\wd0>\linewidth +% \ifdim\wd0>\lw +% \sbox0{\tiny\t}^^A +% \ifdim\wd0>\linewidth +% \lwbox +% \else +% \usebox0 +% \fi +% \else +% \lwbox +% \fi +% \else +% \usebox0 +% \fi +% \else +% \lwbox +% \fi +% \else +% \usebox0 +% \fi +% \else +% \lwbox +% \fi +% \else +% \usebox0 +% \fi +% \else +% \lwbox +% \fi % \else % \usebox0 % \fi @@ -389,6 +478,10 @@ and the derived files % \item % First version. % \end{Version} +% \begin{Version}{2007/05/31 v1.1} +% \item +% Real symbols added in documentation part. +% \end{Version} % \end{History} % % \PrintIndex |