I have a table. Latex code is given below. I want to set the font of this table arial - only this table not the entire document. How do I set this?



wwww & xxxx & yyyy & zzzz \\

wwww & xxxx & yyyy & zzzz \\


If you want to do that with pdflatex, you first have to install the winfonts package yourself in your local TeXMF tree, since, as far as I know, it is not part of MiKTeX nor TeX Live. Don't forget to run updmap at the end. Then modify the beginning of your table as:


If you want to compile with XeLaTeX and Arial is installed on your system, it is simpler: add to your preamble (if not already done):


and modify the beginning of your table as:


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.