Thanks Mark! Martin
On 27/07/2017 18:20, 'Mark S.' via TiddlyWiki wrote:
I think you're asking about using the \newcommand ??
Looking at the Katex library upon which the plugin is based, it kind
of looks like \newcommand isn't there.
A different approach might be to provide substitutions via TW macros. See:
https://groups.google.com/forum/#!searchin/tiddlywiki/katex%7Csort:date/tiddlywiki/vYBfUAriyRU/UzyxnDxZAAAJ
The original request was to do substitution in the text. Looking at
the plugin code, I think that it might be possible to rewrite it so
that it makes use of a data dictionary, allowing a user to define
their own substitutions. But that would still not be quite the same as
defining new commands that take new parameters.
Mark
On Saturday, January 21, 2017 at 11:31:47 PM UTC-8,
Maaaaaaaaaaaaaaartin wrote:
Dear all,
I need to define my own LaTeX commands to efficiently use the
KaTeX plugin. Is there a way to do so? Thanks!
Martin
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/iHgkKgMHfQo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/47f96ca8-746c-4dee-bb9c-01be49c182e5%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/47f96ca8-746c-4dee-bb9c-01be49c182e5%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/596f6155-e7dc-8e6f-7654-47d8b33c4909%40crans.org.
For more options, visit https://groups.google.com/d/optout.