Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
xcaruso committed Oct 20, 2018
1 parent 9e85f91 commit fb3bbaa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/sage/misc/latex.py
Expand Up @@ -625,8 +625,8 @@ def latex_extra_preamble():
\newcommand{\QQ}{\Bold{Q}}
\newcommand{\QQbar}{\overline{\QQ}}
\newcommand{\GF}[1]{\Bold{F}_{#1}}
\newcommand{\Zp}[1]{\ZZ_{#1}}
\newcommand{\Qp}[1]{\QQ_{#1}}
\newcommand{\Zp}[1]{\Bold{Z}_{#1}}
\newcommand{\Qp}[1]{\Bold{Q}_{#1}}
\newcommand{\Zmod}[1]{\ZZ/#1\ZZ}
\newcommand{\CDF}{\Bold{C}}
\newcommand{\CIF}{\Bold{C}}
Expand Down
2 changes: 1 addition & 1 deletion src/sage/schemes/affine/affine_space.py
Expand Up @@ -308,7 +308,7 @@ def _latex_(self):
TESTS::
sage: AffineSpace(3, Zp(5), 'y')._latex_()
'\\mathbf{A}_{\\ZZ_{5}}^3'
'\\mathbf{A}_{\\Bold{Z}_{5}}^3'
"""
return "\\mathbf{A}_{%s}^%s"%(latex(self.base_ring()), self.dimension_relative())

Expand Down
2 changes: 1 addition & 1 deletion src/sage/schemes/projective/projective_space.py
Expand Up @@ -575,7 +575,7 @@ def _latex_(self):
TESTS::
sage: ProjectiveSpace(3, Zp(5), 'y')._latex_()
'{\\mathbf P}_{\\ZZ_{5}}^3'
'{\\mathbf P}_{\\Bold{Z}_{5}}^3'
"""
return "{\\mathbf P}_{%s}^%s"%(latex(self.base_ring()), self.dimension_relative())

Expand Down

0 comments on commit fb3bbaa

Please sign in to comment.