diff options
author | Karl Berry <karl@freefriends.org> | 2011-05-13 22:29:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-05-13 22:29:11 +0000 |
commit | af97fd519b6d7cfd718d9bf9442f05e1095d2be7 (patch) | |
tree | 9f754cd1e7d3da0a14d98e2a69e7bf77cdcf24e6 /Master/texmf-dist/tex/latex/eskdx/eskddstu.sty | |
parent | a120fe81ec01c892c26137a3c7f7f992213f930a (diff) |
eskdx 0.98 (13may11)
git-svn-id: svn://tug.org/texlive/trunk@22465 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/eskdx/eskddstu.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/eskdx/eskddstu.sty | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/eskdx/eskddstu.sty b/Master/texmf-dist/tex/latex/eskdx/eskddstu.sty index cc7a038423e..e02474b42fb 100644 --- a/Master/texmf-dist/tex/latex/eskdx/eskddstu.sty +++ b/Master/texmf-dist/tex/latex/eskdx/eskddstu.sty @@ -20,8 +20,30 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{eskddstu}[2006/11/28 v0.97 Ukrainian DSTU implementation] +\ProvidesPackage{eskddstu}[2010/01/20 v0.98 Ukrainian DSTU implementation] -\renewcommand{\thefootnote}{\arabic{footnote})} + +% Настройка пояснений к формулам согласно ДСТУ 3008, п. 7.10.3 + +% временная длина для передачи внутрь окружения {list} +% величины абзацного отступа +\setlength{\ESKDexplanIndent}{\parindent} + +% определим нашу собственную команду для замены \makelabel +\newcommand{\ESKD@dstu@expl@label}[1]{% + \ifthenelse{\equal{}{#1}} + {} + {\hspace{\ESKDexplanIndent}#1}% +} + +\renewenvironment{ESKDexplanation}[1][\ESKDexplanWidth]{% + \begin{list}{}{\setlength{\parsep}{0pt}% + \setlength{\topsep}{0pt}% + \setlength{\itemsep}{0pt}% + \setlength{\labelsep}{0pt}% + \setlength{\labelwidth}{0pt}% + \setlength{\leftmargin}{0pt}% + \let\makelabel\ESKD@dstu@expl@label}}{% + \end{list}} |