133 lines
3.7 KiB
TeX
133 lines
3.7 KiB
TeX
\documentclass[a5paper,12pt,twoside]{book}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage[osf,p]{libertinus}
|
|
\usepackage{microtype}
|
|
\usepackage[pdfusetitle,hidelinks]{hyperref}
|
|
|
|
\newcommand{\Margins}{hmarginratio=1:1} % Asymmetric margins
|
|
\usepackage[asymmetric,\Margins]{geometry}
|
|
|
|
\usepackage[german,english]{babel}
|
|
|
|
\usepackage[series={A,B},nocritical,noend,noeledsec,noledgroup]{reledmac}
|
|
\usepackage[]{reledpar}
|
|
|
|
\usepackage{fancyhdr}
|
|
\setlength{\headheight}{15pt}
|
|
\renewcommand{\headrulewidth}{0pt}
|
|
|
|
\pagestyle{fancy}
|
|
\fancyhf{}
|
|
\fancyhead[CE]{\textsc{Logisch-Philosophische Abhandlung}}
|
|
\fancyhead[CO]{\textsc{Tractatus Logico-Philosophicus}}
|
|
\fancyfoot[CE,CO]{\thepage}
|
|
|
|
\usepackage{amsmath}
|
|
\usepackage{amssymb}
|
|
|
|
\usepackage{graphicx}
|
|
|
|
\usepackage{enumitem}
|
|
|
|
\onlysideX[A]{L}
|
|
\onlysideX[B]{R}
|
|
|
|
\sidenotemargin{outer}
|
|
\leftnoteupfalse
|
|
\rightnoteupfalse
|
|
|
|
% an English proposition
|
|
\newcommand{\PropositionE}[2]{%
|
|
\label{PropE:#1}\ledsidenote{#1} #2%
|
|
}
|
|
% a German proposition
|
|
\newcommand{\PropositionG}[2]{%
|
|
\label{PropG:#1}\ledsidenote{#1} #2%
|
|
}
|
|
|
|
% reference to an English proposition
|
|
\newcommand{\PropERef}[1]{\hyperref[PropE:#1]{#1}}
|
|
% reference to a German proposition
|
|
\newcommand{\PropGRef}[1]{\hyperref[PropG:#1]{#1}}
|
|
|
|
|
|
% abbreviations for English part
|
|
\newcommand{\idEst}{\textit{i.e.}}
|
|
\newcommand{\IdEst}{\textit{I.e.}}
|
|
\newcommand{\exempliGratia}{\textit{e.g.}}
|
|
\newcommand{\ExempliGratia}{\textit{E.g.}}
|
|
|
|
% abbreviations for German part
|
|
\newcommand{\dasHeiszt}{d.\;h.}
|
|
\newcommand{\zumBeispiel}{z.\;B.}
|
|
\newcommand{\ZumBeispiel}{Z.\;B.}
|
|
\newcommand{\undAndere}{u.\;a.}
|
|
\newcommand{\UndSoWeiter}{U.\;s.\;w.}
|
|
\newcommand{\undSoFort}{u.\;s.\;f.}
|
|
|
|
% several mathematical operators specific to this book
|
|
\newcommand{\Not}[1]{\mathord{\thicksim} #1}
|
|
\newcommand{\DotOp}{\mathbin{.}}
|
|
\newcommand{\BarOp}{\mathbin{|}}
|
|
\newcommand{\Implies}{\supset}
|
|
|
|
% a typesetting error
|
|
\newcommand{\DPtypo}[2]{#2}
|
|
|
|
% a citation in the main text
|
|
\newcommand{\BookTitle}[1]{\emph{#1}}
|
|
|
|
% a German word in the English introduction
|
|
\newcommand{\German}[1]{\foreignlanguage{german}{\emph{#1}}}
|
|
|
|
% ditto commands for tables
|
|
\newcommand{\ditto}{\quotedblbase}
|
|
|
|
\newlength{\DittoLen}
|
|
|
|
\newcommand{\DittoInWords}{%
|
|
\settowidth{\DittoLen}{in}%
|
|
\makebox[\DittoLen]{\ditto}~%
|
|
\settowidth{\DittoLen}{words:}%
|
|
\makebox[\DittoLen]{\ditto}}
|
|
|
|
\newcommand{\DittoInWorten}{%
|
|
\settowidth{\DittoLen}{in}%
|
|
\makebox[\DittoLen]{\ditto}~%
|
|
\settowidth{\DittoLen}{Worten:}%
|
|
\makebox[\DittoLen]{\ditto}}
|
|
|
|
% F and W with spacing for better alignment in large German table
|
|
% (which uses W/F for T/F, W being wider than F)
|
|
\newlength{\WLen} % define a length variable ...
|
|
\settowidth{\WLen}{W} % ... and set it to the width of a W
|
|
\newcommand{\False}{\makebox[\WLen]{F}} % F centered in space of the width of a W ...
|
|
\newcommand{\Wahr}{\makebox[\WLen]{W}} % ... and W to go with it
|
|
|
|
% hack for making the table row below an \hline look less crowded
|
|
\newcommand{\Strut}[1][12pt]{\rule{0pt}{#1}}
|
|
|
|
% four- and five-dot ellipses
|
|
\newcommand{\fourdots}{\mathinner{\ldotp\ldotp\ldotp\ldotp}}
|
|
\newcommand{\fivedots}{\mathinner{\ldotp\ldotp\ldotp\ldotp\ldotp}}
|
|
|
|
% allow a line break (e.g. before a dash)
|
|
\newcommand{\AllowBreak}{\discretionary{}{}{}}
|
|
|
|
% fix hyphenation for some words where LaTeX gets it wrong by default
|
|
\hyphenation{ap-pli-ca-tion atom-ic be-tween de-ter-mined ev-ery-thing ex-is-tence hap-pened iden-ti-cal in-de-pen-dent in-de-pen-dent-ly le-git-i-mate-ly neg-a-tive or-dered phys-ics prop-o-si-tion prop-o-si-tio-nal prop-o-si-tions re-sult-ing Soc-ra-tes wheth-er Witt-gen-stein}
|
|
|
|
% convenience macro for including an image
|
|
\newcommand{\Illustration}[2][0.3\textwidth]{%
|
|
\begin{center}
|
|
\includegraphics*[width=#1]{images/#2.pdf}
|
|
\end{center}
|
|
}
|
|
|
|
\numberlinefalse
|
|
|
|
%%% Local Variables:
|
|
%%% mode: latex
|
|
%%% TeX-master: "tractatus"
|
|
%%% End:
|