2

I want to express "A is $3.5x$ (3.5 times) larger than B."

\documentclass{article}
\begin{document}
A is $3.5x$ / $3.5\times$ (3.5 times) larger than B.
\end{document}

If I understand correctly, then $3.5x$ typesets "x" as a variable rather than "times". In correspondence with How do you write "times"?, I also feel that $3.5\times$ is incorrect.

  • 1
    I'd just write is in words as 3.5× looks odd on its own. – daleif Jul 16 '15 at 13:16
2

What ever you do: Define a command first which you may redefine later on. The $3.5x$-version is wrong for sure. Here are three versions, I personally think acceptable:

% arara: pdflatex

\documentclass{article}
\usepackage{siunitx}
%\newcommand*{\factor}[1]{$\num{#1}\mathrel\times$}
%\newcommand*{\factor}[1]{$\num{#1}\times$}
\newcommand*{\factor}[1]{\num{#1} times}

\begin{document}
$A$ is \factor{3.5} larger than $B$.
\end{document}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.