%22)%20en%20SubFloats%20(en%20una%20tabla).png)
Entonces tengo un conjunto de tres entornos tabulares en una tabla:
\begin{table}[h]
\centering
\scriptsize
\subfloat[``student" data table]{
\begin{tabular}{lcc} \toprule
Column Name & Data Type \\\midrule
id* & Integer \\
name & Text \\\bottomrule
\end{tabular}
}
\qquad\qquad
\subfloat[``term\_gpa" data table]{
\begin{tabular}{lcc} \toprule
Column Name & Data Type \\\midrule
id* & Integer \\
term* & Integer \\
gpa & Float \\\bottomrule
\end{tabular}}
\qquad\qquad
\subfloat[``degrees" data table]{
\begin{tabular}{lcc} \toprule
Column Name & Data Type \\\midrule
id* & Integer \\
term & Integer \\
degree* & Char(5) \\\bottomrule
\end{tabular}}
\end{table}
Todo se ve muy bien, sin embargo, "(a)", "(b)", "(c)", ha confundido a algunos usuarios como si fueran los nombres de las tablas. Sin embargo, estoy intentando eliminarlos cuando agrego esto:
\renewcommand{\thesubtable}{\relax}
Obtengo que cada uno esté etiquetado como "()"; por lo que suprime la numeración, pero aún incluye la parátesis.
Algunas ideas. Espero que sea algo sencillo. ¡Gracias!
Respuesta1
Como subfig
usa el caption
paquete, puedes usar
\captionsetup[subfloat]{labelformat=empty}
Un ejemplo completo:
\documentclass{article}
\usepackage[margin=2cm]{geometry}% just for the example
\usepackage{subfig}
\usepackage{booktabs}
\begin{document}
\begin{table}[h]
\centering
\scriptsize
\captionsetup[subfloat]{position=top,labelformat=empty}
\subfloat[``student" data table]{
\begin{tabular}[t]{lcc} \toprule
Column Name & Data Type \\\midrule
id* & Integer \\
name & Text \\\bottomrule
\end{tabular}
}
\qquad\qquad
\subfloat[``term\_gpa" data table]{
\begin{tabular}[t]{lcc} \toprule
Column Name & Data Type \\\midrule
id* & Integer \\
term* & Integer \\
gpa & Float \\\bottomrule
\end{tabular}}
\qquad\qquad
\subfloat[``degrees" data table]{
\begin{tabular}[t]{lcc} \toprule
Column Name & Data Type \\\midrule
id* & Integer \\
term & Integer \\
degree* & Char(5) \\\bottomrule
\end{tabular}}
\end{table}
\end{document}
Por cierto, utilizar [h]
como especificador de ubicación puede resultar demasiado restrictivo; podrías intentar usar algo como [ht]
o [hb]
.