The symbol Voltampere VA should be printed without space between V and A, is there a way to correct that with siunitx?
\documentclass{article}
\usepackage{siunitx}
\begin{document}
\SI{10}{\volt\ampere}
10 VA
\end{document}
The symbol Voltampere VA should be printed without space between V and A, is there a way to correct that with siunitx?
\documentclass{article}
\usepackage{siunitx}
\begin{document}
\SI{10}{\volt\ampere}
10 VA
\end{document}
You can define your own units by \DeclareSIUnit
. In your case I suggest:
\documentclass{article}
\usepackage{siunitx}
\DeclareSIUnit \voltampere { VA } %apparent power
\DeclareSIUnit \var { var } %volt-ampere reactive - idle power
\begin{document}
\SI{10}{\voltampere}
\end{document}
I changed the document class from minimal
to article
. The drawbacks of the document class are described here: Why should the minimal class be avoided?
\DeclareSIUnit \voltampere {VA} %apparent power
. Single spaces does matter.
– evading
Jan 28 '14 at 8:17
I had the same problem with TWh having a space between TW and h. To solve this I add an additional curly bracket at \tera\watt\hour
:
\newcommand{\TWh}[1]{\SI{#1}{{\tera\watt\hour}}}
instead of
\newcommand{\TWh}[1]{\SI{#1}{\tera\watt\hour}}
\volt\metre
or\kilogram\ampere
). Dealing with the kerning is a bit of a problem, but there certainly should be a space if you use one in other cases. – Joseph Wright♦ Jun 7 '13 at 10:09\watt
:-) – Marco Daniel Jun 7 '13 at 10:16\kWh
for example). – Joseph Wright♦ Jun 7 '13 at 10:18\volt\ampere
– Luigi Jun 7 '13 at 10:24