slatex / sTeX

A semantic Extension of TeX/LaTeX
49 stars 9 forks source link

presentation improvements for mcb and scb #395

Closed kohlhase closed 7 months ago

kohlhase commented 11 months ago

currently, {mcb} and {scb} could use a bit more love in the presentation. In the moment,

  \begin{subproblem}
    There is a walk from $a$ to $b$ that visits each \sr{node}{vertex} of $G$ ...
    \begin{subproblem}
      ...at most once.
      \begin{scb}[style=inline]
        \scc[T]{\sn{constant}}
        \scc{\sn{linear}, i.e. $\atmost{\natplus{\card\nodes,\card\edges}}$}
        \scc{\sn{polynomial}}
        \scc{\sn{exponential}}
      \end{scb}
    \end{subproblem}

(from MathHub/problems/maai-test/source/logic/prob/graph-complexities-lutz.en.tex gives

Screenshot 2023-08-04 at 14 45 36

with

Screenshot 2023-08-04 at 14 47 25

below.

There are a couple of problems:

Jazzpirate commented 7 months ago

done