Uploaded image for project: 'LaTeX'
  1. LaTeX
  2. LATEX-79

Correct Translation of Backslash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 1.9.1
    • Syntax
    • None
    • Unknown
    • N/A
    • N/A

    Description

      The LaTeX template SpecialSymbolBlock translates a backslash as

      #elseif ($latex.block.getSymbol() == '\')
        \$\backslash\$##
      

      This doesn't compile, since the dollar signs are escaped and do not enter/leave math mode. Actually math mode isn't necessary. The following will do:

      #elseif ($latex.block.getSymbol() == '\')
        \textbackslash{}##
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            Kido Guido Kracke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: