Graphics, Figures & Tablessupertabular | plusminus column separator and xcolor

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
badinsults
Posts: 3
Joined: Wed Dec 29, 2010 12:34 pm

supertabular | plusminus column separator and xcolor

Post by badinsults »

Hello, I'm listing off a bunch of radiocarbon dates, and am using a plusminus symbol as a column separator. I would like to use alternating coloured rows to make my table a bit more readable, but the plusminus symbol does not show up properly when I use xcolour. The symbol is there, which is evident if you highlight the row in a pdf. You can sort of see the edge of the symbol otherwise. Note that if you don't use xcolor, the plusminus symbol shows up properly.

Minimum working example:

Code: Select all

\documentclass[a4paper,12pt]{article}

\usepackage{natbib}
\usepackage{setspace}
\usepackage{fullpage}
\usepackage{amsmath}
\usepackage{array}
\usepackage{booktabs}
\usepackage{supertabular}
\usepackage[table,x11names]{xcolor}
\doublespace

\begin{document}

...

\rowcolors{1}{Snow2}{Snow1}
\topcaption{Radiocarbon dates associated with Glacial Lake Agassiz}
\label{table:radiocarbonLakeAgassiz}
\singlespace
\sffamily
\begin{tiny}
\tablefirsthead{
\noalign{\smallskip}\toprule\hiderowcolors
Location
	& Latitude ($^{\circ}$N)
	& Longitude ($^{\circ}$W)
	& Elevation (m)
	& Lab number
	& \multicolumn{2}{c}{ Age (yr BP)} 
	& Material dated
	& Notes
	& Reference
\tabularnewline \hline \showrowcolors
}
\tablehead{
\multicolumn{10}{c}{\normalsize{Table ~\ref{table:radiocarbonLakeAgassiz} (continued)}}\\
\noalign{\smallskip}\toprule\hiderowcolors
Location
	& Latitude ($^{\circ}$N)
	& Longitude ($^{\circ}$W)
	& Elevation (m)
	& Lab number
	& \multicolumn{2}{c}{Age (yr BP)} 
	& Material dated
	& Notes
	& Reference
\tabularnewline \hline 
}
\tabletail{
\bottomrule
}
\begin{supertabular}{ >{\raggedright}p{1.5cm} >{\centering}p{0.5cm} >{\centering}p{0.75cm} >{\raggedleft}p{.5cm} >{\raggedright}p{1.25cm} >{\raggedleft}p{.75cm} @{\,$\pm$\,} >{\raggedright}p{.25cm} >{\raggedright}p{2cm} >{\raggedright}p{3.5cm} >{\raggedright}p{2.5cm} }
	Rossendale, Man.
	& 49.783
	& 98.583
	& ~328
	& Y-165
	& 12\,400
	& 420
	& peat
	& buried under alluvium of the Assiniboine Delta above Campbell Beach level; date considered unreliable by (reference here)
	& (reference here)
\tabularnewline
	  Rossendale, Man.
	& 49.783
	& 98.583
	& ~328
	& Y-165
	& 13\,230
	& 600
	& peat
	& buried under alluvium of the Assiniboine Delta above Campbell Beach level; date considered unreliable by (reference here)
	& (reference here)
\tabularnewline
\end{supertabular}
\end{tiny}

%\end{table}
%\textnormal
\doublespace

...

\end{document}
Attached is the PDF output of the above code.
Attachments
test.pdf
output of latex script
(14.08 KiB) Downloaded 263 times

Recommended reading 2024:

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

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

Post Reply