# Listings latex for pc

The pack­age en­ables the user to type­set pro­grams (pro­gram­ming code) within L a T e X; the source code is read di­rectly by T e X —no front-end pro­ces­sor is needed. Key­words, com­ments and strings can be type­set us­ing dif­fer­ent styles (de­fault is bold for key­words, italic for . L a T e X is widely used in science and programming has become an important aspect in several areas of science, hence the need for a tool that properly displays code. In this article is explained how to use the standard verbatim environment as well as the package listings, which provide more advanced code-formatting features. Code listings in LaTeX “Pretty” code listings are sometimes considered worthwhile by the “ordinary” programmer, but they have a serious place in the typesetting of dissertations by computer science and other students who are expected to write programs.