0

Here is the output I get when I use \includegraphics to import a figure in an equation environment:

enter image description here

But I want the output to be like this (edited photo):

enter image description here

My MWE:

\documentclass[]{IEEEtran}

    \usepackage{graphicx}   
    \usepackage{amsmath}


\begin{document}


\begin{equation}
    \includegraphics[width=0.8\columnwidth]{my_figure.png}
\end{equation}


\end{document}
1

Replace graphicx with its extension adjustbox, and use this code:

\adjincludegraphics[width=0.8\columnwidth, valign = c]{my_figure.png}

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.