Text FormattingVisual Studio Formating

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
mbbxkpg2
Posts: 3
Joined: Sat Jan 03, 2015 1:53 am

Visual Studio Formating

Post by mbbxkpg2 »

I am trying to get a LaTex code listing to resemble Visual Studio handling Visual C#. I have got part of the way there using the Listings package, following http://tex.stackexchange.com/questions/ ... ual-studio

However I am still struggling with the following:

1) How to get the XML tags in grey, but the comment still in green?
2) How to get 'objects' in cyan, including standard library objects.

I would be grateful if someone could help. I have attached a screenshot of Visual studio along with a minimal code example.

Parmesh
Attachments
VS_ColourScheme.JPG
VS_ColourScheme.JPG (198.08 KiB) Viewed 3022 times
VisualStudioExample.tex
(1.71 KiB) Downloaded 300 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

thomasb
Posts: 134
Joined: Thu Aug 03, 2017 10:54 am

Visual Studio Formating

Post by thomasb »

Well, I would say, keep it this way...
Post Reply