Skip to content

LaTeX typeseting of SR.wild should prefix $ with \ #15047

@sagetrac-aginiewicz

Description

@sagetrac-aginiewicz

Currently calling

latex(SR.wild(0))

results in '$0'. When using this with SageTeX, it causes issues due to special meaning of $ in TeX. I believe this call should return '$0' instead. For now when using SageTeX I have to use something like

LatexExpr(latex(SR.wild(0)).replace(r'$',r'\$'))

Depends on #18237

Upstream: Fixed upstream, in a later stable release.

Component: symbolics

Keywords: pynac wildcard latex

Author: Ralf Stephan

Branch/Commit: ef13c36

Reviewer: Jan Keitel

Issue created by migration from https://trac.sagemath.org/ticket/15047

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions