I would like to have the table below fit on one column in a two column article environment. I was thinking to either predefine the column width or rescale the table so it fits on one column. Could someone help me with this please? Thanks in advance.
\documentclass[twoside,twocolumn,9pt]{article}
\usepackage{sectsty}
\usepackage{extsizes}
\usepackage[super,sort&compress,comma]{natbib}
\usepackage[version=3]{mhchem}
\usepackage[left=1.5cm, right=1.5cm, top=1.785cm, bottom=2.0cm]{geometry}
\usepackage{balance}
\usepackage{mathptmx}
\usepackage{graphicx}
\usepackage{lastpage}
\usepackage[format=plain,justification=justified,singlelinecheck=false,font={stretch=1.125,small,sf},labelfont=bf,labelsep=space]{caption}
\usepackage{float}
\usepackage{fancyhdr}
\usepackage{fnpos}
\usepackage[english]{babel}
\addto{\captionsenglish}{%
\renewcommand{\refname}{References}
}
\usepackage{array}
\usepackage{droidsans}
\usepackage{charter}
\usepackage[T1]{fontenc}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{setspace}
\usepackage[compact]{titlesec}
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{subfig}
\usepackage{siunitx}
\usepackage{media9}%
%Define extra SI units
\DeclareSIUnit\bar{bar}
\DeclareSIUnit\mAh{mAh}
\usepackage{textcomp}
\usepackage{chemformula}
\usepackage{IEEEtrantools}
\begin{document}
\begin{table}[!h]
\centering
\small
\caption{Caption1.}
\label{table1}
\begin{tabular*}{0.9\textwidth}{@{\extracolsep{\fill}}l|cccccc}
\hline
\textbf{Column1} & \textbf{Column 2} & \textbf{Column 3} & \textbf{$N_{\text{column4}}$} & \textbf{$N_{\text{column5}}$} & \textbf{$N_{\text{column6}}$} & \textbf{$N_{column7}}$} \\
\hline
BLA & 1.0 & 1:6 & 78 & 468 & -- & 546 \\
& 3.0 & 1:2 & 183 & 366 & -- & 549 \\
\hline
BLABLAA & 1.0 & 1:1.2:2.2 & 125 & 150 & 275 & 550 \\
& 1.2 & 1:1.2:1.6 & 145 & 174 & 232 & 551 \\
& 1.5 & 1:1.2:1.2 & 172 & 172 & 206 & 550 \\
& 2.0 & 1:0.7:0.9 & 212 & 148 & 191 & 551 \\
& 3.0 & 1:0.5:0.6 & 262 & 131 & 157 & 550 \\
\hline
BLABLAA & 1.0 & 1:1.2:2.4 & 120 & 144 & 288 & 552 \\
& 1.2 & 1:1.2:1.8 & 138 & 166 & 288 & 552 \\
& 1.5 & 1:1.2:1.4 & 162 & 162 & 227 & 551 \\
& 2.0 & 1:0.8:1.0 & 196 & 157 & 196 & 549 \\
& 3.0 & 1:0.5:0.7 & 250 & 125 & 175 & 550 \\
\hline
\end{tabular*}
\end{table}
\end{document}
John
\textbf{$N_{\text{column4}}$}
) should looks. Your table seems to be to wide that can be fit in one column (you may consider use smaller font size in table as well reduce distance between columns (define smaller\tabcolsep
). It be helpful, if you add preamble to your code fragment :-)