Text Formattingminipage: list on left, table on right

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
gsal
Posts: 6
Joined: Wed Jan 09, 2013 12:08 am

minipage: list on left, table on right

Post by gsal »

Say, I am trying to learn how to use minipage but there is some space on top of the table that seems to be coming from nowhere...any idea what might be going on? The huge space is still there even when I remove vspace 10pt, besides, 10pt is not that much...anyway. See attached picture.

thanks,

gsal

Code: Select all

\begin{minipage}[b]{0.58\textwidth}
\begin{itemize}
\item Note that the CFD mass flow had to be multiplied by 18 (since only 20 degree sector was modeled) and then divided by 1.1275428 (the density when TCOOL=40\,$^\circ C$).  The temperature had to be converted to $^\circ C$ and also corrected due to the CFD rotor duct length (of 3 inches) and converted from total to static temperature.  Also the vent scoop flow was evenly divided and added to the last four rotor ducts.
\item Blower pressure=4599$Pa$, exhaust pressure=1049.94$Pa$, and intake pressure=3741.92$Pa$ -- same as the CFD boundary conditions.
\item The loss coefficient from the blower to the airgap, CEN, was set to 0.72 and the corresponding reference area, AEN, was set to 273431 mm.  Note that the value for CEN was arbitrarily set to match the CFD airgap pressures at the beginning of the airgap.
\item The loss coefficients for the stator vents were calculated from CFD results using the same Fluent UDF that was previously created for setting the loss coefficients for TG3503.  See the attached .pdf files below for details.
\end{itemize}
\begin{quote}
\attachfile[icon=Paperclip]{air-gap.pdf} air-gap.pdf \\ \\
\attachfile[icon=Paperclip]{method.pdf} method.pdf
\end{quote}
\end{minipage}
\hspace{0.5cm}
\begin{minipage}[b]{0.15\textwidth}
\begin{tabular}{|p{1.5cm}|p{2cm}|p{1.cm}|}
\hline
Rotor Vent No. & Volume flow ($m^3/s$) & Ts ($^\circ C$) \\
\hline
 1 & 0.236519478 & 49.50 \\
 2 & 0.230733088 & 49.37 \\
 3 & 0.220691624 & 49.25 \\
 4 & 0.212382880 & 49.17 \\
 5 & 0.204646381 & 49.11 \\
 6 & 0.198191839 & 49.08 \\
 7 & 0.192881787 & 49.07 \\
 8 & 0.186177887 & 49.07 \\
 9 & 0.180839064 & 49.05 \\
10 & 0.176753425 & 48.99 \\
11 & 0.173361514 & 48.93 \\
12 & 0.168978563 & 48.88 \\
13 & 0.166117338 & 48.85 \\
14 & 0.164573235 & 48.85 \\
15 & 0.164713898 & 48.88 \\
16 & 0.164173622 & 48.94 \\
17 & 0.162926831 & 48.98 \\
18 & 0.162997163 & 48.98 \\
19 & 0.163703678 & 48.94 \\
20 & 0.165068754 & 48.88 \\
21 & 0.167060423 & 48.81 \\
22 & 0.169576384 & 48.74 \\
23 & 0.172533517 & 48.66 \\
24 & 0.753677541 & 48.57 \\
25 & 0.756091201 & 48.47 \\
26 & 0.758626343 & 48.35 \\
27 & 0.761151894 & 48.21 \\
\hline
\end{tabular}
\end{minipage}
Attachments
screenshot minipage and blank space
screenshot minipage and blank space
minipage.png (88.41 KiB) Viewed 5936 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gsal
Posts: 6
Joined: Wed Jan 09, 2013 12:08 am

Re: minipage: list on left, table on right

Post by gsal »

Also, there seem to be a entire blank page being inserted along this behaviour.
gsal
Posts: 6
Joined: Wed Jan 09, 2013 12:08 am

Re: minipage: list on left, table on right

Post by gsal »

A discovery...it seems as if the tabular environment on the second minipage, simply does not honor the minipage alignment option...the table is always aligned vertically centered respect to the reference line...

...anyway to fix this?

I also tried putting the minipages into a 'table' but got same behaviour.

I also tried twocolumns but it starts new pages when switching num of columns.

Alternativaly, any other way to make text flow around tables?


Thanks
gsal
Posts: 6
Joined: Wed Jan 09, 2013 12:08 am

Re: minipage: list on left, table on right

Post by gsal »

Fixed.

Added vspace until both minipages were the same height, aligned both in the middle.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

minipage: list on left, table on right

Post by Johannes_B »

Please use the package showframe to see, that your contents do not fit the page. Just the table (4.5 cm) ist broader than .15\textwidth.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply