I am writing a document where I need to describe the behaviour of a given system when a parameter is in a given range (e.g. 1 <= x < 100). The document does not otherwise contain equations or any math stuff. I am using the Source Sans Pro font from Adobe and I am having trouble with the <= and < symbols.
- If I use
$\leq$
for the <= symbol, it looks different than the rest of the text, but more specifically, quite different than the < symbol - If I use
$\leq$
and$<$
, then they look 'similar' but the baselines don't seem to be aligned (and anyway they look different from the rest of the text)
Here's an image showing both options:
Is there a way to typeset the <= symbol using the same font as the rest of the document? Failing that, is there a way to have the baselines of the <= and < symbols aligned?
Update: I am using pdflatex. Here's a MWE:
\documentclass{book}
\usepackage[default]{sourcesanspro}
\begin{document}
1 $\leq$ abs(x) < 100
1 $\leq$ abs(x) $<$ 100
\end{document}
when the absolute value of $x$ is 1 or more, but less than 100.