I use longtabu to create a table, below is the realted code

\begin{longtabu} to \textwidth {|>{\footnotesize}X[1 , p ] |>{\footnotesize}X[1 , p ] | >{\footnotesize}X[1 , p ]|}

I want the first line of the table (table head) to be footnotesize, and I need one column with tiny font size, but if i change footnotesize to tiny, all lines in that column become tiny, the first line should be footnotesize. How to do it?

  • 1
    you can just start your heading cells with \footnotesize – David Carlisle Aug 25 '14 at 15:15
  • Please always post the code for a complete, small document demonstrating your issue (Minimum Working Example). This is much more useful than mere fragments of code! – cfr Aug 25 '14 at 15:19
  • @DavidCarlisle, THANKS! what a small change but big difference – postit Aug 26 '14 at 8:24

As noted in comments you can specify the default font for a column using the > syntax but override the font for heading or any other cells by starting the cell with a command such as \footnotesize.

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.