From 4ba576c84e884c6758797d448faa94e0e2b177e0 Mon Sep 17 00:00:00 2001 From: John Jones Date: Tue, 11 Jul 2023 11:39:06 -0400 Subject: [PATCH] Removing text in math mode --- lmfdb/groups/abstract/web_groups.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lmfdb/groups/abstract/web_groups.py b/lmfdb/groups/abstract/web_groups.py index 92bd9ee15b..8794cdb23a 100644 --- a/lmfdb/groups/abstract/web_groups.py +++ b/lmfdb/groups/abstract/web_groups.py @@ -1011,12 +1011,12 @@ def display_profile_line(order, subs): # TODO: Deal with the orders where all we know is a count from normal_counts if len(tup) > 3: if tup[5] is None: - ord_str = "\\text{unknown group of order }" + str(tup[6]) + ord_str = "unidentified group of order " + str(tup[6]) else: - ord_str = tup[5] + ord_str = rf'${tup[5]}$' l.append( abstract_group_display_knowl(label, name=f"${tex}$", ambient=self.label, aut=bool(aut), profiledata=tuple(tup)) - + ("" if len(tup) == 3 else " ( $%s$ )" % (ord_str)) + + ("" if len(tup) == 3 else " (%s)" % (ord_str)) + (" x " + str(cnt) if cnt > 1 else "") ) return sep.join(l)