From 064124bb3133ed92ee926d214a617b8c8f7d89ca Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 30 Nov 2012 23:34:32 +0000 Subject: new latex package apptools (29nov12) git-svn-id: svn://tug.org/texlive/trunk@28400 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/apptools/apptools.sty | 49 +++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/apptools/apptools.sty (limited to 'Master/texmf-dist/tex/latex/apptools') diff --git a/Master/texmf-dist/tex/latex/apptools/apptools.sty b/Master/texmf-dist/tex/latex/apptools/apptools.sty new file mode 100644 index 00000000000..d7c8b49f1b5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/apptools/apptools.sty @@ -0,0 +1,49 @@ +%% +%% This is file `apptools.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% apptools.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Project: apptools +%% Version: 2012/11/28 v1.0 +%% +%% Copyright (c) 2012 by Sebastian Kuhnert +%% +%% This work may be distributed and/or modified under the conditions of the LaTeX +%% Project Public License, either version 1.3c of this license or (at your +%% option) any later version. The latest version of this license is available at +%% http://www.latex-project.org/lppl.txt and version 1.3c or later is part of all +%% distributions of LaTeX version 2008/05/04 or later. +%% +%% This work has the LPPL maintenance status `maintained', the Current Maintainer +%% of this work is Sebastian Kuhnert. +%% +%% This work consists of the main source file apptools.dtx and the derived files +%% apptools.sty, apptools.pdf, apptools.ins, apptools.drv, apptools-test.tex. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{apptools} + [2012/11/28 v1.0 Tools for customizing appendices]% +\def\apptools@hook{\appendixtrue} +\newcommand{\AtAppendix}{% + \g@addto@macro\apptools@hook +} +\let\apptools@origappendix\appendix +\def\appendix{% + \apptools@hook \apptools@origappendix +} +\newif\ifappendix +\newcommand*{\IfAppendix}{% + \ifappendix + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi +} +\endinput +%% +%% End of file `apptools.sty'. -- cgit v1.2.3