Graphics, Figures & Tables ⇒ Columns with different sized text
Columns with different sized text
Quite new to LaTeX. What's the best way to set up a table with smaller font size in certain specified columns, so that once it's set up and I start typing in the entries for each row, I don't have to specify the changes in size for the entries in those columns? Thank you! Lloyd.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Columns with different sized text
If I understand you right, the code below should do what you want.
For more information about the involved packages refer to their manuals on CTAN or via command prompt on your local machine.
Best regards and welcome to the board
Thorsten
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{array,booktabs}
\begin{document}
\begin{tabular}{l>{\footnotesize}l>{\Large}l}\toprule
Normal & Footnote size & Large \\\midrule
Values & Values & Values \\
Values & Values & Values \\
Values & Values & Values \\\bottomrule
\end{tabular}
\end{document}
Code: Select all
texdoc array
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Columns with different sized text
Thank you Thorsten, that does the trick nicely. It leads me to another related question, which I hope it's ok to post in this same thread:
What if I wanted to set the table up with different formatting for odd rows and even rows? The reason is that I want to entabulate some data, and include in the "inbetween" rows the difference between entries above and below. I know there are other ways to represent this information in a table (such as in a different column), but for my current purposes it makes sense to do it this way.
I appreciate you posting in a complete working solution for me last time--to save you time, you could just indicate a couple of key words (and packages if they are required) and I'm happy to go look it up for myself.
Regards, Lloyd
What if I wanted to set the table up with different formatting for odd rows and even rows? The reason is that I want to entabulate some data, and include in the "inbetween" rows the difference between entries above and below. I know there are other ways to represent this information in a table (such as in a different column), but for my current purposes it makes sense to do it this way.
I appreciate you posting in a complete working solution for me last time--to save you time, you could just indicate a couple of key words (and packages if they are required) and I'm happy to go look it up for myself.
Regards, Lloyd