background preloader

LaTeX Tutorials

Facebook Twitter

Is there a way to tune ball shading in TikZ. LaTeX Tutorial. Introduction This is just a small and simple tutorial, maybe just an introduction to LaTeX.

LaTeX Tutorial

I will try to keep improving it. Definition LaTeX is a document markup language and document preparation system for the TeX typesetting program. Charles Plager's Latex Page. This page describes some hints for using Latex.

Charles Plager's Latex Page

For the most part, I use this page to grab snippets of latex sources Useful Links MikTeX Page - A full latex installation for Windows The Not So Short Introduction to Latex pdf file David Wilkins Latex Primer University of Cambridge's LaTeX page NASA GISS Hypertext Help with LaTeX TeX showcase - Incredible examples of what can be done with latex Excel2Latex V2.0 - an excel macro that allows you to export Excel tables as latex source files. Using Latex in PowerPoint (and Open Office) There are several useful Latex packages out there for makins slides for presentations.

LaTeX Tricks (VI) Customizing a document class is important in the LaTeX world.

LaTeX Tricks (VI)

We will here see two examples of this through the lettre document class: Removing line bending,Making the space smaller, between address, etc., and the beginning of the text. Next, we will consider a small fraction of a bigger LaTeX problem: the encoding facts. By Luca Merciadri, as PDF file Contents Customization of a document class: example with lettre LaTeX document classes can be customized: macros can be (re)defined and lengths can be set, for example.

We will here take the example of the lettre document class to illustrate how these two things can be done. Removing line bending The lettre document class draws a small line bending to help you bending the letter in three parts once you have printed it. Making the space smaller, between address, etc., and the beginning of the text If you use the lettre class, you might dislike the space between address and the beginning of the text of the letter. \setlength\openingspace{-1cm} Help On LaTeX Spaces and Boxes. Spaces and Boxes "Visible" Spaces You can generate a "visible" space, generally indicated as a small, squat "u," and useful in didactic material by using the \verb command or the verbatim environment.

Help On LaTeX Spaces and Boxes

Non-breaking Spaces To generate a space where you do not want to allow a break for a new line use a ~. For example, ... in Table~2 and Fig.~3 ... Controlling Space in Text The ends of words and sentences are marked in the input by one or more spaces. Paragraphs are delineated by a blank line — one which does not contain even comments (anything following a % until the end of a line is a comment). LaTeX leaves extra space after punctuation, such as the period which ends a sentence, but, it uses a very simple rule (periods end sentences unless they follow a capital letter) so sometimes it needs a little help in determining when this is required. \<space> to create an ordinary interword space \@ before punctuation to force an "end of sentence" space Also see Spaces after Commands.

LaTeX Tutorial; Wilfrid Laurier University Department of Physics and Computer Science. Pages created and updated by Terry Sturtevant Date Posted: September 23, 2013 Contact me if you have any other suggestions for examples to include.

LaTeX Tutorial; Wilfrid Laurier University Department of Physics and Computer Science

For what it's worth, I work on a Linux system using TeX Live , which is also available for Windows, but many students may work with these examples on Windows systems using MikTeX or some other flavour, , and some work on Macs . That's why I have three versions of the source files. (Any one will work fine with LATEX, but some text editors will have a problem with the wrong version.)

LATEX can be learned somewhat like HTML; by looking at some simple examples of LATEX source code and the resulting output, even beginners can quickly get the idea of how various things work. A note about these LATEX file examples I use pdflatex to produce the output for all of my work, so that is how these examples are set up. Pdflatex simple from the directory in which the files are placed.

If you get errors indicating pdflatex cannot be found, try typing or. LaTeX Tips: Basics. Books G.

LaTeX Tips: Basics

Gratzer, Math into LaTeX. A must-have for anyone using LaTeX for mathematical typing, this is the only book describing, in detail, the AMS enhancements to LaTeX ("ams-latex") that greatly facilitate the typesetting of mathematical material. It is suitable for beginners, but is also an indispensable reference for experienced TeX users. H. General Math Use align instead of eqnarray for multiline displayed equations. Latex_advanced.

How to enclose terminal symbols within circles and/or nice oval boxes in a syntax diagram built using syntax.sty.