Book Image

LaTeX Cookbook

By : Stefan Kottwitz
Book Image

LaTeX Cookbook

By: Stefan Kottwitz

Overview of this book

LaTeX is a high-quality typesetting software and is very popular, especially among scientists. Its programming language gives you full control over every aspect of your documents, no matter how complex they are. LaTeX's huge amount of customizable templates and supporting packages cover most aspects of writing with embedded typographic expertise. With this book you will learn to leverage the capabilities of the latest document classes and explore the functionalities of the newest packages. The book starts with examples of common document types. It provides you with samples for tuning text design, using fonts, embedding images, and creating legible tables. Common document parts such as the bibliography, glossary, and index are covered, with LaTeX's modern approach.You will learn how to create excellent graphics directly within LaTeX, including diagrams and plots quickly and easily. Finally, you will discover how to use the new engines XeTeX and LuaTeX for advanced programming and calculating with LaTeX. The example-driven approach of this book is sure to increase your productivity.
Table of Contents (19 chapters)
LaTeX Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Framing a really good question


As I mentioned previously, I love good questions, and most forum users do too. Sometimes, I will spend an hour creating a TikZ drawing for a user. Others work hard to troubleshoot error messages or output problems. We usually have fun with it, in the case of well-framed questions.

How to do it...

Challenges make us happy, especially if they are solvable. So, questions should do the following:

  • Provide as much information as possible

  • State the error message text, if there is one

  • Format code actually as code using the syntax highlighting feature

  • Show your own effort if you managed to achieve something

It's also recommended that you do a forum search with good keywords before posting. A similar question may already have been answered.

And there's the ultimate advice to do something which is nearly a guarantee to solve every LaTeX problem on earth: post a minimal example. The next recipe will deal with this.