# LaTeX

Lucky you. The Mac app is finally stable enough. See how it works on Vimeo. Download the latest version here. GmailTeX. After clearing the browser cache and restarting Gmail, you should see the collapsible GmailTeX menu in the Gmail Navigation Bar on the left.

(If you used the alternative installation, you need to click on the newly created Gmail bookmarklet first.) The menu should have the following items: rich math (F8) simple math (F9) auto: off 1 2 4 8, rich / simple help & about Reading email When you receive an email containing LaTeX-encoded math, hit the link simple math or rich math, or press F9, resp. MathURL. MathB.in - Math pastebin with LaTeX support. LaTeX Templates. Texblog. When should I use \input vs. \include? How to write multi-part definitions in LaTeX. This post explains how to typeset multi-part definitions in LaTeX.

The absolute value function is a simple example of a two-part definition. The Möbius function is a more complicated example of a three-part definition. Here’s how you could write LaTeX for the absolute value definition. |x| = \left\{ \begin{array}{ll} x & \mbox{if } x \geq 0 \\ -x & \mbox{if } x < 0 \end{array} \right. The right-hand side of the equation is an array with an opening brace sized to fit on the left. Since this pattern comes up fairly often, it’s handy to have a command to encapsulate it. \newcommand{\twopartdef}[4] { \left\{ \begin{array}{ll} #1 & \mbox{if } #2 \\ #3 & \mbox{if } #4 \end{array} \right. } Then we could call it as follows: |x| = \twopartdef { x } {x \geq 0} {-x} {x < 0} The command threepartdef is very similar to twopartdef. Having a hard time convincing your coauthors to learn LaTeX? With our Rich Te...

By John Lees-Miller This weekend has seen the release of a major upgrade to the writeLaTeX editor, including a new user interface, an updated project pane to manage your files, and the first release of our new Rich Text mode for easier editing and collaboration.

Our new rich text mode renders headings, formatting and equations directly in the editor, to make it seem more familiar to WYSIWYG users. LaTeX Templates for Optimization Models « OR Complete. While writing a file, many times I needed to insert an optimization model in an elegant way.

While it may seem easier to find a template that works well, there are different ways to do it. Here, I will compile a list of different methods, so you don’t have to Google it or copy from your old documents every time you need it. Formula Sheet. Mathgrep.txt. This is a Perl script which does either a search (known in the Unix world as a grep) or a search-and-replace on a LaTeX document looking only in sections of mathematics.

Download: you can get a copy of the latest version here. The current version is 1.0. Tools for making latex tables in R. Handling Latex backslashes in xtable. Top 5 Beamer Tips. More LaTeX and Beamer Tips. I use both Windows and Mac machines and want my LaTeX files to run equally well on both.

The only difficulty arises when a file is included from another directory (usually a PDF or jpeg file or a program listing). If the file name is specified relative to the current location then forward slash syntax can be used and works on both Mac and Windows. For example. Side-by-side content in beamer presentations « LaTeX Matters. There are two ways (and possibly more) to place content side-by-side in a beamer presentation, the columns and the minipage environments.

The first is a beamer-specific environment and is therefore only available in a beamer presentation. Whereas the latter has other applications and is available in all document-classes. General considerations. Natbib reference sheet. Reference sheet for natbib usage(Describing version 7.0b from 2002/02/27) For a more detailed description of the natbib package, LATEX the source file natbib.dtx.

Overview The natbib package is a reimplementation of the LATEX \cite command, to work with both author-year and numerical citations. BibTeX: How to cite a website. With the increasing importance of the internet for scientific research, need increases for properly citing online resources.

Unfortunately, when the main LaTeX citation machinery BibTeX was created, this was not to be foreseen; this is why there is to date no canonical way to cite, say, a website. Different workarounds have emerged, using for example some trickery with the @MISC type (see below), but the right way™ hasn't been found yet.

This could change with the advent of biblatex. Its new entry type @ONLINE is supposed to contain references to web resources and doesn't give room for confusion anymore. Getting Bibtex to spell out the first name. Making natbib and chapterbib work. Bibtex - URL of cited web site in bibliography. The font - Thesis in LaTeX. At the beginning of the thesis typesetting I used only one typeface — default LaTeX font, computer modern roman (CMR; see also Latin Modern): \usepackage[T1]{fontenc} After several months of working with 11pt CMR both on screen and paper, I have decided to look for some alternative, because CMR text appeared to me too "light".

A brief search resulted in finding a good collection of free LaTeX fonts, where besides the font appearance one can get information on the installation and activation of a particular font in LaTeX. After few weeks of trying different fonts from that collection, I have stopped my choice on Bitstream Charter (Charter BT) as the font for the "body" text:

Changing the font size in LaTeX. Changing the font size in LaTeX can be done on two levels, either affecting the whole document or parts/elements of it. Using a different font size on a global level will affect all normal-sized text as well as the size of headings, footnotes, etc. By changing the font size locally, however, a single word, a few lines of text, a large table or a heading throughout the document may be modified. Research tips - Synchronizing WinEdt and pdf files. Synchronizing WinEdt and pdf files Being able to go from a line in WinEdt to the cor­re­spond­ing place in a com­piled doc­u­ment is extremely use­ful and saves a lot of time. This has long been pos­si­ble using Yap with dvi doc­u­ments, but Yap is slow and ugly and the dvi files usu­ally have to be con­verted to pdf before send­ing them to any­one else. So I tend to use pdf­tex­ify to cre­ate pdf files directly, but I miss hav­ing syn­chro­niza­tion between what I write and the pdf file that is created.

Xetex - I am new to TeX. Should I use LaTeX, XeLaTeX, ... How to put PDF properties in a LaTeX file. Top four LaTeX mistakes. Here are four of the most common typesetting errors I see in books and articles created with LaTeX. 1) Quotes Quotation marks in LaTeX files begin with two back ticks, , and end with two single quotes, ''. The first “Yes” was written as Yes.'' in LaTeX while the one with the backward opening quote was written as. Common Math Symbols in HTML, XML, TeX, and Unicode. HTML provides a mnemonic form for 252 of the most common symbols. (See a full list from the W3C.) These are called “character entities.” You can simply put Unicode characters directly into an HTML page as long as you have an input method and the content-type of your HTML page is correctly set. However character entities let you specify non-ASCII characters in HTML using only ASCII text.