background preloader

Latex

Facebook Twitter

Create LaTeX tables online. LatexPourLeProfDeMaths. Beamer Presentations: A Tutorial for Beginners (Part 1)—Getting Started - Overleaf, Éditeur LaTeX en ligne. BOL: How to install Perl modules on Mac OS X in easy steps !! Floating minipages and other wizardry – LaTeX Ninja'ing and the Digital Humanities. Inspired by a current issue from my friend the LaTeX Noob, I wanted to give a short explanation on how you can combine floats (i.e. figures) and minipages.

Floating minipages and other wizardry – LaTeX Ninja'ing and the Digital Humanities

Why should you care? Well, if you need tikzpicture or images placed besides eachother or beside text. So most people will probably need this at some point A great resource is the WikiBook, as always. Paragraph formatting. The default LaTeX formatting is fine and makes documents quite readable, but it can be changed if you need a different looking document.

Paragraph formatting

This article explains how to change the paragraph and line spacing. [edit] Introduction Changing the length of some specific elements my alter the looking of the entire document. \documentclass{article}\usepackage[utf8]{inputenc}\usepackage[english]{babel} \setlength{\parindent}{4em}\setlength{\parskip}{1em}\renewcommand{\baselinestretch}{2.0} \begin{document} This is the first paragraph, contains some text to test the paragraph interlining, paragraph indentation and some other features. Also, is easy to see how new paragraphs are defined by simply entering a double blank space. Enumitem. Mon blog informatique. Enumerate - How to create checkbox todo list? Latex : Personnaliser les titres (chapter) Introduction Bien souvent, on utilise latex afin de rédiger des livres ou encore des rapports universitaires ou autres et généralement les auteurs utilisent le style par défaut des chapitres.

Latex : Personnaliser les titres (chapter)

Mais si vous avez besoin de pouvoir personnaliser pour respecter un thème ou encore tout simplement pour avoir des titres plus jolies et bien sachez que d’autres styles sont disponibles sans avoir à se prendre la tête. Enfin, pour ceux qui veulent aller plus loin nous allons voir, comment on peut créer le style que l’on désire ! Package fncychap Le package fncychap propose un ensemble de thèmes déjà prédéfinis pour les chapitres de latex. On obtient alors, quelque chose du style pour le thème Lenny : Voici, les autres styles disponibles : How to define custom colors in LaTeX – texblog.

There are different ways to define a specific color in LaTeX.

How to define custom colors in LaTeX – texblog

Often, I just choose a predefined color from the xcolor package or define a color using the RGB color model. However, I personally like the red! 40! Blue notation best. This creates purple with 40% red and 60% blue. Predefined colors. Lengths in LaTeX. In LaTeX there are a lot of lengths determining various dimensions of prepared documents.

Lengths in LaTeX

For example, specified dimension parameters characterize fonts, pages, or paragraphs. Below a description of available units in LaTeX. Below an example that shows the difference between ex and em units. Titles - how can I make inverted letter. Page size and margins. The page dimensions in a LaTeX document are highly configurable and the geometry package offers a simple way to change the length and layout of different elements such as the paper size, margins, footnote, header, orientation, etc.

Page size and margins

Suppose you have to create a document in a4paper and the text shouldn't exceed 6 in width and 8 in height. To create it with geometry is easy, include this one line in the preamble: \usepackage[a4paper, total={6in, 8in}]{geometry} The parameters passed to the command determine the layout. In this case a4paper establishes the paper size and the total parameter determines the size of the text area.

PythonTeX – Mathweb.fr. Macros élémentaires. Les macros, des abréviations Il est très facile de définir de nouvelles commandes qui seront autant d'abréviations.

Macros élémentaires

Écrire un package. Les bo�tes : Manipulation de bo�tes. Les boites.

Les bo�tes : Manipulation de bo�tes

Geometry. LaTeX documentclass options illustrated – texblog. The three most commonly used standard document-classes in LaTeX include: article, report and book.

LaTeX documentclass options illustrated – texblog

A number of global options allows customization of certain elements of the document by the author. Different document-classes might have different default settings. The following post illustrates available options with figures, provides alternatives and highlights the default option for each document-class. To change the default behavior, the option is provided as an optional parameter to the documentclass command.

3 mise en forme. Generating dummy text/blindtext with LaTeX for testing – texblog. I was often using any of the available “lorem ipsum” generators on the web while testing different things in LaTeX until I discovered that the Latex distribution provides packages generating blind text, which is definitely more convenient.

Generating dummy text/blindtext with LaTeX for testing – texblog

With just a few lines of code, these packages will generate paragraphes, even whole documents with sections, paragraphs of text, lists, etc. The first package that I will introduce is the “blindtext” package. First the language option as well as the package have to be loaded. LaTeX minipage. The minipage is often used to put things next to each other, which can otherwise be hard put together. For example, two pictures side by side, two tables next to a text or a picture or vice versa.

The idea behind the minipage command is that within an existing page "built in" an additional page. LaTeX - Tableau, minipage et images - TeXnique. Xm1 Math. Macros élémentaires.