diff options
author | Karl Berry <karl@freefriends.org> | 2018-04-29 22:36:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-04-29 22:36:26 +0000 |
commit | f3b8211e18e1d53d0aa1e0412c0765e1178bb509 (patch) | |
tree | ea7ab07bfac5f48e64567a8df27b91addd722637 /Master/texmf-dist/source/latex/siunitx/siunitx-v2.dtx | |
parent | a824ebbc1915d27c9e93507a0729350f7507320f (diff) |
siunitx (27apr18)
git-svn-id: svn://tug.org/texlive/trunk@47489 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx/siunitx-v2.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-v2.dtx | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-v2.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-v2.dtx new file mode 100644 index 00000000000..7eaac797d0c --- /dev/null +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-v2.dtx @@ -0,0 +1,97 @@ +% \iffalse meta-comment +% +% File: siunitx-v2.dtx Copyright (C) 2016-2017 Joseph Wright +% +% It may be distributed and/or modified under the conditions of the +% LaTeX Project Public License (LPPL), either version 1.3c of this +% license or (at your option) any later version. The latest version +% of this license is in the file +% +% https://www.latex-project.org/lppl.txt +% +% This file is part of the "siunitx bundle" (The Work in LPPL) +% and all files in that bundle must be distributed together. +% +% The released version of this bundle is available from CTAN. +% +% ----------------------------------------------------------------------- +% +% The development version of the bundle can be found at +% +% https://github.com/josephwright/siunitx +% +% for those people who are interested. +% +% ----------------------------------------------------------------------- +% +%<*driver> +\documentclass{l3doc} +% The next line is needed so that \GetFileInfo will be able to pick up +% version data +\usepackage{siunitx} +\begin{document} + \DocInput{\jobname.dtx} +\end{document} +%</driver> +% \fi +% +% \GetFileInfo{siunitx.sty} +% +% \title{^^A +% \pkg{siunitx-v2} -- Version~2 compatibility^^A +% \thanks{This file describes \fileversion, +% last revised \filedate.}^^A +% } +% +% \author{^^A +% Joseph Wright^^A +% \thanks{^^A +% E-mail: +% \href{mailto:joseph.wright@morningstar2.co.uk} +% {joseph.wright@morningstar2.co.uk}^^A +% }^^A +% } +% +% \date{Released \filedate} +% +% \maketitle +% +% \begin{documentation} +% +% \end{documentation} +% +% \begin{implementation} +% +% \section{\pkg{siunitx-v2} implementation} +% +% Start the \pkg{DocStrip} guards. +% \begin{macrocode} +%<*cfg> +% \end{macrocode} +% +% Identify the internal prefix (\LaTeX3 \pkg{DocStrip} convention). In contrast +% to other parts of the bundle, the functions here may need to redefine those +% from various submodules. +% \begin{macrocode} +%<@@=siunitx> +% \end{macrocode} +% +% The old |s| column type is handled by using the functionality of +% \pkg{collcell}. +% \begin{macrocode} +\RequirePackage { collcell } +\AtBeginDocument + { + \@@_declare_column:Nnn s + { \collectcell \unit } + { \endcollectcell } + } +% \end{macrocode} +% +% \begin{macrocode} +%</cfg> +% \end{macrocode} +% +% \end{implementation} +% +% \PrintIndex
\ No newline at end of file |