1

In normal equation I do not have any problem. However for long equation I need to use figure so that my equation appear more obviously. (Note: I am using two column paper style).

This is the equation style that I use:

\documentclass[journal]{IEEEtran}

\usepackage{cite}
\usepackage{graphicx}
\usepackage{refstyle}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{lipsum}

\begin{document}

\title{\huge Single line equation in two column paper}

\maketitle

\section{First} \label{first}

\lipsum[1-6]

\begin{figure*}[t]
\normalsize
\begin{align} \label{eqn1}
Long_{eqn}^{1} &=  aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa \nonumber\\
&+ bbb bbb  bbb bbb  bbb bbb + bbb bbb  bbb bbb  bbb bbb  bbb bbb  bbb +bbb  bbb bbb  bbb bbb  bbb bbb  bbb +bbb  bbb bbb  bbb bbb \nonumber\\
&+ ccc ccc  ccc ccc  ccc ccc  +ccc ccc  ccc ccc  ccc ccc  ccc ccc+  ccc ccc  ccc ccc  ccc ccc + ccc ccc  ccc ccc  ccc ccc  ccc ccc .
\end{align}
\end{figure*}

\lipsum[2-5]

\section{Second} \label{second}

\lipsum[3-8]

\begin{figure*}[t]
\normalsize
\begin{align} \label{eqn2}
Long_{eqn}^{2} &=  aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa \nonumber\\
&+ bbb bbb  bbb bbb  bbb bbb + bbb bbb  bbb bbb  bbb bbb  bbb bbb  bbb +bbb  bbb bbb  bbb bbb  bbb bbb  bbb +bbb  bbb bbb  bbb bbb \nonumber\\
&+ ccc ccc  ccc ccc  ccc ccc  +ccc ccc  ccc ccc  ccc ccc  ccc ccc+  ccc ccc  ccc ccc  ccc ccc + ccc ccc  ccc ccc  ccc ccc  ccc ccc .
\end{align}
\end{figure*}

\lipsum[4-8]

\end{document}

My problem is that; I can't put this equation in its actual position. It will be either on the top or bottom of the next page. I want it to be in its normal position.

I have checked previous related questions, such as (How to influence the position of float environments like figure and table in LaTeX?) and (How to use the placement options [t], [h] with figures?), but non of them was useful to my case. Therefore, I preferred to ask this question.

10
  • 2
    If you don't want the equation to float about, then don't put it in a floating environment. If you just want to give it some extra space, then you could use \smallskip, \medskip or \bigskip before it and/or after it.
    – Thruston
    Commented Apr 13, 2015 at 10:17
  • Are you just trying to add space and rule around the equation? Commented Apr 13, 2015 at 10:17
  • @Thruston As the equation is too long, it will cover both columns completely. Therefore, I should use this representation style.
    – sky-light
    Commented Apr 13, 2015 at 10:22
  • 1
    Ah multicolumns! can you please post a proper MWE that shows the problem.
    – Thruston
    Commented Apr 13, 2015 at 10:27
  • One possible solution
    – Thruston
    Commented Apr 13, 2015 at 10:30

1 Answer 1

4

I think a better solution would be to use the cuted package from the sttools bundle. It is dedicated to insert some material full-width in a twocolumn environment:

\documentclass[journal]{IEEEtran}

\usepackage{cite}
\usepackage{graphicx}
\usepackage{refstyle}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{cuted, nccmath}
\usepackage{lipsum}
\setlength\stripsep{3pt plus 1pt minus 1pt}

\begin{document}

\title{\huge Single line equation in two column paper}

\maketitle

\section{First} \label{first}

\lipsum[1-6]
\begin{strip}
  \begin{align} \label{eqn1}
    Long_{eqn}¹ & = aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa \nonumber \\
                   & + bbb bbb bbb bbb bbb bbb + bbb bbb bbb bbb bbb bbb bbb bbb bbb +bbb bbb bbb bbb bbb bbb bbb bbb +bbb bbb bbb bbb bbb \nonumber \\
                   & + ccc ccc ccc ccc ccc ccc +ccc ccc ccc ccc ccc ccc ccc ccc+ ccc ccc ccc ccc ccc ccc + ccc ccc ccc ccc ccc ccc ccc ccc .
  \end{align}
\end{strip}
%
\lipsum[2-5]

\section{Second} \label{second}

\lipsum[3-8]
\begin{strip}
  \normalsize
  \begin{align} \label{eqn2}
    Long_{eqn}² & = aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa \nonumber \\
                   & + bbb bbb bbb bbb bbb bbb + bbb bbb bbb bbb bbb bbb bbb bbb bbb +bbb bbb bbb bbb bbb bbb bbb bbb +bbb bbb bbb bbb bbb \nonumber \\
                   & + ccc ccc ccc ccc ccc ccc +ccc ccc ccc ccc ccc ccc ccc ccc+ ccc ccc ccc ccc ccc ccc + ccc ccc ccc ccc ccc ccc ccc ccc .
  \end{align}
\end{strip}
\lipsum[4-8]

\end{document} 

enter image description here

3
  • I think the code that you provided is my own code without changes.
    – sky-light
    Commented Apr 13, 2015 at 16:56
  • Oh! Sorry! Bad copy-paste. I'll change it at once.
    – Bernard
    Commented Apr 13, 2015 at 16:59
  • It works perfectly.
    – sky-light
    Commented Apr 13, 2015 at 17:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .