LaTeX

Arbitrary LaTeX reference.

Tutorial

Bibliography. How can I define new commands in LaTeX? - IS&T Contributions - Hermes. If you find yourself needing to use a particular bit of text (with or without LaTeX commands) in your document multiple times, it may be convenient for you to define it as a command, using \newcommand.

For example, if you were tired of typing the commands for a degree symbol, you might do \newcommand{\dg}{$^\circ$ }

Conversion

Git + LaTeX workflow. Fonts. CDGuide. Mathematicians have been using diagrams of objects and arrows to explain their work since at least 1945.1 Conventionally, these are called commutative diagrams (even when they don't commute2).

When publishers first began using TeX, commutative diagrams caused them problems --- I remember being asked by one publisher to turn a commutative triangle into a square by the addition of an equals sign. Fortunately, there are now several very capable packages for producing commutative diagrams. Despite their wide use by mathematicians and others, these packages are barely mentioned in the usual books on TeX.

Packages

A Stargazer Cheatsheet. Dataset: dplyr and nycflights13 Setting up a dataset for this cheatsheet allows me to spotlight two recent R packages created by Hadley Wickham.

The first, dplyr, is a set of new tools for data manipulation. Using dplyr, I will extract flights and weather data from another new package called nycflights13. With this data I will show how to estimate a couple of regression models and nicely format the results into tables with stargazer. Note: stargazer v. 5.1 does not play nicely with dplyr’s tbl_df class. Tables. How to include MATLAB code in LaTeX documents.

IN Tips & Tricks Many packages exist that allow you to include source code of different programming languages into LaTeX document.

The most popular once are probably listings and fancyvrb. However, due to their aim for being as general as possible, including MATLAB source code with the right color and markup can be tedious task. Fortunately, Florian Knorn over at MATLAB Central developed a simple style file that does this for you: meet mcode. Set up. Beamer. Edit user settings. Cross-referencing between different files. Tcolorbox. Defining operators like sin, log etc.

Theorem Environments. Theorem Environments In LaTeX, one can create `environments' for statements of theorems, lemmas, propositions, corollaries, etc., and also for proofs, definitions, examples and remarks.

These can be established using appropriate \newtheorem and \newenvironment commands: these commands are best included in the LaTeX input file before \begin{document}.

Templates

How can I change the margins in LaTeX? - IS&T Contributions - Hermes. On this page: Overview LaTeX's margins are, by default, 1.5 inches wide on 12pt documents, 1.75 inches wide on 11pt documents, and 1.875 inches wide on 10pt documents.

This is the standard for book margins. If you want to change them, you have several options: the "geometry" package, the "fullpage" package or changing the margins by hand. Import Matlab Code to Latex File. Edycja wzorów matematycznych, LaTeX. Convert Latex Equations into Images to Embed in DocumentsEmbed Equation in Web Page, Forum, Google Docs, TwitterRender Latex Math Equations into Plain Text ASCIIInsert ASCII Eqn as comment in source-code or emailConvert your email or address to image to avoid spamSupports (PNG, GIF, JPG, TIF, BMP, PNM, FIG, PS)Control Equation Font Family, Size, Color, and OpacityUnlimited Uploads, No Registration Learn Latex QuickySymbolsBook 1Book 2Book 3 | You need not to enter Latex math tags such as $...$, ...

, or \begin{eqnarray}... \end{eqnarray} ➘ More Productivity Tools i2Clipart. Detexify LaTeX. Want a Mac app?

Lucky you. The Mac app is finally stable enough. LaTeX for Logicians. These pages give a brief guide to resources of interest to logicians, philosophers and others using LaTeX to produce papers or presentations, teaching materials, theses or books, and perhaps wanting to include logical matter such as natural deduction proofs.

General info. Most of the information in these pages is really intended for those who already have some familiarity with LaTeX. But if you are curious, or want a few pointers to sources of fairly introductory info, look here. There are also a few general LaTeX links of interest to the more expert.Logic symbols. LaTeX. Nvie/gitflow. Controlling figure and table placement in LaTeX. It can be frus­trat­ing try­ing to get your fig­ures and tables to appear where you want them in a LaTeX doc­u­ment.

Some­times, they just seem to float off onto another page of their own accord. Here is a col­lec­tion of tools and ideas that help you get con­trol of those pesky floats. Use the place­ment options: h, t, b and p. Getting to grips with LaTeX - writing. Here are some tutorials I have written for getting up to speed with this excellent document processing system.

Funnily enough I wouldn't consider myself an expert, per se, but I'm learning all the time. I recall finding it quite taxing when I started to learn LaTeX, which is why I have started these tutorials. However, I hope that my experience plays to your advantage because I cover sort of questions and problems I had when I first learning LaTeX which are probably typical for most beginners. Benefits. Shravan Vasishth's Slog (Statistics blog): Automating R exercises and exams using the exams package. It's a pain to design statistics exercises each semester, and because students from previous share old exercises with the new incoming students, it's hard to design simple exercises that students haven't already seen the answers to. On top of that, some students try to cheat during the exam by looking over the shoulder of their neighbors.

Homework exercises almost always involve collaboration even if you prohibit it. ProTeXt - a TeX distribution for Windows. ProTeXt aims to be an easy-to-install TeX distribution for Windows, based on MiKTeX. After downloading, a wizard (available in several languages) guides the installation. Download and install You can download the self-extracting protext.exe file from CTAN; it is well over 1GB. Macros/latex/contrib/fancyhdr/ This is fancyhdr, a replacement for fancyheadings. I still still intend to make sometime in the future a real .dtx of it, including the minimal documentation. The current documentation is in fancyhdr.tex, but this contains much more material than the fancyhdr doc.

When the fancyhdr.dtx is ready, I will rename fancyhdr.tex into something like pagelayout.tex to get it more in line with the title (Page Layout in LaTeX). fancyhdr is 99% compatible with fancyheadings. The only incompatibility is that \headrulewidth and \footrulewidth and their \plain... versions are no longer length parameters, but normal macros (to be changed with \renewcommand rather than \setlength). Although all the other old fancyheadings commands continue to work you are advised to use the new syntax as described in fancyhdr.tex, because this is much easier to use in complicated cases. Latex-decode/features/punctuation.feature at master · inukshuk/latex-decode.

R LaTeX

Controlling figure and table placement in LaTeX. Obtaining LaTeX. LaTeX for the impatient Linux Your system distribution or vendor has probably provided a TeX system including LaTeX. MyK. PhpSyntaxTree - drawing syntax trees made easy.