summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/slantsc/slantsc.sty
blob: d9139f6177b5c2ea92c3c74e08b65780f2c73453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
%%
%% This is file `slantsc.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% slantsc.dtx  (with options: `package')
%% 
%%   slantsc package
%% 
%%   Copyright  2003, 2012 Harald Harders
%% 
%%   This program can be 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 any later version.
%% 
%%   harald.harders@gmx.de
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{slantsc}
  [2012/01/01  v2.11  Provide Slanted an Italic Small Caps]
\RequirePackage{ifthen}
\DeclareFontFamily{T1}{cmr}{}
\DeclareFontShape{T1}{cmr}{m}{scsl}%
{<5><6><7><8><9><10><10.95><12><14.4>%
  <17.28><20.74><24.88><29.86><35.83>genb*ecsc}{}
\DeclareFontShape{T1}{cmr}{bx}{scsl}%
{<5><6><7><8><9><10><10.95><12><14.4>%
  <17.28><20.74><24.88><29.86><35.83>genb*ecoc}{}
\DeclareFontShape{T1}{cmr}{m}{scit}{<->ssub * cmr/m/scsl}{}
\DeclareFontShape{T1}{cmr}{bx}{scit}{<->ssub * cmr/bx/scsl}{}
\providecommand*\scitdefault{\scdefault\itdefault}
\providecommand*\scsldefault{\scdefault\sldefault}
\DeclareRobustCommand\upshape{%
  \not@math@alphabet\upshape\relax
  \ifthenelse{\equal{\f@shape}{\scdefault}\or
    \equal{\f@shape}{\scitdefault}\or\equal{\f@shape}{\scsldefault}}{%
    \fontshape\scdefault
  }{%
    \fontshape\updefault
  }%
  \selectfont
}
\DeclareRobustCommand\slshape{%
  \not@math@alphabet\slshape\relax
  \ifthenelse{\equal{\f@shape}{\scdefault}\or
    \equal{\f@shape}{\scitdefault}\or\equal{\f@shape}{\scsldefault}}{%
    \fontshape\scsldefault
  }{%
    \fontshape\sldefault
  }%
  \selectfont
}
\DeclareRobustCommand\itshape{%
  \not@math@alphabet\itshape\relax
  \ifthenelse{\equal{\f@shape}{\scdefault}\or
    \equal{\f@shape}{\scitdefault}\or\equal{\f@shape}{\scsldefault}}{%
    \fontshape\scitdefault
  }{%
    \fontshape\itdefault
  }%
  \selectfont
}
\DeclareRobustCommand\scshape{%
  \not@math@alphabet\scshape\relax
  \ifthenelse{\equal{\f@shape}{\scdefault}\or
    \equal{\f@shape}{\scitdefault}\or\equal{\f@shape}{\scsldefault}}{%
  }{%
    \ifthenelse{\equal{\f@shape}{\itdefault}}{%
      \fontshape\scitdefault
    }{%
      \ifthenelse{\equal{\f@shape}{\sldefault}}{%
        \fontshape\scsldefault
      }{%
        \fontshape\scdefault
      }%
    }%
  }%
  \selectfont
}
\DeclareRobustCommand\noscshape{%
  \not@math@alphabet\noscshape\relax
  \ifthenelse{\equal{\f@shape}{\scdefault}\or
    \equal{\f@shape}{\scitdefault}\or\equal{\f@shape}{\scsldefault}}{%
    \ifthenelse{\equal{\f@shape}{\scitdefault}}{%
      \fontshape\itdefault
    }{%
      \ifthenelse{\equal{\f@shape}{\scsldefault}}{%
        \fontshape\sldefault
      }{%
        \fontshape\updefault
      }%
    }%
  }{%
  }%
  \selectfont
}
\endinput
%%
%% End of file `slantsc.sty'.