background preloader


Facebook Twitter

WriteLaTeX: Online Collaborative LaTeX Editor with Integrated Rapid Preview. Overleaf: Real-time Collaborative Writing and Publishing Tools with Integrated PDF Preview. TeXstudio. Detexify LaTeX handwritten symbol recognition. Want a Mac app?

Detexify LaTeX handwritten symbol recognition

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. - 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.

How to write 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.

Having a hard time convincing your coauthors to learn LaTeX? With our Rich Te...

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.

LaTeX Templates for Optimization Models « OR Complete

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.

More LaTeX and Beamer Tips

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.

Side-by-side content in beamer presentations « LaTeX Matters

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.

Natbib reference sheet

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.

BibTeX: How to cite a website

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.

See notes below Hex forms XML Browser compatibility notes Other resources Table of symbols. LaTeX:Commands. From AoPSWiki. LaTeX table of contents, list of figures/tables and some customizations. I wrote a somewhat short post on list of figures and list of tables a few years ago. Nevertheless, it gets quite a bit of traffic, possibly due to the large number of comments. For that reason, I decided to put together another, more informative post on the same topic that includes table of contents. I use the following common abbreviations throughout the post: toc: table of contentslof: list of figureslot: list of tables Topics Creating content lists, the basic commands. LaTeX glossary and list of acronyms. Integrating Inkscape graphics in LaTeX. Scaling - Vertically fit a figure with caption to page. Using an image as a document header. Dashes: - vs. – vs. — Hyphenation - How can I make my text never go over the right margin by always hyphenating or breaking on word-boundaries.

Night Walker: Latex: \headheight is too small. You never know what you will meet when you use Latex, luckily, we can search Google or Yahoo to find the answer. However, it cannot help all the times. Packages - What's the elegant way to spread subfigures on the multiple pages. Spacing - Random unwanted space between paragraphs.