En este caso, el texto real es irrelevante; el formato y el diseño es lo que me interesa. Todos mis intentos han resultado engañosos.
¡Estoy impaciente por estudiar tus ideas!. Gracias de antemano.
Respuesta1
Aquí hay un intento. Sin embargo, puedes ajustar los colores.
\documentclass{article}
\usepackage[table]{xcolor}
\usepackage{array}
\usepackage{booktabs}
\usepackage{caption}
\captionsetup[table]{font=sf,labelfont={color=red,bf,sf},textfont=sf,labelsep=space}
\newcolumntype{G}{>{\raggedright\arraybackslash}p{\dimexpr0.25\textwidth-2\tabcolsep\relax}}
%% \arrayrulecolor{magenta} %%% uncomment this to have all rules in this color
\begin{document}
\begin{table}[htb]
\centering
\caption[Some table]{This is my table}\label{tab:mytab}
\begin{tabular}{*{3}{G}>{\textcolor{green!40!blue}\bgroup\arraybackslash}G<{\egroup}}
\arrayrulecolor{magenta}\toprule
\scshape Some text & \scshape Some text here & \scshape Some text & \multicolumn{1}{G}{\scshape
And some more text here} \\\midrule
Some text & Some text here & some text & and some more text here \\
Some text & Some text here & some text & and some more text here \\
Some text & Some text here & some text & and some more text here \\
Some text & Some text here & some text & and some more text here \\\bottomrule
\end{tabular}
\end{table}
\begin{table}[htb]
\centering
\rowcolors{2}{}{gray!25}
\caption[Some table]{This is my table}\label{tab:myothertab}
\begin{tabular}{*{4}{G}}\arrayrulecolor{magenta}\toprule
\scshape Some text & \scshape Some text here & \scshape Some text & \scshape And some more text
here \\\midrule
Some text & Some text here & some text & and some more text here \\
Some text & Some text here & some text & and some more text here \\
Some text & Some text here & some text & and some more text here \\
Some text & Some text here & some text & and some more text here \\\bottomrule
\end{tabular}
\end{table}
\end{document}
Respuesta2
Aquí hay un código que reproduce lo más fielmente posible la primera tabla del OP. Requiere cargar principalmente caption
y floatrow
(para la posición del título), además microtype
, xpatch
y makecell
.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{springer}
\usepackage[showframe, nomarginpar, textwidth = 15cm]{geometry}
\usepackage[svgnames, x11names]{xcolor}
\usepackage{array, booktabs, colortbl}
\usepackage{caption, floatrow}
\usepackage{makecell}
\usepackage[tracking]{microtype}
\usepackage{xpatch}
\xapptocmd{\toprule}{\addlinespace[-1pt]}{}{}
\xpretocmd{\midrule}{\addlinespace[-3pt]}{}{}
\xapptocmd{\midrule}{\addlinespace[5pt]}{}{}
\setlength{\tabcolsep}{4pt}
\renewcommand{\lightrulewidth}{0.06em}
\DeclareCaptionFormat{leftmargin}{\captionsetup{textfont={small, sf, md, up}, labelfont={small, sf, md, up}, labelsep=space, position = above, slc = off} \raggedright\textls*[150]{\MakeUppercase{#1 #2}}#3}%
\floatsetup{captionskip = 4pt}%
\renewcommand{\theadfont}{\SetTracking{encoding= *, shape= sc}{180}\color{black}\rmfamily\scshape}%
\renewcommand{\theadalign}{tl}
\begin{document}
\setcounter{table}{3}
\begin{table}[!h]
\centering\arrayrulecolor{DeepPink3!50!DeepPink2}\captionsetup{format = leftmargin, font = {color ={DeepPink3!50!DeepPink2}} }
\ttabbox[\FBwidth]{\caption{Properties of everyday -- or Galilean -- velocity.}}%
{%
\begin{tabular}{@{}*{3}{l} >{\color{SeaGreen2!45!Cyan4}\sffamily}l@{}}
\toprule%
\thead{Velocities\\can} & \thead{Physical \\ properties} & \thead{Mathematical \\ name} & \thead{Definition}\\
\midrule
\addlinespace[0.25ex]
Be distinguished & distinguibility & element of set & Vol. III, page 242 \\
Change gradually & continuum & real vector space & \makecell[tl]{Page 77, Vol. V, \\ page 349} \\
Point somewhere, direction & vector space, dimensionality & Page 77 \\
Be compared & measurability & metricity & Vol. V, page 340 \\
Be added & additivity & vector space & Page 77 \\
Have defined angles & direction & Euclidean vector space & Page 77 \\
Exceed any limit & infinity & unboundedness & Vol. III, page 243 \\
\addlinespace
\bottomrule
\end{tabular}
}%
\end{table}
\end{document}