sphinx-proof icon indicating copy to clipboard operation
sphinx-proof copied to clipboard

Support a generic numbered directive with user defined name and other properties

Open shailesh1729 opened this issue 3 years ago • 1 comments

Is there a plan to support a generic numbered directive where the actual name and color of the directive can be user controlled? In LateX one can create new theorem environments with whatever name one chooses. I keep thinking of a few more directive types like "fact", "hypothesis", "exercise" "challenge", etc.. Some directives are too specific to a particular domain [e.g. "constraint qualification" which is specific for Lagrangian duality].

Originally posted by @shailesh1729 in https://github.com/executablebooks/sphinx-proof/issues/80#issuecomment-1182831618

In some sense, this will reduce the documentation work as users will be free to create their own directives.

shailesh1729 avatar Jul 14 '22 14:07 shailesh1729

Just adding my voice to this. And specifically looking for an ‘exercise’ option

joelmiller avatar Sep 26 '25 03:09 joelmiller