From 060be5578b2542713d665ff81a86c1bcbea4e6a0 Mon Sep 17 00:00:00 2001 From: Jan Benda Date: Tue, 10 Dec 2019 19:25:15 +0100 Subject: [PATCH] selectlanguage for \determ --- header.tex | 2 +- scientificcomputing-script.tex | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/header.tex b/header.tex index 8a8f55f..0369ca7 100644 --- a/header.tex +++ b/header.tex @@ -226,7 +226,7 @@ % \determ[index entry]{} % typeset the term in quotes and add it (or the optional argument) to % the german index. -\newcommand{\determ}[2][]{\selectlanguage{german}``#2''\selectlanguage{english}\ifthenelse{\equal{#1}{}}{\protect\sindex[determ]{#2}}{\protect\sindex[determ]{#1}}} +\newcommand{\determ}[2][]{\selectlanguage{ngerman}``#2''\selectlanguage{english}\ifthenelse{\equal{#1}{}}{\protect\sindex[determ]{#2}}{\protect\sindex[determ]{#1}}} \newcommand{\file}[1]{\texttt{#1}} diff --git a/scientificcomputing-script.tex b/scientificcomputing-script.tex index 65f1a22..8e20397 100644 --- a/scientificcomputing-script.tex +++ b/scientificcomputing-script.tex @@ -114,7 +114,9 @@ \printindex[enterm] +\selectlanguage{ngerman} \printindex[determ] +\selectlanguage{english} %\setindexprenote{Some explanations.} %\printindex[pcode]