summaryrefslogtreecommitdiff
path: root/lltxb-dtxstyle.tex
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-11-08 06:25:18 +0100
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-11-11 15:53:11 +0100
commit56621dd318ee45d055ca94eed8ff4cdd2cab73aa (patch)
treebb71c2997f86d7047a68be7b775d1fc99a8c9358 /lltxb-dtxstyle.tex
parentd32313ab75f009ed9a806b41b08c9bd881c6bb36 (diff)
downloadluatexbase-56621dd318ee45d055ca94eed8ff4cdd2cab73aa.tar.gz
error if not luatex
Diffstat (limited to 'lltxb-dtxstyle.tex')
-rw-r--r--lltxb-dtxstyle.tex38
1 files changed, 20 insertions, 18 deletions
diff --git a/lltxb-dtxstyle.tex b/lltxb-dtxstyle.tex
index 01232b6..52771b4 100644
--- a/lltxb-dtxstyle.tex
+++ b/lltxb-dtxstyle.tex
@@ -1,41 +1,43 @@
% preamble for dtx documentations of the luatexbase package/bundle.
+% packages
\usepackage[T1]{fontenc}
+\usepackage{textcomp}
\usepackage{lmodern}
-\usepackage{geometry}
\usepackage{xspace}
+\usepackage[a4paper]{geometry}
\usepackage[english]{babel}
\usepackage[colorlinks]{hyperref}
\usepackage{bookmark}
% logos
\makeatletter
-\newcommand\eTeX{$\m@th\varepsilon$-\TeX}
-\newcommand\LuaTeX{Lua\TeX}
-\renewcommand\PlainTeX{Plain\thinspace\TeX}
-\newcommand\TeXe{\TeX\thinspace82}
-\newcommand\TeXLive{\TeX\thinspace Live}
+\newcommand \eTeX {$\m@th\varepsilon$-\TeX}
+\newcommand \LuaTeX {Lua\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}
+\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}
+\newcommand*\email [1] {<\href{mailto:#1}{#1}>}
+\newcommand \file {\nolinkurl}
+\newcommand \pk {\textsf}
+\newcommand \cmdname {\texttt}
% for hyperref
\pdfstringdefDisableCommands{%
\def\cs#1{\@backslashchar #1}%
- }
+}
% easy verbatim
\MakeShortVerb\|