Strona 1 z 1

[Latex] Definiowanie wysokości tabeli

: 09 mar 2015, 18:29
autor: djoaza
Witam potrzebuje wykonać duża tabelę o określonej wysokości dlatego użyłem polecenia

Kod: Zaznacz cały

\begin{TAB}(p,1px,1px){|c|c|}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
\end{TAB}
Problem jest taki gdy dodam następny wiersz to wyskakują błędy takie jak :

Kod: Zaznacz cały

! You can't use a prefix with `the character ='.
! Missing number, treated as zero.
! Illegal unit of measure (pt inserted).
Wie ktoś może jak rozwiązać taki problem albo jak inaczej przedstawić tabelkę ?

Re: [Latex] Definiowanie wysokości tabeli

: 30 mar 2015, 04:28
autor: mossy
Nie jestem pewien czy o taki efekt tobie chodziło.
Daj znać co chciałbyś zmienić w wyglądzie tego co poniżej ...
pzdr

Kod: Zaznacz cały

\documentclass{article}
\begin{document}
\begin{tabular}{|c|c|}
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
hi & tall one\\
hi & medium one\\
hi & standard one\\
\end{tabular}
\end{document}