Hello,
I'm trying to dye my java code in LaTeX and i'm really exhausted. I found this http://www.latex-community.org/viewtopi ... 97&p=14006. It's sollution to highlight background.
Is there any sollution to put colors on main words (like for, while...)?
Regards
Text Formatting ⇒ Coloration Java Code
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Coloration Java Code
Take a look at the listings manual. It explains the formatting of code in a certain programming language and highlighting of keywords.
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Coloration Java Code
Thank you! It was the most speedest answer that I've got. 
