TeX - LaTeX Asked by user2243656 on February 21, 2021
I need help to write text in LaTeX – a mixture of 3 colors.
documentclass{article}
usepackage{xcolor}
begin{document}
%% Single-color
textcolor{blue}{I used Single color for this text}
%% Two-colors
textcolor{blue!50!red}{I used two colors for this text}
%% Three-colors
textcolor{green!!red!!yellow}{It is the correct way to use three colors for this text}
%%or
textcolor{green!40!red!20!yellow}{It is the correct way to use three colors for this text}
end{document}
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP