mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 00:17:26 +08:00

It appears the support for texlive packages on some hosts is variable. This patch lets us add missing packages to our source tree so a PDF can be built on those hosts. The quality of the PDFs created may vary as some short cuts may have been take. For example lato is a font and only the sty file as been added and not the actual font which means it's use will default to another font.
102 lines
2.8 KiB
TeX
102 lines
2.8 KiB
TeX
%%
|
|
%% 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'.
|