The Stack Overflow podcast is back! Listen to an interview with our new CEO.
63

The following is an attempt at creating a glossary of (La)TeX-related terms. The definitions are intentionally very short. If there are related question that ask about the term are tags corresponding to the term, links are provided. This is a CW answer, so please add additional terms and/or definition and fix any errors you might find. active character: ...


63

Interaction modes TeX and the derived programs pdftex, xetex and luatex have four interaction modes: batch mode nonstop mode scroll mode errorstop mode This is in order of increasing user interaction. In batch mode nothing is printed on the terminal, errors are scrolled as if <return> is hit at every error; missing files that TeX tries to input or ...


58

The actual command, including its formal definition posted by @JoshLee is contained in the LaTeX 2e source, section 61.2 Sectioning (p 283). It forms part of ltsect.dtx, the bundle containing all sectioning commands for LaTeX. It even includes a pseudo-code interpretation of the actual macro. Here is an extract: The \@startsection{<name>}{<...


50

Here's a somewhat unstructured list of what I believe should be in an introductory-level tutorial: Restrict attention to pdflatex: No mention of dvi output files and viewers, or of XeTeX, LuaTeX, Plain TeX, LaTeX2.09, or any other TeX incarnations. Choose a very small number of possible TeX distributions to discuss, say TexLive (and its MacOS ...


45

For programming packages that implement new functionality for LaTeX2e what you mainly need is the programming layer of LaTeX3. xparse additionally offers you some help for defining user interfaces in 2e style with optional arguments or star forms etc, but you can think of this as the syntactic sugar on top of the functionality your package provides. And in ...


40

The place to look for the PGF offical released manual would be the CTAN directory: ctan.org/pkg/pgf.


37

The following sequence normally works well, for a hands-on introduction and a handout for an average student, perhaps in College: MWE book - start with koma-class or memoir. Explain standard classes, book article etc. (reason users outgrow quickly standard classes, memoir and koma have excellent flexibility and great documentation). MWE Add lipsum + chapter ...


33

The 'manual' for LaTeX is LaTeX: A Document Preparation System by Leslie Lamport. This is as you observe a commercial book and one is therefore expected to visit a bookshop or library to obtain a copy. As you might also note, much of the same information as in Lamport's book is available in one or another free form (and other commercial offerings). To ...


32

Introductory material This is the part of the documentation where ConTeXt is indeed seriously lacking. There seems to be no good and complete introductory book for ConTeXt, while there exist literally hundreds of more or less good books for LaTeX. But do not despair, there is still a way for a beginner to start getting into ConTeXt and here is how. ...


30

My book "TeX by Topic", which is strictly about TeX, not LaTeX, is available as a free download, including sources from lulu.com, nicely printed Definitive reference for the locations of all this: http://eijkhout.net/texbytopic/texbytopic.html Victor.


24

You could also use the web site that Stefan Kottwitz and Paulo Cereda recently put together. Just enter http://texdoc.net/pkg/<packagename> into your browser's address field and you'll automatically be taken to the right place. So in your case, go to http://texdoc.net/pkg/tikz or http://texdoc.net/pkg/pgf, they both lead to the manual, version 2.10. ...


24

A. I discovered there is a "url" command through a Google search, how can I get a "list of commands/packages"? The list of packages is on CTAN. But by itself it’s not very helpful – there are too many packages. Similarly, there’s no list of commands, that’s not meaningful since there are simply too many. The easiest way of finding out about a package/...


24

The man page points these command line options as being equivalent to using the command forms such as \scrollmode, for which the official doc is the TeXBook, or texdoc texbytopic for a free alternative (see chapter 32).


22

In addition to "TeX by Topic": Oetiker's "The Not So Short Introduction to LaTeX 2ε" in English. Available in other languages as, for example, texdoc lshort-german but these are usually older than the English version. Invoke as texdoc lshort in TeX Live   Not all language versions are obvious; to get a full list of what's available, at least on ...


21

You should probably have a look at Chapter 20 of the TeXBook and at Chapter 13 of Eijkhout's book TeX by Topic. (The latter book is probably also included in your TeX distribution -- try typing "texdoc texbytopic".)


21

I am surprised that this has not mentioned before: Debugging, Troubleshooting How-to? Moving \end{document} to an earlier point in the source. Commenting: % Finding the cause for trouble by creating a so-called MWE. Error Messages Often occurring but hardly helping error messages (perhaps a missing \item) Error messages that are correct, although the ...


20

You can look at the source code for the documentation here: http://mirrors.xmu.edu.cn/CTAN/macros/latex/contrib/microtype/microtype.dtx


20

Both packages provide options to manipulated the output. The options demonstrate the default behaviour. Option 1: Package showexpl This method uses the the package listings. The manipulation is done with LaTeX commands. \documentclass{article} \usepackage{showexpl} \begin{document} \begin{LTXexample} $1+1=2$ \end{LTXexample} \end{document} Option 2: ...


19

What you probably have seen was a typeset version of all the l3kernel commands and their implementation (which actually is more than 500 pages) a document named source3.pdf. I would suggest to read through this only after being familiar with the programming language for LaTeX3 (if ever). Instead read the other documents in l3kernel, in particular interface3....


17

If you don't have access to document sources, some pdf viewers can show you what fonts are used. I've tested with AdobeReader and PDF-XChange-viewer and under Properties of the document you will find the list of fonts. Here you have the output from microtype manual under Xchange-viewer. Just a problem, then you need to find how to use them in your document.


17

Documenting LaTeX sources with the default classes and packages is a bit of a patchwork, as the overall system has four major dependencies doc, docstrip, ltxdoc and article, plus the additional commands that you add in the driver. Some of the major package authors have put a lot of effort to modify the standard classes the same way we all modify the ...


17

In my opinion, your focus should be on helping a beginner find the particular functionality they might want. Most people learning LaTeX don't want spend a lot of time searching through documentation, they just want to get things done...quickly. Showing them functionality will reduce the steepness of the learning curve. Open up MS Word or Libre Office and ...


17

Update. Added support to leave the empty environment in the copy, removing only its contents, or to remove also the \begin...\end pair (by default). I programmed a LuaLaTeX solution and tried to make it flexible enough. These are the files which compose the solution: remove-env.lua -- remove-env.lua omittedEnvironments = {} omitFileSuffix = "-without" ...


16

Perhaps you are looking for something like the (unofficial) »LaTeX2e Reference Manual«. Maybe, maybe not.


16

The full TeXLive installation comes with the documentation of its packages, usually under the path /usr/local/texlive/2016/tex-dist/doc/. The full installation takes about 4Gb, and is easiest done via the install-tl script that can be found here. More information how to install in this way can be found in this related question How to install vanilla-...


16

They are not provided by the graphicx package but by the mwe package (look into the tex/latex/mwe/ folder of your TeX distribution. example-image-duck on the other hand is provided by duckuments. As far as I know there is no comprehensive list showing all example images by packages. File list for TeX Live 2018 (example files provided by mwe): ./example-...


15

It seems to me that given a package name, texdoc will search for a PDF in the package directory and display it using your favorite PDF reader. For example, when typing texdoc impatient, it opens: /path/to/texlive/2011/texmf-dist/doc/plain/impatient/book.pdf When typing texdoc texbytopic, it opens: /path/to/texlive/2011/texmf-dist/doc/plain/texbytopic/...


15

Once a technology gets entrenched it is difficult to displace and doc/docstrip has been working well and served the community for many years. The approach as listed above has certain limitations: Use of the defined class/package. If used to define a class, the class itself cannot be used to typeset the code and the manual. This might be possible on two ...


15

As discussed in earlier in the comments, it is quite possible to solve the problem of defining classes with this method. Granted, as you said, it takes two runs, but it is possible to make a document that will deal with the writing (and some minimal printing) on the first run, and that will process class-defined commands on the second run only (if correctly ...


15

If you need the absolute most recent version of the manual (even for unstable builds of PGF/TikZ) you can look here: http://pgf.sourceforge.net/ There you can find the manual for the current unstable version of TikZ.


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