summaryrefslogtreecommitdiff
path: root/lltxb-dtxstyle.tex
blob: f3bafb48406480f3c3df243a9b3b1e2ee2d0d04f (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
% preamble for dtx documentations of the luatexbase package/bundle.

\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{geometry}
\usepackage{xspace}
\usepackage[english]{babel}
\usepackage[colorlinks]{hyperref}
\usepackage{bookmark}

% logos
\makeatletter
\newcommand\eTeX{$\m@th\varepsilon$-\TeX}
\newcommand\LuaTeX{Lua\kern-0.08333em\TeX}
\renewcommand\PlainTeX{Plain\thinspace\TeX}
\newcommand\TeXe{\TeX\thinspace82}
\newcommand\TeXLive{\TeX\thinspace Live}
\makeatother

% logos for the lazy me (mpg)
\newcommand\tex{\TeX\xspace}
\newcommand\latex{\LaTeX\xspace}
\newcommand\etex{\eTeX\xspace}
\newcommand\luatex{\LuaTeX\xspace}
\newcommand\texe{\TeXe\xspace}
\newcommand\texlive{\TeXLive\xspace}
\newcommand\plaintex{\PlainTeX\xspace}

% special elements of text
\newcommand\file{\nolinkurl}
\newcommand\email[1]{\href{mailto:#1}{#1}}
\newcommand\pk{\textsf}
\newcommand\cmdname{\texttt}

% easy verbatim
\MakeShortVerb\|