Math & ScienceWrite A collorary in Two Column Format

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
nicholas
Posts: 1
Joined: Wed Mar 08, 2023 5:03 am

Write A collorary in Two Column Format

Post by nicholas »

Dear All,

This is my first time posting in this latex.org. So, please accept my apology in case I posted not in the correct format.

I would like to create a corollary on overleaf with TeX Live 2022.

The expectation is as follows.
expectation.JPG
expectation.JPG (37.99 KiB) Viewed 8436 times
Here is code:

Code: Select all

\documentclass[journal]{IEEEtran}
\usepackage{mathtools}
\usepackage{amsmath}
\begin{document}

%\begin{corollary}\label{Corollary:new_seq}
Supposing that $i^{\ast} = argmax_i R_3(i)$ and $i^{\ast\ast} = argmax_i R_4(i)$ for all   $i=1,\ldots,n$, if $max (R_3(i),R_4(i)) \geq max(R_5(A^{\prime}),R_6(A^{\prime\prime}))$ in a serial configuration, then the new sequence is optimal when one of the following constraints is fulfilled.

\renewcommand{\labelenumi}{(\roman{enumi})}
\begin{enumerate}
    \item 
    \begin{equation} \label{eq:corollary_i}
    max_{i^{\ast} =1,...,n} (q_i^{\ast}\cdot p_i^{\ast} + (1-q_i^{\ast})c_i^{\ast} \quad  \forall i^{\ast}\geq(n-1), q_i^{\ast}\cdot c_i^{\ast} + (1-q_i^{\ast})p_i^{\ast} \quad   \text{for $i^{\ast} = n$}) \geq (n-1)w + nv
    \end{equation}
 
    \item
    \begin{equation} \label{eq:corollary_ii}
    max_{i^{\ast\ast} =1,...,n} (q_i^{\ast\ast}\cdot p_i^{\ast\ast} + (1-q_i^{\ast\ast})c_i^{\ast\ast} \quad  \forall i^{\ast\ast}\geq(n-1), q_i^{\ast\ast}\cdot c_i^{\ast\ast} + (1-q_i^{\ast\ast})p_i^{\ast\ast} \quad  \text{for $i^{\ast} = n$}) \geq (n+1)w + (n+2)v
    \end{equation}    
\end{enumerate}
%\end{corollary}
\end{document}]
However, here is the output.


What I need to correct on the code to make sure that the equations fit into the column?

Thank you.
Attachments
output.JPG
output.JPG (33.11 KiB) Viewed 8436 times
Last edited by Stefan Kottwitz on Wed Mar 08, 2023 3:17 pm, edited 1 time in total.
Reason: commented out undefined corollary environment

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10319
Joined: Mon Mar 10, 2008 9:44 pm

Write A collorary in Two Column Format

Post by Stefan Kottwitz »

Hi Nicholas,

welcome to the forum!

Instead of equation, use a multi-line environment of amsmath, such as multline or align. They are described with examples in the amsmath manual.

Stefan
LaTeX.org admin
Post Reply