TransWikia.com

How do I write small "black board" c1, c2, ... constants?

Mathematica Asked by mf67 on December 16, 2020

New for Mathematica 12(?) seems to be a formatted "black board" style of the former C[1], C[2], … constants in Mathematica 11. How do I type these with formatting at input? C[1] etc. still works, but how to write it formatted? I could not find it in the escape sequence list. TIA.

One Answer

You could use InputAutoReplacements so that c1 gets automatically converted:

CurrentValue[EvaluationNotebook[], {InputAutoReplacements,"c1"}] = TemplateBox[{"1"},"C"];

or you could use InputAliases so that you need to use the Esc key as usual:

CurrentValue[EvaluationNotebook[], {InputAliases,"c2"}] = TemplateBox[{"2"}, "C"];

Correct answer by Carl Woll on December 16, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP