I want to define \newcommand{\B} in 2 different ways and switch between them in the simplest way – just using a comment mark, %. Let's look at the example:
\documentclass[a4paper,9pt]{article}
\usepackage[utf8]{inputenc}
% My 1st definition
\newcommand{\B}[1]{\textbf{#1}}
% My 2nd definition (it’s wrong that’s way I’m asing)
\newcommand{\B}{$\ldots$}
\begin{document}
Let \B{1.345} be
\end{document}
Using first definition the value 1.345 is bolded. If I use second definition I should always get only $\ldots$ so value 1.345 should be removed. I tried to add spaces (crude solution) but value skipped line below. Any suggestion?
articleclass doesn't support the9ptfontsize option without loading, e.g, theextsizespackage. – lockstep Apr 07 '13 at 11:14\renewcommandfor the second definition, you only have to add/remove one comment mark instead of adding one and removing one – Peater de Xel Apr 07 '13 at 15:47