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

Correct Translation of Backslash

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.9.1
    • Fix Version/s: None
    • Component/s: Syntax
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: