summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/latex/aeb-mobile/spdef.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2018-06-11 12:38:32 +0900
committerNorbert Preining <norbert@preining.info>2018-06-11 12:38:32 +0900
commitfbc73b62c78b771a4d7064eb308e1feaac2cd046 (patch)
tree10e8b0d4436dcf584f44238f78418ff522c2d9e9 /texmf-dist/tex/latex/aeb-mobile/spdef.sty
parentd2a693db266c86383445df581593a627a79f5140 (diff)
add aeb-mobile
Diffstat (limited to 'texmf-dist/tex/latex/aeb-mobile/spdef.sty')
-rw-r--r--texmf-dist/tex/latex/aeb-mobile/spdef.sty42
1 files changed, 42 insertions, 0 deletions
diff --git a/texmf-dist/tex/latex/aeb-mobile/spdef.sty b/texmf-dist/tex/latex/aeb-mobile/spdef.sty
new file mode 100644
index 00000000..0b4b3006
--- /dev/null
+++ b/texmf-dist/tex/latex/aeb-mobile/spdef.sty
@@ -0,0 +1,42 @@
+%%
+%% This is file `spdef.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% spdef.dtx (with options: `copyright,package')
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% spdef.sty package, 2012-01-22 %%
+%% Copyright (C) 2012 D. P. Story %%
+%% dpstory@uakron.edu %%
+%% %%
+%% This program can redistributed and/or modified under %%
+%% the terms of the LaTeX Project Public License %%
+%% Distributed from CTAN archives in directory %%
+%% macros/latex/base/lppl.txt; either version 1 of the %%
+%% License, or (at your option) any later version. %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{spdef}
+ [2012/08/20 v1.2 Defines a switch for smartphone]
+\RequirePackage{kvoptions}[2009/07/21]
+\newif\ifsmartphone \smartphonefalse
+\DeclareVoidOption{ph}{\smartphonetrue}
+\DeclareVoidOption{pa}{\smartphonefalse}
+\DeclareVoidOption{!ph}{\smartphonefalse}
+\DeclareVoidOption{!pa}{\smartphonetrue}
+\define@key{spdef}{use}{\@ifundefined{#1}{%
+ \expandafter\newif\csname if#1\endcsname}{}\csname#1true\endcsname}
+\define@key{spdef}{!use}{\@ifundefined{#1}{%
+ \expandafter\newif\csname if#1\endcsname}{}\csname#1false\endcsname}
+\ProcessKeyvalOptions{spdef}
+\def\ifsp@default#1#2{\ifsmartphone
+ \expandafter\def\csname sp@next\endcsname{#1}\else
+ \expandafter\def\csname sp@next\endcsname{#2}\fi\sp@next}
+\def\ifsp@expand#1#2{\ifsmartphone#1\else#2\fi}
+\let\ifsp\ifsp@default
+\newcommand{\expexe}[1]{\edef\sp@expexe{\noexpand#1}\sp@expexe}
+\endinput
+%%
+%% End of file `spdef.sty'.