You have the possibility to alter the way it looks. The units
library is not fully implemented, and will probably never fully be. Attaching units can be a rather integrate matter.
However you can accomplish your request by:
\begin{tikzpicture}
\begin{axis}[change x base,
x SI prefix=kilo,x unit=m,
y SI prefix=milli,y unit=N,
unit markings=slash space,
% Or do it by your self...
% unit marking pre={\text{in }}, % requires amsmath
% unit marking post={},
xlabel=Distance,ylabel=Force]
\addplot coordinates {
(1000,1)
(2000,1.1)
(3000,1.2)
(4000,1.3)
};
\end{axis}
\end{tikzpicture}
which produces (both examples shown):
EDIT: per the comments I have added a better way to make what the op would like.
It can be accommodated by:
unit marking pre={\!\!/},
unit marking post={},
ylabel=$F$
where the negative space \!\!
should gobble one \space
(I can never remember if this is exactly so or not, please fill in the gaps if you know the exact negative space to insert).
This should produce what the OP is asking for.
The use of &
is not restricted to the equality symbol. You can align prepending &
to any character to serve as alignment point:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
No alignment:
\begin{gather}
bci-ax+i > n\\
\sin(\theta_B) \rightarrow 9x
\end{gather}
Alignment at \verb+>+ and \verb+\rightarrow+:
\begin{align}
bci-ax+i &> n\\
\sin(\theta_B) &\rightarrow 9x
\end{align}
\end{document}
Best Answer
Remarks
You didn't provide
\CL
nor\OL
, so I defined my own. You can use&&
to skip to a new column inalign
.Implementation
Output