Math & Sciencesplit and underset

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
pricejn2
Posts: 3
Joined: Sat Jul 04, 2009 7:20 pm

split and underset

Post by pricejn2 »

I'm having an issue getting a formula setup the way I'd like it to be. Can \underset not be used in the split environment?

\begin{equation}
\begin{split}
\underset{\theta,\lambda,\delta}{Min} \ \theta \ s.t. \\
-y_i + Y\lambda \geq 0 \\
\theta x^{v}_{i} - X^v\lambda \geq 0 \\
\theta \delta x^{f}_{i} - X^f\lambda = 0
\end{split}
\end{equation}

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

split and underset

Post by localghost »

I can't comprehend the problem. The following works as expected.

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{amsmath}


\begin{document}
  \begin{equation}
    \begin{split}
      \underset{\theta,\lambda,\delta}{Min} \ \theta \ s.t. \\
      -y_i + Y\lambda \geq 0 \\
      \theta x^{v}_{i} - X^v\lambda \geq 0 \\
      \theta \delta x^{f}_{i} - X^f\lambda = 0
    \end{split}
  \end{equation}
\end{document}
Build a minimal working example (MWE) that shows the opposite.


Best regards and welcome to the board
Thorsten
pricejn2
Posts: 3
Joined: Sat Jul 04, 2009 7:20 pm

Re: split and underset

Post by pricejn2 »

Much obliged.

I apparently didn't have an appropriate package loaded. \usepackage{babel} solved the issue. Sorry for posing an irrelevant question though I certainly appreciate the solution.

Thanks again.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

split and underset

Post by localghost »

pricejn2 wrote:[...] I apparently didn't have an appropriate package loaded. \usepackage{babel} solved the issue. [...]
The babel package is not related to the problem. It merely allows multilingual documents.
Post Reply