# Use sphinx to convert Latex,How to set the tableheader color?

I use sphinx to generate pdf, But I want to set the tableheader color? How to set?

The tables it produces via latex are pretty ugly, so I'd like to give them some global styling. What I'd like to achieve is a header row color?

• Welcome to TeX.SX!! Please post a full minimal working example for the tex coe generiated by sphinx. A MWE should start with a \documentclass command, have a minimal preamble and then \begin{document}...\end{document}. The code should compile and be as small as possible to demonstrate your problem. Cutting your code down to a MWE may well reveal what your problem actually is. In any case, it is really difficult to help you without more information. – Andrew Oct 6 '16 at 11:27
• In my documention, I also want to make chinese font use Microsoft YaHei, the english font and Arabic numerals use Arial font?? and how can I set in conf.py??@Andrew – liminkai Oct 7 '16 at 5:48
• Questions about conf.py should be addressed to a suitable stackexhange web site for python. The latex aspects of your question are appropriate for TeX.SX but it is not possible to answer them without more details and, ideally, a minimal working example. – Andrew Oct 7 '16 at 7:12
• @Andrew,I'm using sphinx to generate documentations. The tables it produces via latex are pretty ugly, so I'd like to give them some global styling. I'd like to achieve a tableheader row color. I add the code in my conf.py preamble:\usepackage{tabu,tabulary} \usepackage[table]{xcolor} \definecolor{tablehead}{rgb}{153, 153, 153}` but it does not work – liminkai Oct 8 '16 at 6:23
• I understand that. If you want help on TeX.SX then post a minimal working example! – Andrew Oct 8 '16 at 10:15