0

I have a table defined like this:

\begin{table}[]
\tiny

It contains a table header in bold with a line break between words.

\textbf{\thead{word1 \\ word2}}

I added this to my pre-amble as per this answer, because \makecell or \thead sets the font size to \footnotesize.

\usepackage{makecell}
\renewcommand\theadfont{\normalsize}

How do I get \makecell and \thead to just emulate the table environment? Sometimes my tables use font size \normalsize and other times \tiny and other font sizes.

  • 2
    you have not provided a test file but I would assume \renewcommand\theadfont{} does the right thing if you don't want the command to change the font – David Carlisle Feb 25 '18 at 12:10
2

If you don't want the command to change the font then

 \renewcommand\theadfont{}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.