summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/enctex/csfmacro.tex
blob: 5085c702d4cbd50c8f8aa541910ef9cc7a8d576f (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
%%% EncTeX, CS-font encoding specific macros, v.Aug.1997 (C) Petr Ol\v s\'ak

       %% Accents
\def\`#1{{\accent18 #1}}
\def\'#1{{\accent19 #1}}
\def\v#1{{\accent20 #1}}
\def\u#1{{\accent21 #1}}
\def\=#1{{\accent22 #1}}
\def\^#1{{\accent94 #1}}
\def\.#1{{\accent95 #1}}
\def\H#1{{\accent"7D #1}}
\def\~#1{{\accent"7E #1}}
\def\"#1{{\accent"7F #1}}
\def\r#1{{\accent23 #1}}
       %% Baseline accents
\def\b#1{\oalign{#1\crcr\hidewidth
    \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}
\def\c#1{\setbox0\hbox{#1}\ifdim\ht0=1ex\accent24 #1%
   \else{\ooalign{\hidewidth\char24\hidewidth\crcr\unhbox0}}\fi}
\def\og #1{\setbox0\hbox{#1}\ifdim\ht0=1ex\accent157 #1%
   \else{\ooalign{\unhbox0\crcr\hss\char157}}\fi}
       %% for backward compatibility:
\let\ogonek=\og
\def\softd{\v{d}}\def\softt{\v{t}}\def\ou{\r{u}}%
\def\softl{\v{l}}\def\softL{\v{L}}
       %% for compatibility with hyphen.lan file:
\let\csaccents=\relax \let\cmaccents=\relax
       %% Czech left a right double qoutes
\chardef\clqq=254  \sfcode254=0
\chardef\crqq=255  \sfcode255=0
       %% French double quotes
\chardef\flqq=158  \sfcode158=0
\chardef\frqq=159  \sfcode159=0
       %% Single quotes
\chardef\clq=44   %% Comma is similar to left sigle quota
\chardef\crq=96   \sfcode96=0
       %% Other characters
\def\pound{{\it\$}}
\chardef\promile=141
\def\registered{\ooalign
   {\hfil\raise.73ex\hbox{\kern.1em$\scriptstyle\rm R$}\hfil
    \crcr\raise.7ex\hbox{\mathhexbox20D}}}
\def\trademark{$\mathsurround=0pt^{\rm TM}$}
\def\pipe{\leavevmode
   \vbox{\offinterlineskip\partofpipe\kern.5ex\partofpipe\kern-.5ex}}
\def\partofpipe{\hbox to.5em{\hss\vrule height1ex\hss}}
       %% The czech quotes:
\def\uv {\leavevmode  %  ,,text``
  \bgroup\aftergroup\crqq \afterassignment\clqq \let\next=}
\def\fuv{\leavevmode  %  >>text<<
  \bgroup\aftergroup\flqq \afterassignment\frqq \let\next=}
\def\uvo{\leavevmode  %  ,text`
  \bgroup\aftergroup\crq  \afterassignment\clq  \let\next=}