I am using align
environment and sometimes can see that there is an unwated space in some parts of the aligned equations. Hence, I use \hspace
with negative length to get the desired spacing.
Even though it works well for the equation itself, the tag sometimes moves horizontally with an amount equal to the argument of \hspace
.
Here is a sample. Before
The tag of some other equations seem to stay where it should be even after using \hspace
This is What is the difference that made one set of equation affect the tags but the other set work well?
Source code
\documentclass{IEEEtran}
\usepackage[T1]{fontenc}
\usepackage[no-math]{fontspec}
\usepackage{amsmath,amsfonts}
\usepackage{mathtools}
\usepackage[symbolmisc]{mathastext}
\usepackage{blindtext}
\begin{document}
\blindtext
\begin{align}
&& \frac{X_{th, kp} - X_{b}} {\chi} > \frac{X_{th, kp}} {\chi} & \implies & \frac{1}{\Theta} &> \frac{1}{\Xi} &&
\notag
\\
&& &
\implies & \Theta &< \Xi &&
\end{align}
\blindtext
\begin{align}
&& \frac{X_{th, kp} - X_{b}} {\chi} > \frac{X_{th, kp}} {\chi} & \implies \hspace{-10mm} & \frac{1}{\Theta} &> \frac{1}{\Xi}
\notag
\\
&& &
\implies \hspace{-10mm} & \Theta &< \Xi
\end{align}
\blindtext
\begin{align}
I_{sc} & = I_{sc, ref} & \hspace{-11mm} \bigg[ 1 + \frac{\alpha}{100} (T_{op}-T_{ref}) \biggl]
\vspace{2 mm}
\\
V_{oc} & = V_{oc,ref} & \hspace{-11mm} \bigg[ 1 + \frac{\beta}{100} (T_{op}-T_{ref}) \biggl]
\vspace{2 mm}
\\
P_{mp} & = P_{mp,ref} & \hspace{-11mm} \bigg[ 1 + \frac{\gamma}{100} (T_{op}-T_{ref}) \biggl]
\end{align}
\end{document}
\vspace{2 mm}\\
you can use\\[.5em]
for example, to increase space between lines.&&
?\bigg[ ...\biggl]
should be\biggl[ ...\biggr]
\usepackage[T1]{fontenc} \usepackage[no-math]{fontspec}
but T1 encoding should only be used with (pdf)latex but fontspec requires xetex or luatex, which tex engine are you using?