Graphics, Figures & Tables ⇒ Customize Table Numbers
-
- Posts: 4
- Joined: Fri Aug 05, 2011 6:29 pm
Customize Table Numbers
Cheers
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Customize Table Numbers
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[tableposition=top]{caption}
\usepackage[countmax]{subfloat}
\renewcommand*{\thesubfloattable}{\themaintable.\alph{subfloattable}}
\begin{document}
\begin{subtables}
\begin{table}[!ht]
\caption{First Sub-Table}\label{subtab-1:dummy-1}
\centering
\rule{6.4cm}{3.6cm}
\end{table}
\begin{table}[!ht]
\caption{Second Sub-Table}\label{subtab-2:dummy-1}
\centering
\rule{6.4cm}{3.6cm}
\end{table}
\begin{table}[!ht]
\caption{Third Sub-Table}\label{subtab-3:dummy-1}
\centering
\rule{6.4cm}{3.6cm}
\end{table}
\end{subtables}
\begin{table}[!ht]
\caption{Second Table}\label{tab:dummy-2}
\centering
\rule{6.4cm}{3.6cm}
\end{table}
\end{document}
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10