0

I want to write the following equation:

enter image description here

For that I wrote a code:

\RequirePackage{fix-cm}
\documentclass[twocolumn]{svjour3}   
%
\smartqed  % flush right qed marks, e.g. at end of proof
%
\usepackage{graphicx}
\graphicspath{ {./images/} }
\usepackage[caption=false,font=footnotesize]{subfig}
\usepackage{mathtools}
\usepackage{nccmath}
\usepackage{booktabs}
\usepackage{float}
\usepackage{multirow}
\usepackage{makecell}
\usepackage[caption=false,font=footnotesize]{subfig}
\usepackage{varwidth}
\usepackage{placeins}
\usepackage{textcomp}
\usepackage{natbib}
\setcitestyle{aysep={}} 
\bibliographystyle{spbasic}
\begin{document}

\begin{align} w_{i} = \Bigg{1;\hspace{0.25cm} if\hspace{0.25cm} 0.25N \leq i \leq 0.75N \ 0.5;\hspace{0.25cm} otherwise\ \end{align}

\end{document}

The output: enter image description here

Debbie
  • 303

0 Answers0