summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/polyglot/langs/german.ot1
blob: de1edfbb8fb575addd5f3e6240dfa88999654be8 (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
% Copyright 1997 Javier Bezos-L\'opez. All rights reserved.
% 
% This file is part of the polyglot system release 1.1.
% --------------------------------------------------
%
% 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.

\ProvidesFile{german.ot1}

\def\german@lowumlaut#1{\allowhyphens
  {\@tempdima\fontdimen5\font\setbox\z@\hbox{\char127}%
   \@tempdimb-.45ex\advance\@tempdimb\ht\z@
   \ifdim1ex<\@tempdimb\fontdimen5\font\@tempdimb\fi%
   {\accent127 \fontdimen5\font\@tempdima #1}}\allowhyphens }

\DeclareLanguageCompositeCommand{\"}{OT1}{a}
  {\german@lowumlaut a}
\DeclareLanguageCompositeCommand{\"}{OT1}{o}
  {\german@lowumlaut o}
\DeclareLanguageCompositeCommand{\"}{OT1}{u}
  {\german@lowumlaut u}
\DeclareLanguageCompositeCommand{\"}{OT1}{A}
  {\german@lowumlaut A}
\DeclareLanguageCompositeCommand{\"}{OT1}{O}
  {\german@lowumlaut O}
\DeclareLanguageCompositeCommand{\"}{OT1}{U}
  {\german@lowumlaut U}

\DeclareLanguageTextCommand{\guillemotleft}{OT1}
  {{\leavevmode\count@\spacefactor
    \setbox\z@\hbox{$\scriptscriptstyle\langle\mkern-4mu\langle$}%
    \raise.74\dp\z@\box\z@\spacefactor\count@}}
\DeclareLanguageTextCommand{\guillemotright}{OT1}
  {{\leavevmode\count@\spacefactor
    \setbox\z@\hbox{$\scriptscriptstyle\rangle\mkern-4mu\rangle$}%
    \raise.74\dp\z@\box\z@}}

\DeclareLanguageTextCommand{\quotedblbase}{OT1}
  {{\leavevmode\count@\spacefactor
    \setbox\z@\hbox{,}\@tempdima-\ht\z@
    \setbox\z@\hbox{''}\advance\@tempdima\ht\z@
    \lower\@tempdima\box\z@\spacefactor\count@}}
\DeclareLanguageTextCommand{\quotesinglbase}{OT1}
  {{\leavevmode\count@\spacefactor
    \setbox\z@\hbox{,}\@tempdima-\ht\z@
    \setbox\z@\hbox{'}\advance\@tempdima\ht\z@
    \lower\@tempdima\box\z@\spacefactor\count@}}

\endinput