Tuesday, June 9, 2009

LaTeX: How to change the word Figure or Table

To change the word Figure or Table

What you need is \renewcommand{}{}.

Example:

  1. Change Figure to Rajah:
    \renewcommand{figurename}{Rajah}

  2. Change Table to Jadual:
    \renewcommand{tablename}{Jadual}

What about List of Figures and List of Tables?

We can still use the same \renewcommand{}{}.

Example:

  1. Change List of Figures to Senarai Rajah:
    \renewcommand{listfigurename}{Senarai Rajah}

  2. Change List of Tables to Senarai Jadual:
    \renewcommand{listtablename}{Senarai Jadual}