Avatar billede Slettet bruger
22. maj 2004 - 23:04 Der er 1 løsning

LaTex - longtable og Underfull \vbox warning

I get 'Underfull \vbox (badness 10000)' warning at the line with
\end{longtable}.

I searched Google, and only advices there was to append \raggedbottom
to the preamble. That did not change anything.

\begin{longtable}{|p{6cm}|p{6cm}|}
    \caption{Fly B767-400\label{test1-B767-400}}
    \endlastfoot
    \endfirsthead
    \multicolumn{2}{c} {(\it tabel fortsat...)} \\
    \endhead
    \hline
    \multicolumn{2}{|c|} {\bf Konfiguration} \\
    \hline
        aircraft.actype & B767-400 \\
        aircraft.icao\_code & D \\
        aircraft.speed & 12 \\
        aircraft.towing & false \\
        aircraft.passivemovement & true \\
    \hline
    \multicolumn{2}{|c|} {\bf Forventet resultat} \\
    \hline
        taxiway\_w & true \\
        taxiway\_c\_south & true \\
        taxiway\_n1 & true \\
    \hline
    \multicolumn{2}{|c|} {\bf Faktisk resultat} \\
    \hline
        taxiway\_w & true \\
        taxiway\_c\_south & true \\
        taxiway\_n1 & true \\
    \hline
\end{longtable}

Thanks for any suggestions.
Avatar billede Slettet bruger
23. maj 2004 - 02:24 #1
Problem solved.

I had to move a single \hline to get rid of the warning.
Sorry for not trying this out before asking.

\begin{longtable}{|p{6cm}|p{6cm}|}
    \caption{Fly B767-400\label{test1-B767-400}}
    \endlastfoot
    \hline
    \endfirsthead
    \multicolumn{2}{c} {(\it tabel fortsat...)} \\
    \endhead
    \multicolumn{1}{|c|} {\it Variabel} & \multicolumn{1}{c|} {\it Værdi} \\
    \hline
    \multicolumn{2}{|c|} {\bf Konfiguration} \\
    \hline
        aircraft.actype & B767-400 \\
        aircraft.icao\_code & D \\
        aircraft.speed & 12 \\
        aircraft.towing & false \\
        aircraft.passivemovement & true \\
    \hline
    \multicolumn{2}{|c|} {\bf Forventet resultat} \\
    \hline
        taxiway\_w & true \\
        taxiway\_c\_south & true \\
        taxiway\_n1 & true \\
    \hline
    \multicolumn{2}{|c|} {\bf Faktisk resultat} \\
    \hline
        taxiway\_w & true \\
        taxiway\_c\_south & true \\
        taxiway\_n1 & true \\
    \hline
\end{longtable}
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester

IT-JOB

European Stonecraft

Intern Navision/BC Supporter

AL Sydbank A/S (tidligere Arbejdernes Landsbank)

Tech Lead til Datacenter Operations

Ringkjøbing Landbobank – Nordjyske Bank

Forretningsudvikler til procesoptimering