From ba9472aebfed07843bc4faa00c7b96bc86194691 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 4 Oct 2006 08:43:01 +0000 Subject: Fix ctan2tds for pgf installation comment powerdot-doc-vn in tpm-ctan-check, it always breaks Update of the following packages: labelcas pstricks-add sectionbox ltxmisc frenchle flowfram verse emulateapj pst-pdf poemscol babelbib dk-bib breakurl screenplay ncctools xkeyval bibleref muthesis pst-labo pgf ncclatex active-conf xcolor commath lineno dottex makeplo git-svn-id: svn://tug.org/texlive/trunk@2240 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/commath/commath.sty | 42 +++++++++++++++++++------ 1 file changed, 33 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/tex/latex/commath') diff --git a/Master/texmf-dist/tex/latex/commath/commath.sty b/Master/texmf-dist/tex/latex/commath/commath.sty index 19b5875fe47..76a60c9e9e7 100644 --- a/Master/texmf-dist/tex/latex/commath/commath.sty +++ b/Master/texmf-dist/tex/latex/commath/commath.sty @@ -1,18 +1,16 @@ %%% ==================================================================== %%% @LaTeX-file{ %%% filename = "commath.sty", -%%% version = "0.2", -%%% date = "2005", -%%% checksum = "", +%%% version = "0.3", +%%% date = "2006", %%% author = "Wolfgang Putschögl", %%% address = "Johann Radon Institute for Computational and Applied Mathematics (RICAM) %%% Austrian Academy of Sciences -%%% Altenbergerstraße 54 +%%% Altenbergerstraße 69 %%% A-4040 Linz, Austria", %%% email = "Wolfgang.Putschoegl@oeaw.ac.at", %%% codetable = "Western European, iso 8859-15", %%% keywords = "LaTeX", -%%% abstract = "", %%% } %%% ==================================================================== \NeedsTeXFormat{LaTeX2e} % LaTeX 2.09 can't be used (nor non-LaTeX) @@ -23,6 +21,8 @@ % Differential (upface d) \DeclareMathOperator{\dif}{d \!} +% Derivative (upface D) +\DeclareMathOperator{\Dif}{D \!} % Command for partial derivatives. The first argument denotes the function and the second argument denotes the variable with respect to which the derivative is taken. The optional argument denotes the order of differentiation. The style (text style/display style) is determined automatically \providecommand{\pd}[3][]{\ensuremath{ @@ -44,8 +44,30 @@ \dfrac{\partial{^{#1}}#2}{\partial{#3^{#1}}} }}} -% normal derivative - analogous to the partial derivative command -\providecommand{\nd}[3][]{\ensuremath{ +% mixed derivative - analogous to the partial derivative command +% \md{f}{5}{x}{2}{y}{3} +\providecommand{\md}[6]{\ensuremath{ +\ifinner +\tfrac{\partial{^{#2}}#1}{\partial{#3^{#4}}\partial{#5^{#6}}} +\else +\dfrac{\partial{^{#2}}#1}{\partial{#3^{#4}}\partial{#5^{#6}}} +\fi +}} + +% \tpd[2]{f}{k} denotes the second partial derivative of f with respect to k +% The first letter t means "text style" +\providecommand{\tmd}[6]{\ensuremath{\mathinner{ +\tfrac{\partial{^{#2}}#1}{\partial{#3^{#4}}\partial{#5^{#6}}} +}}} +% \dpd[2]{f}{k} denotes the second partial derivative of f with respect to k +% The first letter d means "display style" +\providecommand{\dmd}[6]{\ensuremath{\mathinner{ +\dfrac{\partial{^{#2}}#1}{\partial{#3^{#4}}\partial{#5^{#6}}} +}}} + + +% ordinary derivative - analogous to the partial derivative command +\providecommand{\od}[3][]{\ensuremath{ \ifinner \tfrac{\dif{^{#1}}#2}{\dif{#3^{#1}}} \else @@ -53,13 +75,15 @@ \fi }} -\providecommand{\tnd}[3][]{\ensuremath{\mathinner{ +\providecommand{\tod}[3][]{\ensuremath{\mathinner{ \tfrac{\dif{^{#1}}#2}{\dif{#3^{#1}}} }}} -\providecommand{\dnd}[3][]{\ensuremath{\mathinner{ +\providecommand{\dod}[3][]{\ensuremath{\mathinner{ \dfrac{\dif{^{#1}}#2}{\dif{#3^{#1}}} }}} + + \providecommand{\thmref}[1]{Theorem~\ref{#1}} \providecommand{\exref}[1]{Example~\ref{#1}} \providecommand{\defnref}[1]{Definition~\ref{#1}} -- cgit v1.2.3