# Gentoo Archives: gentoo-pms

From: Ulrich Mueller gentoo-pms@l.g.o [gentoo-pms] "Command \t invalid in math mode" error in names.tex Sat, 06 Mar 2010 09:09:41 19346.7115.858034.462854@a1i15.kph.uni-mainz.de
For some reason (I suspect something is more strict in TeXLive 2009)
I'm getting the following error in names.tex:

LaTeX Warning: Command \t invalid in math mode on input line 189.
! Please use \mathaccent for accents in math mode.

The patch below fixes it for me, please review and commit.

Ulrich

From f008203ff81409c6bca264d7b6a3eb8914ad439f Mon Sep 17 00:00:00 2001
From: Ulrich Mueller <ulm@g.o>
Date: Sat, 6 Mar 2010 10:00:49 +0100
Subject: [PATCH] Fix "Command \t invalid in math mode" error that occurs with TeXLive 2009.

---
names.tex |    4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/names.tex b/names.tex
index 2ee5089..b12086a 100644
--- a/names.tex
+++ b/names.tex
@@ -186,8 +186,8 @@ from which it was invoked.
\begin{algorithm}
\caption{Version comparison logic for revision components} \label{alg:version-comparison-revision}
\begin{algorithmic}[1]
-  \STATE let $Ar$ be the integer part of the revision component of $A$ if any, otherwise $\t{0}$
-  \STATE let $Br$ be the integer part of the revision component of $B$ if any, otherwise $\t{0}$
+  \STATE let $Ar$ be the integer part of the revision component of $A$ if any, otherwise \t{0}
+  \STATE let $Br$ be the integer part of the revision component of $B$ if any, otherwise \t{0}
\IF{$Ar>Br$ using integer comparison}
\RETURN $A>B$
\ELSIF{$Ar<Br$ using integer comparison}
--
1.7.0