diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/dashundergaps/README | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/dashundergaps/dashundergaps.pdf | bin | 0 -> 94825 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty | 68 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/dashundergaps.tlpsrc | 0 |
6 files changed, 82 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/dashundergaps/README b/Master/texmf-dist/doc/latex/dashundergaps/README new file mode 100644 index 00000000000..1c729ac893c --- /dev/null +++ b/Master/texmf-dist/doc/latex/dashundergaps/README @@ -0,0 +1,12 @@ +This is the README file of the dashundergaps package. + +To use the dashundergaps package correctly, please install the .sty +file in your LaTeX distribution, or use it in the directories of your +files which use dashundergaps. + +This material is subject to the LaTeX project Public License. See +http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for +the details of that license. + +You can have more info on this at +http://www.student.montefiore.ulg.ac.be/~merciadri/#dashundergapspckg.
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/dashundergaps/dashundergaps.pdf b/Master/texmf-dist/doc/latex/dashundergaps/dashundergaps.pdf Binary files differnew file mode 100644 index 00000000000..d0494868226 --- /dev/null +++ b/Master/texmf-dist/doc/latex/dashundergaps/dashundergaps.pdf diff --git a/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty b/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty new file mode 100644 index 00000000000..d06feab9f74 --- /dev/null +++ b/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty @@ -0,0 +1,68 @@ +%% This is file `dashundergaps.sty.' + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{dashundergaps}[2009/11/12 Dashing and underlining (phantom) text] +\PackageInfo{dashundergaps}{This is DashUnderGaps by Merciadri Luca.} + +\RequirePackage{ifthen}[1994/06/01] +\RequirePackage{ulem} +\newboolean{dot} % false at start +\newboolean{dash} % false at start + + +\DeclareOption{dash}{% +\typeout{Dashing mode activated!} +\setboolean{dash}{true} +\def\dashuline{\bgroup +\ifdim\ULdepth=\maxdimen +\settodepth\ULdepth{(j}\advance\ULdepth.4pt\fi +\markoverwith{\kern.15em +\vtop{\kern\ULdepth \hrule width .3em}% +\kern.15em}\ULon} +} + + +\DeclareOption{dot}{% +\typeout{Dotting mode activated!} +\setboolean{dot}{true} +\def\dotuline{\bgroup +\ifdim\ULdepth=\maxdimen +\settodepth\ULdepth{(j}\advance\ULdepth.4pt\fi +\markoverwith{\begingroup +\advance\ULdepth0.08ex +\lower\ULdepth\hbox{\kern.15em .\kern.1em}% +\endgroup}\ULon} +} + + +\DeclareOption{phantomtext}{% +\typeout{Phantom mode activated! All the gaps will be filled.} +\newboolean{teachernotes} % false at start +\newcounter{nb-gaps} +\setcounter{nb-gaps}{1} +\newcounter{nth-gaps} +\setcounter{nth-gaps}{1} + +\newcommand{\gap}[1]{% +\ifthenelse{\boolean{teachernotes}} +{\textbf{#1} (\arabic{nth-gaps})} +{\ifthenelse{\boolean{dash} \AND \boolean{dot}}{\underline{\phantom{#1}} (\arabic{nth-gaps})}{\ifthenelse{\boolean{dash}}{\dashuline{\phantom{#1}} (\arabic{nth-gaps})}{\ifthenelse{\boolean{dot}}{\dotuline{\phantom{#1}} (\arabic{nth-gaps})}{\underline{\phantom{#1}} (\arabic{nth-gaps})}}}} +\addtocounter{nb-gaps}{1} +\addtocounter{nth-gaps}{1} +}} + + +\DeclareOption{teachernotes}{% +\typeout{Phantom mode deactivated! All the gaps will be filled with their content.} +\setboolean{teachernotes}{true} +} + + +\DeclareOption{displaynbgaps}{% +\typeout{Gaps counting mode activated!} +\addtocounter{nb-gaps}{-1} +\AtEndDocument{\vfill \centering \bfseries GAPS: \arabic{nb-gaps}.} +} + +\ProcessOptions\relax + diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 20040b0ffdd..640068dad16 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -75,7 +75,7 @@ my @WorkingTLP = qw( cursolatex cursor cuisine currvita curve curve2e curves custom-bib cv cweb-latex cyklop cyrillic - dancers dashbox dashrule datatool + dancers dashbox dashrule dashundergaps datatool dateiliste datetime dcpic decimal dehyph-exptl delimtxt diagmac2 digiconfigs din1505 dinat dingbat directory dirtree disser dk-bib dlfltxb diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index c03ee930988..fe99957dee1 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -107,6 +107,7 @@ depend cv depend cweb-latex depend dashbox depend dashrule +depend dashundergaps depend datatool depend dateiliste depend datenumber diff --git a/Master/tlpkg/tlpsrc/dashundergaps.tlpsrc b/Master/tlpkg/tlpsrc/dashundergaps.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/dashundergaps.tlpsrc |