Skip to content

Feature request: Improve equation number style in docx output #29

@shixuguo

Description

@shixuguo

based on pandoc-eqnos, I can do some simple numbered work in converting markdown to docx.

however, the style in docx seems wrong.

in current style, the equation and number looks like below

default

where the equation and number are both in OMML, and there are two space between equation and number.

More common style for numbered equation is as below:

2

equation and number are in a three-column table.
equation is centered and number is right-aligned .
and the number should be plain text not in OMML.

I have tried code below:

+----+:-----------------:+--------------:+
|         | $$y=f(x)$$         | {#eq:1}           |
+-----+-----------------+---------------+

and pandoc-eqnos failed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions