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 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/47f96ca8-746c-4dee-bb9c-01be49c182e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

