summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/upquote/upquote.sty
blob: 6b9d754f2ae3842cece2c97d8608184290e08bd3 (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
%%
%% This is file `upquote.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% upquote.dtx  (with options: `package')
%% 
%% Copyright (C) 2000 by Michael A. Covington
%% Copyright (C) 2003 by Frank Mittelbach
%% Copyright (C) 2012 by Markus Kuhn (current maintainer)
%% 
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{upquote}
   [2012/04/19 v1.3 upright-quote and grave-accent glyphs in verbatim]
\newcommand\upquote@cmtt{cmtt}
\newcommand\upquote@OTone{OT1}
\ifx\encodingdefault\upquote@OTone
  \ifx\ttdefault\upquote@cmtt\else\RequirePackage{textcomp}\fi
\else
  \RequirePackage{textcomp}
\fi
\begingroup
\catcode`'=\active
\catcode``=\active
\g@addto@macro\@noligs
   {\let'\textquotesingle
    \let`\textasciigrave
    \ifx\encodingdefault\upquote@OTone
    \ifx\ttdefault\upquote@cmtt
    \def'{\char13 }%
    \def`{\char18 }%
    \fi\fi}
\endgroup
\endinput
%%
%% End of file `upquote.sty'.