375

These instructions have been updated for Ubuntu 16.04 and TeX Live 2016, they will probably work on most Ubuntu/Debian distributions. Installation Installing "vanilla" TeX Live is not as hard as you think. Things you will need: An internet connection. About 4 GiB of free space (2 GiB if not installing documentation). Root (sudo) powers. Note: the ...


304

Here's a non-exhaustive list of possibilities for "nice" font families -- which I take to mean that they provide both text and math fonts -- for use with pdflatex. Computer Modern -- the default font family for TeX and LaTeX, i.e., the font family that's used if no other font family is loaded. The following image represents the output of the MWE listed ...


132

Method 1--(Preferred Method) Install the latest TeX Live This is for if the package is in TeX Live and you want to or are using 'vanilla' TeXLive. If you haven't yet installed TeX Live, follow the instructions at How to install "vanilla" TeXLive on Debian or Ubuntu? (these instructions apply to Linux systems in general, not just Debian-based ...


114

I just installed the recommended fonts and it worked for me. =) The command for a Debian based Linux distribution (including Ubuntu and Mint): sudo apt-get install texlive-fonts-recommended


112

In addition to the reasons listed by @ShreevatsaR why the T1 font encoding is advisable even when writing (primarily) in the English language, there are two more reasons that were missing from his list: TeX is only able to apply ligatures and kernings between characters when these characters are real glyphs from the same font. In OT1 (with 128 glyphs) you ...


92

In this case, the missing file is ecrm1000.tfm according to the error message. To know which package it belongs to, you can use the command tlmgr search --file ecrm1000.tfm --global which finds it in package ec. So you have to install it with tlmgr install ec. Then you may have other errors, other files to look up and other packages to install. Since the ...


89

First of all: never use \include to load a file with personal definitions and packages to use. The choice is thus between \input and \usepackage; for the first it's better to use the extension .tex for the file, for the second .sty is mandatory. What are the pros of the latter solution? Many. For instance you can define options that can change the behavior ...


79

The Texmaker integrated pdf viewer offers a word count feature since version 3.4. Just right-click in the pdf document, then click Number of words in the document.


77

\usepackage{graphicx} For including figures, rotating or scaling text. I also use the \graphicspath command to specify a subfolder to help organize my figures and so I can easily change between, for example, a set of figures for internal used (with extra info) and final versions for distribution.


73

Like Claudio, I suggest you to use the pgfGantt package, which I find quite simple, and whose documentation is quite clear. Here is a MWE, with custom label, progress bar and relations: \documentclass{article} \usepackage{pgfgantt} \begin{document} \begin{figure}[ftbp] \begin{center} \begin{ganttchart}[y unit title=0.4cm, y unit chart=0.5cm, vgrid,hgrid,...


73

Here's a TikZ picture producing the USA map. I produced it as follows: I downloaded the svg map from wikipedia I used Inkscape to translate the svg to tikz code (in verbose mode) the verbose mode annotated the paths with the abbreviated names of the states so I just copied the names and put them as the style of each path (you can do it with a regex) I ...


67

I would suggest you to use the cwpuzzle package. I used this package a couple of weeks ago to typeset a small crossword puzzle and it worked quite well. The content of the crossword puzzle is taken from abcteach.com. I just adapted it for the use with the cwpuzzle package. Code \documentclass{article} \usepackage[unboxed]{cwpuzzle} \begin{document} \...


65

It's currently Friday, April 1 in Europe. Happy April Fools' Day! (Just in case you didn't know, April 1st is a traditional day for people to play pranks on each other.)


64

As you can't comment yet, here's a proposition using the tufte-latex class and a custom environment. This is just what I made up, you could edit your question to specify what format and features you would like. The lipsum package is just used for some dummy text. \documentclass{tufte-book} \usepackage{lipsum} \newenvironment{loggentry}[2]% date, heading {\...


64

All features of color are available by loading the xcolor package as well. I would say that you can always load the latter one since: You don't have to care which features are in which one. You surely satisfy all other packages relying on color/xcolor. Many package load it anyways (tikz to name the most important one), so you even don't have to load it ...


62

Overview Please add your answer here in alphabetical order too Classes Print a box at the end of overfull lines. See this answer below for a list of classes and details. Packages The links lead to the answers below. changes (final disables markup of changes, and list of changes) cryptocode (disables syntax highlighting to reduce compilation time) ...


59

For the sake of completeness (see also https://tex.stackexchange.com/a/59125/83): Unicode defines codepoints of the various emoticons/emojis: There is ☺ and ☹ at U+263A and U+2639, and there are many more from U+1F601 onward. So, all you need is a font that includes these characters (DejaVu Sans contains some of them, and there are other fonts with full ...


59

Not a package, but could be packaged pretty easily: beamerduck! The following presentation will show a progress by having a duck walk from left side of the screen to the right side, saying annoying things every once a while. You can of course replace the duck picture by any other animal (I am thinking about a man carrying a sack on his back. On specific ...


58

Load xcolor before tikz: \usepackage[table]{xcolor} \usepackage{tikz} The problem is that pgf/tikz already loads xcolor so loading it again with a new package option triggers the error message. Another option is to pass the table option to the class and not to the xcolor package. Then the packages can be loaded in any order: \documentclass[table]{article}...


58

Simply type the following command in a terminal / command prompt: tlmgr list --only-installed > installed_texlive_packages.txt which will save the list to a file called installed_texlive_packages.txt.


57

If the class defines either a macro or an environment called proof, add the instructions \let\proof\relax and \let\endproof\relax before loading amsthm.


53

ShareLaTeX provides a list of CV/Resume Templates, including: ModernCV Oldstyle ModernCV Casual ModernCV Classic ModernCV Banking EuropeCV SC_CV Classic Thesis Style - CV Academic CV Professional CV Two-Column CV Fancy CV ECV Curriculum Vitae (English or German) Curve ESIEEcv currvita Cies Breijs Resume CV US Clean CV Deedy Resume KJH ...


53

Mi little contribution with niceframe and wallpaper packages: \documentclass[landscape]{article} \usepackage{wallpaper} \usepackage{niceframe} \usepackage{xcolor} \usepackage{ulem} \usepackage{graphicx} \usepackage{geometry} \geometry{tmargin=.5cm,bmargin=.5cm, lmargin=.5cm,rmargin=.5cm} \usepackage{multicol} \setlength{\columnseprule}{0.4pt} \columnwidth=...


53

Update Recent LaTeX kernels have incorporated the greater part of etex, so it's quite unlikely that one needs to load it nowadays. Original answer TeX, as designed by Knuth, has various registers addressable with an eight bit number (that is, from 0 to 255). Registers are of type \count \dimen \skip \muskip \toks \insert \box Let's consider the \dimen ...


52

Package tikzsymbols provides some symbols as well. As usual with tikz, you can apply scale and color changes. \documentclass{article} \usepackage{tikzsymbols} \usepackage{textcomp} \usepackage{parskip} \begin{document} This is Max \Strichmaxerl and this is Jane \Strichmaxerl. The met over a \Coffeecup of nice and tasty coffee. Later they went for a \...


51

First line of the document should be \RequirePackage{fixltx2e} \documentclass{...} , which fixes a few things in the LaTeX2e kernel. Due to LaTeX's stability policy, these corrections have not been incorporated into the LaTeX2e kernel, but this package does things most people would agree are bugfixes. So to load this package is always recommended for ...


51

MiKTeX has reorganized the package amslatex. Therefore the update removes it: The package amslatex is split in amsmath and amscls. (Also there is a new package amslatex-primer): However, the update has not installed the new packages automatically. Therefore I have installed them manually. For AmSLaTeX you need at least amsmath. It contains the ...


51

Addition 2018: The MiKTeX console In 2018 a new tool, the MiKTeX console, appeared which unifies all the three previously used tools (settings, package manager, update manager). You can check for updates, install new packages, add local roots and run most of the maintainance tasks with the console. Tabs to manage formats and languages have been added now ...


51

Here is a solution which allows page breaks: \documentclass{article} \usepackage{lipsum} \usepackage[many]{tcolorbox} \newtcolorbox{cross}{blank,breakable,parbox=false, overlay={\draw[red,line width=5pt] (interior.south west)--(interior.north east); \draw[red,line width=5pt] (interior.north west)--(interior.south east);}} \begin{document} \begin{...


Only top voted, non community-wiki answers of a minimum length are eligible