Tag Info

4

š is defined in cp1250 encoding (and other encodings) to be \v s so if you redefine \v you redefine š. Redefining a core LaTeX command like \v is unlikely to be worth the effort, it makes your document fragments incompatible with every other LaTeX setup unless you redefine all of LaTeX's accent and encoding support not to use \v.

12

EDITED to discern symbols from letters. This achieves the result by modifying elements of the censor package. The \blackout macro was adapted for the purpose. It will break its argument across lines and paragraphs. \documentclass{article} \usepackage{stackengine,censor} \def\stacktype{L} \newcounter{lettercount} \makeatletter ...

15

This allows only plain Latin letters (no accents). Something more complicated would be needed to accommodate accented letters. \documentclass{article} \usepackage{xparse} \usepackage{tgbonum} % wide chars \ExplSyntaxOn \NewDocumentCommand{\numberletters}{m} { \group_begin: \huge\raggedright \martinb_nl_numberletters:n { #1 } \par \group_end: } ...

4

An alternative to mhchem would be the chemmacros bundle (including chemformula) by our user @cgnieder. The syntax is simple and (pretty) intuitive, in many ways similar to the syntax of mhchem. Here is a minimal example and the output. \documentclass[border=10pt]{standalone} \usepackage{chemformula}%loaded by chemmacros \begin{document} \ch{Zn^2+ ...

4

\documentclass{article} \usepackage{mathtools} \begin{document} $\mathrm{A} \xrightleftharpoons[k_2]{k_1} \mathrm{B}$ \end{document}

Top 50 recent answers are included