Skip to main content
deleted 19 characters in body
Source Link
Zarko
  • 317.5k
  • 25
  • 190
  • 399

with use of mathtools and nccmath you can slightly reduce size of equation (without changing font size):

\documentclass[hyperref={pdfpagelabels=false}]{beamer} \usepackage{mathtools, % instead amsmath, provide `\mathclap` nccmath, % for smaller `sum` symbol amssymb} \begin{document} \begin{frame}{test} \begin{align} & \textbf{TP} ~~\max \medop\sum_{\mathclap{i \in N\setminus\{4\}}} J_{i} z_{i} \label{S1}\\[-1ex]\\ & \text{st } \nonumber\\ &  \medop\sum_{j \in N} xv_{ij} = z_{i},\ ~~\forall\forall i \in N \label{S2} \end{align} \end{frame} \end{document} 

note: eqnarray is long time deprecated and replaced with math environment from amsmath.

enter image description hereenter image description here

for comparison result with your mwe:

enter image description here

with use of mathtools and nccmath you can slightly reduce size of equation (without changing font size):

\documentclass[hyperref={pdfpagelabels=false}]{beamer} \usepackage{mathtools, % instead amsmath, provide `\mathclap` nccmath, % for smaller `sum` symbol amssymb} \begin{document} \begin{frame}{test} \begin{align} & \textbf{TP} ~~\max \medop\sum_{\mathclap{i \in N\setminus\{4\}}} J_{i} z_{i} \label{S1}\\[-1ex] & \text{st} \nonumber\\ & \medop\sum_{j \in N} xv_{ij} = z_{i}, ~~\forall i \in N \label{S2} \end{align} \end{frame} \end{document} 

note: eqnarray is long time deprecated and replaced with math environment from amsmath.

enter image description here

for comparison result with your mwe:

enter image description here

with use of mathtools and nccmath you can slightly reduce size of equation (without changing font size):

\documentclass[hyperref={pdfpagelabels=false}]{beamer} \usepackage{mathtools, % instead amsmath, provide `\mathclap` nccmath, % for smaller `sum` symbol amssymb} \begin{document} \begin{frame}{test} \begin{align} & \textbf{TP} ~~\max \medop\sum_{\mathclap{i \in N\setminus\{4\}}} J_{i} z_{i} \label{S1}\\ & \text{st }   \medop\sum_{j \in N} xv_{ij} = z_{i},\ \forall i \in N \label{S2} \end{align} \end{frame} \end{document} 

note: eqnarray is long time deprecated and replaced with math environment from amsmath.

enter image description here

for comparison result with your mwe:

enter image description here

Source Link
Zarko
  • 317.5k
  • 25
  • 190
  • 399

with use of mathtools and nccmath you can slightly reduce size of equation (without changing font size):

\documentclass[hyperref={pdfpagelabels=false}]{beamer} \usepackage{mathtools, % instead amsmath, provide `\mathclap` nccmath, % for smaller `sum` symbol amssymb} \begin{document} \begin{frame}{test} \begin{align} & \textbf{TP} ~~\max \medop\sum_{\mathclap{i \in N\setminus\{4\}}} J_{i} z_{i} \label{S1}\\[-1ex] & \text{st} \nonumber\\ & \medop\sum_{j \in N} xv_{ij} = z_{i}, ~~\forall i \in N \label{S2} \end{align} \end{frame} \end{document} 

note: eqnarray is long time deprecated and replaced with math environment from amsmath.

enter image description here

for comparison result with your mwe:

enter image description here