Graphics, Figures & TablesSub caption label

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
teotjunk
Posts: 18
Joined: Fri Sep 19, 2008 5:28 pm

Sub caption label

Post by teotjunk »

I am trying to get the subcaption to appear at the top with the a and b without any success

Code: Select all

\begin{table}[H]
\tiny
\subfloat[Test1]{
\centering
\begin{tabular}{l l l l}
g1 & g2  & ex & Error Rate\\
\hline
0.1 & 0.1 & 0.01        &0.336\\

0.1 & 0.1 & 0.1        & 0.333\\
\end{tabular}}
\qquad
\subfloat[Test2]{
\centering
\begin{tabular}{l l l l}
g1 & g2  & ex & Error Rate\\
\hline\
0.1 & 0.1 & 0.1        & 0.211\\
\end{tabular}}

\end{table}

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Re: Sub caption label

Post by sommerfee »

teotjunk
Posts: 18
Joined: Fri Sep 19, 2008 5:28 pm

Re: Sub caption label

Post by teotjunk »

How do I make the automatic a caption disappear ?
Post Reply