PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Was ist hieran falsch



tom021
23-01-2012, 16:16
Wenn ich das mit Latex kompiliere, dann gibt er mir Fehlermeldungen aus:


\begin{align*}
||u-u^T_a||_{\mathcal{H}^s} \leq
\left\{
\begin{tabular}{l}
(1+a)^{ s- l - t + (Tt - s + l) \frac{d-1}{d-T} } ||u||_{\mathcal{H}^{t,l}_{mix}} \\
\text{for } T \geq \frac{s-l}{t} \\[3.5mm]
(1+a)^{s-l-t} ||u||_{\mathcal{H}^{t,l}_{mix}} \text{ for } T \leq \frac{s-l}{t} \\
\end{tabular}
\end{align*}

Ich verstehe leider nicht was Latex von mir will. Folgende Fehlermeldungen:

$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
<template> \unskip \hfil }
\hskip \tabcolsep \endtemplate
l.371 \end{align*}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing } inserted.
<inserted text>
}
l.371 \end{align*}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing $ inserted.
<inserted text>
$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
<template> \unskip \hfil }
\hskip \tabcolsep \endtemplate
l.371 \end{align*}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing } inserted.
<inserted text>
}
l.371 \end{align*}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing $ inserted.
<inserted text>
$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
<template> \unskip \hfil }
\hskip \tabcolsep \endtemplate
l.371 \end{align*}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing } inserted.
<inserted text>
}
l.371 \end{align*}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Extra }, or forgotten \right.
<template> }
$}\ifmeasuring@ \savefieldlength@ \fi \set@field \endtemplate
l.371 \end{align*}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing \right. inserted.
<inserted text>
\right .
l.371 \end{align*}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.371 \end{align*}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing $ inserted.
<inserted text>
$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
<template> \unskip \hfil }
\hskip \tabcolsep \endtemplate
l.371 \end{align*}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing } inserted.
<inserted text>
}
l.371 \end{align*}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing $ inserted.
<inserted text>
$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
<template> \unskip \hfil }
\hskip \tabcolsep \endtemplate
l.371 \end{align*}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing } inserted.
<inserted text>
}
l.371 \end{align*}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing $ inserted.
<inserted text>
$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
<template> \unskip \hfil }
\hskip \tabcolsep \endtemplate
l.371 \end{align*}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.371 \end{align*}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing } inserted.
<inserted text>
}
l.371 \end{align*}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Extra }, or forgotten \right.
<template> }
$}\ifmeasuring@ \savefieldlength@ \fi \set@field \endtemplate
l.371 \end{align*}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing \right. inserted.
<inserted text>
\right .
l.371 \end{align*}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.371 \end{align*}

LuPi
23-01-2012, 16:26
In Ermangelung eines lauffähigen Minimalbeispiels (bitte beim nächsten Mal
mitliefern) folgende Abschätzung: Du hast eine schließende Klammer
vergessen. So finde ich zum Beispiel ein \left\{, aber nicht das schließende
Pendant dazu. Hier solltest Du am Ende dieser Gruppe ein \right. einfügen.

Allgemein gibt es für die von Dir gewählte Struktur (soweit ich das erkennen
kann) auch vorgefertigte Lösungen, schau mal unter \pmatrix.

hakaze
23-01-2012, 16:32
Siehe Lupis Antwort... oder mit der cases-Umgebung aus amsmath (http://ctan.org/pkg/amsmath) (siehe entsprechende Doku). Das sähe als Minimalbeispiel dann so aus:
\documentclass[ngerman]{scrartcl}


\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[T1]{fontenc}

\usepackage{amsmath}

\begin{document}
\begin{align*}
||u-u^T_a||_{\mathcal{H}^s} \leq
\begin{cases}
(1+a)^{ s- l - t + (Tt - s + l) \frac{d-1}{d-T} } ||u||_{\mathcal{H}^{t,l}_{mix}} \\
\text{for } T \geq \frac{s-l}{t} \\[3.5mm]
(1+a)^{s-l-t} ||u||_{\mathcal{H}^{t,l}_{mix}} \text{ for } T \leq \frac{s-l}{t} \\
\end{cases}
\end{align*}

\end{document}

tom021
23-01-2012, 16:49
Super, besten Dank für die Antworten.