mitex-rs / mitex

LaTeX support for Typst, powered by Rust and WASM. https://mitex-rs.github.io/mitex/
https://mitex-rs.github.io/mitex/tools/underleaf.html
Apache License 2.0
287 stars 10 forks source link

feat(converter): support figure and tabular environments #154

Closed OrangeX4 closed 5 months ago

OrangeX4 commented 5 months ago

basic support for figure, table and tabular environments.

#mitext(`
  \begin{table}[ht]
      \centering
      \begin{tabular}{|c|c|}
          \hline
          \textbf{Name} & \textbf{Age} \\
          \hline
          John & 25 \\
          Jane & 22 \\
          \hline
      \end{tabular}
      \caption{This is an example table.}
      \label{tab:example}
  \end{table}
`)

image

Myriad-Dreamin commented 5 months ago

Looks pretty well 🎉