# LaTeX

Arbitrary LaTeX reference.

## Tutorial

Bibliography. How can I define new commands in LaTeX? - IS&T Contributions - Hermes. 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 Download mcode.sty by clicking this link to the MATLAB Central File Exchange. Beamer. Edit user settings. Cross-referencing between different files. Tcolorbox. Defining operators like sin, log etc. Latest Forum Posts.

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. geometry. 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 Royalty Free Public Domain Clipart suitable for academic presentations and project logos i2Symbol.

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. For lists of available logic and other symbols.Natural deduction proofs. 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. For example causes LaTeX to try to fit the float “here”, or at the “top” of the cur­rent page (or the next page), or at the “bot­tom” of the cur­rent page (or the next page). One of the rea­sons that the floats won’t go where you want them is that there are a lot of con­straints on where they can go. These can all be changed indi­vid­u­ally.

If you want to change the defaults, the fol­low­ing val­ues give rea­son­able results: The \clearpage com­mand starts a new page and inserts all floats that have not yet appeared before con­tin­u­ing. 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. 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. It turns out that you can automate the generation of fixed-format exercises (with different numerical answers being required each time). You can also randomly select questions from a question bank you create yourself.