From 372601f1ffda74824d5d8854bca26755facc59a0 Mon Sep 17 00:00:00 2001 From: Oscar Nierstrasz Date: Tue, 16 Dec 2008 14:35:43 +0000 Subject: [PATCH] macros synced git-svn-id: https://www.iam.unibe.ch/scg/svn_repos/SqueakByExample/Book@23568 54883e8d-cf1d-0410-83d6-f114b9419f37 --- common.tex | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/common.tex b/common.tex index ae643f6c..7d38e021 100644 --- a/common.tex +++ b/common.tex @@ -119,6 +119,8 @@ \newcommand{\orla}[1]{\nnbb{Orla}{#1}} \newcommand{\alex}[1]{\nnbb{Alex}{#1}} \newcommand{\alx}[1]{\nnbb{Alex}{#1}} +\newcommand{\dr}[1]{\nnbb{David}{#1}} +\newcommand{\ja}[1]{\nnbb{Jannik}{#1}} \newcommand{\here}{\nnbb{CONTINUE}{HERE}} %============================================================= %:Abbreviation macros @@ -158,6 +160,9 @@ \newcommand{\clsref}[1]{class~\ref{cls:#1}\xspace} \newcommand{\tclsref}[1]{the class~\ref{cls:#1}\xspace} \newcommand{\Tclsref}[1]{The class~\ref{cls:#1}\xspace} + +\newcommand{\figlabel}[1]{\label{fig:#1}} +\newcommand{\seclabel}[1]{\label{sec:#1}} %============================================================= %:Menu item macro % for menu items, so we can change our minds on how to print them! (apb) @@ -294,8 +299,9 @@ \newcommand{\answer}{\paragraph{Answer}\ } %============================================================= %:Listings package configuration -\newcommand{\caret}{\makebox{\raisebox{0.4ex}{\footnotesize{$\wedge$}}}} -\usepackage{listings} +% \newcommand{\caret}{\makebox{\raisebox{0.4ex}{\footnotesize{$\wedge$}}}} +\newcommand{\caret}{\^\,} +\newcommand{\escape}{{\sf \textbackslash}}\usepackage{listings} \lstdefinelanguage{Smalltalk}{ % morekeywords={self,super,true,false,nil,thisContext}, % This is overkill morestring=[d]',