PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Text links von hoher Tabelle



torteloni
18-09-2009, 15:30
Hallo. Ich habe ein Problem mit der Positionierung von Text und Tabellen. Ich habe eine sehr hohe Tabelle (seitenfüllend), die allerdings nur eine sehr geringe Breite hat. Daneben würde ich gern Text anbringen.

Mit welchem Befehl kann ich das anstellen? Habe mit jetzt erfolglos \multicol und \multirow (was generell schon funktioniert, dann nur keine Zeilenumbrüche, Formatierungen im Text zulässt) probiert.

Ich wäre euch sehr dankbar für Hilfe!

mechanicus
18-09-2009, 15:39
Hallo,


\documentclass{scrreprt}
\usepackage{lipsum}
\usepackage{array}
\usepackage{wrapfig}
\usepackage{forloop}
\newcounter{count}
\setcounter{count}{1}

\begin{document}
\begin{wrapfigure}{L}{1cm}
\begin{tabular}{|c|}
\whiledo{\value{count} < 40}{\stepcounter{count}
\arabic{count} \\}
\end{tabular}
\end{wrapfigure}
\lipsum
\end{document}


Gruß
Marco

torteloni
18-09-2009, 15:42
Das ist toll! Danke dir für die schnelle Antwort!

torteloni
18-09-2009, 18:51
Habe schon wieder eine Frage. Warum taucht die Tabelle genau mitten im Absatz auf?

\documentclass{scrartcl}
\begin{document}
Varying the initial values varies the whole sequence. Such as
\[F(1)=1, F(2)=3\]
will produce the Lucas numbers as shown below
\footnote{see also p. 10}
:
\begin{table}[h]
\centering
\begin{tabular}{|c||c|c|c|c|c|c|c|c|c|c|c|c|c|c|c| c|c|c|c|}
\hline
n &1&2&3&4&5&6&7&8&9&10&11&12&13&14&15\\
\hline
F(n) &1&3&4&7&11&18&29&47&76&123&199&322&521&843&1364\\
\hline
\end{tabular}
\caption{The first 15 Lucas numbers}%
\end{table}
Which look very similar to the original Fibonacci numbers (and we will need that sequence later on).
\end{document}

Ausgabe sieht so aus:

will produce the Lucas numbers as shown below 2 : Which look very similar to the
#TABELLE#
original Fibonacci numbers (and we will need that sequence later on).

Wie krieg ich's hin, dass sie dort auftaucht, wo ich sie haben will. Nämlich nach dem Doppelpunkt?

mechanicus
18-09-2009, 18:58
Hallo,


\documentclass{scrartcl}
\begin{document}
Varying the initial values varies the whole sequence. Such as \[F(1)=1, F(2)=3\]
will produce the Lucas numbers as shown below\footnote{see also p. 10}:
\begin{table}[!ht]
\centering
\begin{tabular}{|c||c|c|c|c|c|c|c|c|c|c|c|c|c|c|c| c|c|c|c|}
\hline
n &1&2&3&4&5&6&7&8&9&10&11&12&13&14&15\\
\hline
F(n) &1&3&4&7&11&18&29&47&76&123&199&322&521&843&1364\\
\hline
\end{tabular}
\caption{The first 15 Lucas numbers}%
\end{table}

\noindent Which look very similar to the original Fibonacci numbers (and we will need that sequence later on).
\end{document}

Gruß
Marco