https://bugs.documentfoundation.org/show_bug.cgi?id=172940

            Bug ID: 172940
           Summary: Feature request: 'boxed' and cancel commands
           Product: LibreOffice
           Version: 26.2.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Formula Editor
          Assignee: [email protected]
          Reporter: [email protected]

Description:
While developing an improved pandoc export tool for LibreOffice, specifically
targetting the conversion of equations into native StarMath syntax, a clear gap
in the StarMath syntax was the 'boxed' and 'cancel' features in Latex. These
commands (\boxed{}, \cancel{}, \bcancel{}, \xcancel{} and \cancelto{}{}) are
entirely unsupported in LO. They are lesser used, perhaps, but useful in
teaching materials especially. The 'boxed' command allows a particular term in
a equation to have a line drawn around it. Often useful as part of an
explanation for a derivation, etc. The 'cancel' commands provide 'crossing out'
of terms of an equation, for example cancelling terms that occur on both sides
of an equation. \bcancel and \xcancel are useful if cancelling more than one
term at once -- visually different crossing out forms. And \cancelto{0}{x}
allows one to write what the crossed out content is being replaced by, x being
replace by 0 in that case.

This is a request to add support for some kind of equivalent syntax in LO /
StarMath. There are actually very few areas of Latex that don't have some kind
of reasonable StarMath equivalent syntax. This is one of them.



Steps to Reproduce:
1. create math.tex file containing 'here is the equation: ${\boxed{x}} = 5 +
5$'
2. pandoc math.tex -o math.odt (using Pandoc 3.10)
3. open the file in LO

Actual Results:
The 'x' in the equation is not boxed. There is no LO StarMath syntax to support
this.

Expected Results:
Would be lovely if it could have a box around it. 
Similar case with \cancel etc.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 26.2.4.2 (X86_64)
Build ID: 620(Build:2)
CPU threads: 8; OS: Linux 7.0; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Ubuntu package version: 4:26.2.4.2-0ubuntu0.24.04.1~lo1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to