Hiho,
in Informatik I sollen wir unsere Lösungen der Übungsaufgaben zwar schriftlich und nicht digital abgeben, allerdings ist Handschrift verboten. Aus diesem Grund wurde uns Latex vorgestellt, welches ich gerade entdecke.
Wir haben ein Template bekommen, auf das wir aufbauen sollen. Eine der aktuellen Aufgaben fordert, die Dezimalzahl "445" u.a. in das Binärsystem zu überführen. Um unsere Lösung verständlich zu präsentieren, habe ich eine Tabelle angelegt.
Leider erzeugt mir diese ganze 42 Fehler, die ich nicht nachvollziehen kann. Das PDF wird wie gewünscht erzeugt, die Fehler stören mich dennoch (ohne Tabelle habe ich 0 Fehler).
Code
\begin{tabular}{lccccr}
$x & & B & & q & r \\ \hline
445 & \div & 2 & = & 222 & 1\\
222 & \div & 2 & = & 111 & 0\\
111 & \div & 2 & = & 55 & 1\\
55 & \div & 2 & = & 27 & 1\\
27 & \div & 2 & = & 13 & 1\\
13 & \div & 2 & = & 6 & 1\\
6 & \div & 2 & = & 3 & 0\\
3 & \div & 2 & = & 1 & 1\\
1 & \div & 2 & = & 0 & 1$\\
\end{tabular}
Alles anzeigen
Die Fehler wären folgende:
Code
! Extra }, or forgotten $.
<template> \unskip \hfil }
\hskip \tabcolsep \endtemplate
l.118 $x &
& B & & q & r \\ \hline
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.118 $x &
& B & & q & r \\ \hline
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.118 $x &
& B & & q & r \\ \hline
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.119 445 & \div
& 2 & = & 222 & 1\\
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.119 445 & \div &
2 & = & 222 & 1\\
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.119 445 & \div &
2 & = & 222 & 1\\
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.119 445 & \div &
2 & = & 222 & 1\\
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.120 222 & \div
& 2 & = & 111 & 0\\
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.120 222 & \div &
2 & = & 111 & 0\\
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.120 222 & \div &
2 & = & 111 & 0\\
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.120 222 & \div &
2 & = & 111 & 0\\
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.121 111 & \div
& 2 & = & 55 & 1\\
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.121 111 & \div &
2 & = & 55 & 1\\
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.121 111 & \div &
2 & = & 55 & 1\\
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.121 111 & \div &
2 & = & 55 & 1\\
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.122 55 & \div
& 2 & = & 27 & 1\\
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.122 55 & \div &
2 & = & 27 & 1\\
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.122 55 & \div &
2 & = & 27 & 1\\
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.122 55 & \div &
2 & = & 27 & 1\\
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.123 27 & \div
& 2 & = & 13 & 1\\
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.123 27 & \div &
2 & = & 13 & 1\\
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.123 27 & \div &
2 & = & 13 & 1\\
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.123 27 & \div &
2 & = & 13 & 1\\
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.124 13 & \div
& 2 & = & 6 & 1\\
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.124 13 & \div &
2 & = & 6 & 1\\
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.124 13 & \div &
2 & = & 6 & 1\\
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.124 13 & \div &
2 & = & 6 & 1\\
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.125 6 & \div
& 2 & = & 3 & 0\\
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.125 6 & \div &
2 & = & 3 & 0\\
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.125 6 & \div &
2 & = & 3 & 0\\
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.125 6 & \div &
2 & = & 3 & 0\\
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.126 3 & \div
& 2 & = & 1 & 1\\
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.126 3 & \div &
2 & = & 1 & 1\\
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.126 3 & \div &
2 & = & 1 & 1\\
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.126 3 & \div &
2 & = & 1 & 1\\
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.127 1 & \div
& 2 & = & 0 & 1$\\
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.127 1 & \div &
2 & = & 0 & 1$\\
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.127 1 & \div &
2 & = & 0 & 1$\\
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.127 1 & \div &
2 & = & 0 & 1$\\
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 $.
<template> \unskip }
\hskip \tabcolsep \endtemplate
l.128 \end
{tabular}
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.128 \end
{tabular}
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.128 \end
{tabular}
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.
Alles anzeigen
Könnt ihr mir helfen?
(Abgabe Montag 14h)
Gruß Katsche