Skip to content

Commit

Permalink
Removing text in math mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jwj61 committed Jul 11, 2023
1 parent 90e93de commit 4ba576c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lmfdb/groups/abstract/web_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4ba576c

Please sign in to comment.