I have the exact same problem presented in: Creating a table fitting one column of a two column style page. However, the solution there presented does not work for me. The table don't even appear. So, I want to put a table in just one of the columns, exactly behind the text. I have the following code:
\documentclass[twoside]{article}
\usepackage[hmarginratio=1:1,top=32mm,columnsep=25pt]{geometry}
\usepackage{multicol}
\begin{document}
\begin{multicols}{2}
Among the risk factors (...). Table \ref{T1} lists some of them.
\begin{table}[b]
\centering
\caption{My caption}
\label{T1}
\resizebox{\columnwidth}{!}{%
\begin{tabular}[b]{l}
\hline
High LDL cholesterol \\
Cigarette smoking\\
Hypertension (BP$\geq 140/90 mmH$g or on antihypertensive medication)\\
Low HDL cholesterol ($<1.0 mmol/L$) \\
Diabetes mellitus \\
Family history of premature CHD \\
Age (men$\geq 45$ years; women$\geq 55$ years)\\
Lifestyle risk factors\\
Obesity (BMI$\geq 30Kg/m^{2}$)\\
Physical inactivity \\
Atherogenic diet\\
Emerging risk factors \\
Lipoprotein (a) \\
Prothrombotic factors \\
Proinflammatory factors \\
Impaired fasting glucose \\
Subclinical atherosclerosis \\
\hline
\end{tabular}
}
\end{table}
\end{multicols}
\end{document}
I have also tried this:
\begin{table}[b]
\centering
\caption{My caption}
\label{T1}
\begin{tabular}[b]{l}
\hline
High LDL cholesterol \\
Cigarette smoking\\
Hypertension (BP$\geq 140/90 mmH$g or on antihypertensive medication)\\
Low HDL cholesterol ($<1.0 mmol/L$) \\
Diabetes mellitus \\
Family history of premature CHD \\
Age (men$\geq 45$ years; women$\geq 55$ years)\\
Lifestyle risk factors\\
Obesity (BMI$\geq 30Kg/m^{2}$)\\
Physical inactivity \\
Atherogenic diet\\
Emerging risk factors \\
Lipoprotein (a) \\
Prothrombotic factors \\
Proinflammatory factors \\
Impaired fasting glucose \\
Subclinical atherosclerosis \\
\hline
\end{tabular}
\end{table}
What am I doing wrong?
table
(and other floating objets) in amulticols
environment (tex.stackexchange.com/questions/20731/…) – Jérôme Dequeker Jan 12 '17 at 13:18\begin{document}
? – Sebastiano Jan 12 '17 at 13:19