0

I'm searching a simple way to center by default all cells content/text for all tables within my document.

Is there any simple way for that ?

Thank you in advance for help !

4
  • 1
    Depends on table type. For example, using tabular specify column types as c. etc.
    – Zarko
    Commented Jul 7, 2020 at 14:06
  • @Zarko , i'm wanting to center the cells contents for all tables at the begining of my document. after \usepackage{}
    – Tou Mou
    Commented Jul 7, 2020 at 14:08
  • Do you want to horizontally center or vertically center the contents? Please also include an example that shows how you currently create your tables.
    – leandriis
    Commented Jul 7, 2020 at 15:03
  • how you imagine to write tables? specification always contains columns types. for it use c, if table use tabular table environment. BTW, your question is not clear.
    – Zarko
    Commented Jul 7, 2020 at 15:32

1 Answer 1

0

In all tabulars (table is the floating object commonly put around a tabular) you have to give the number of columns. Thus is done by specifying the type of your column - e.g. \begin{tabular}{cc} for two centered columns.

If you want to rearrange your work, the clean thing is a regular expression search on your source code and replace them.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .