99
votes
Accepted
"The LaTeX Companion", 3rd Edition
The (publishing) world is a bit strange in this regard. Sometimes internal tentative dates end up in xls sheets that in turn end up in places like Amazon and become real before they are. The 3rd ...
54
votes
Accepted
The definitive guide to ConTeXt MkIV and LMTX documentation
Introductory material
This is the part of the documentation where ConTeXt is indeed seriously
lacking. There does not exist much in terms of good and complete
introductory books for ConTeXt, while ...
37
votes
Accepted
Math book: how to write Exercise and Answers
Here is a solution with exercise package.
Its option answerdelayed allows you to print the answer where you want with \shipoutAnswer.
lastexercise means that if you don't put anything as answer ...
25
votes
How to create PDF file with all your bookmarks displayed?
According to the documentation of bookmark you can use the open option; if you want to set the level, you can say openlevel=<level>; so
\usepackage[open,openlevel=1]{bookmark}
will show ...
24
votes
Accepted
How to create PDF file with all your bookmarks displayed?
Simply add bookmarksopen=true for the default bookmarks-open to also expand them. I will refrain from posting a screenshot as my viewer ignores all these options anyway and acroread simply takes ...
20
votes
Accepted
What is TeX's gullet?
The terminology isn't that useful really but as far as I can make out.
The mouth is where tokens get recognised so abc becomes three character tokens, and \abc becomes one control token
Unexpandable ...
19
votes
What is TeX's gullet?
I don't think that the comparison TeX with a living being having eyes, mouth, stomach and bowels should be taken so seriously as to find an analogy with other body parts.
I like better the description ...
19
votes
"The LaTeX Companion", 3rd Edition
Frank Mittelbach addresses the upcoming third edition of The LaTeX Companion in this interview from TUG2021. The link should begin at 39:09 into the interview.
https://youtu.be/VDsEum6GoBI?t=2349
18
votes
What are good learning resources for a LaTeX beginner?
For an online approach to learning LaTeX, see https://www.learnlatex.org. The site is current in beta (so the design is not ready), but the core content is there. It's been developed by several '...
Community wiki
17
votes
Accepted
Add a picture before book title
The issue here is, that you try to add a picture befor the \begin{document}. Your commands only set the content of \title but don't typeset it. You might use the following:
\documentclass[a4paper, ...
16
votes
Math book: how to write Exercise and Answers
Following this answer, I used the newfile package to write the solutions to a separate file and read them in afterwards. The import lines are:
\newoutputstream{solutions}
\openoutputfile{\jobname....
15
votes
Accepted
Where can I find LaTeX and its package installation guide in details?
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 ...
15
votes
Accepted
What TeXBook version has built-in bookmarks?
That is not CTAN and the pdf copy is illegal. As Knuth says on his webpage
The source file texbook.tex for The TeXbook has been available for
many years, and it begins with the following lines:
...
14
votes
Accepted
Knuth's 5 volume TeXbook A,B,C,D and E
No, you cannot.
All the books in Computer and Typesetting are copyright of Addison-Wesley and cannot be distributed without permission. Knuth, however, has made all the sources to these books and his ...
13
votes
Accepted
theorems and definitions boxes (numbering should be chapter-wise)
\documentclass{book}
\usepackage{amsmath}
\usepackage{cleveref}
\usepackage[most]{tcolorbox}
\newtcbtheorem[number within=chapter]{Theorem}{}{
enhanced,
sharp corners,
attach ...
13
votes
Accepted
Change "chapter" to "Chapter" - How to do this using autoref?
The manual of the hyperref package explains how to achive this on page 17.
Edit: This answer assumes that you actually want to use the babel package. If this is not the case, just redefine \...
12
votes
Electronic version of Knuth's "TeXbook"?
The publisher Pearson started selling the TeXbook as a watermarked PDF, so now you can finally buy an official version. A 30% discount code can be found on the TUG book page.
12
votes
Accepted
How to make my own professional book step-by-step (there is a course or a book that I didn't find?)
I suggest reading Robert Bringhurst's The Elements of Typographic Style which is the best book I have come across on the subject. Then there is my A Few Notes on Book Design (> texdoc memdesign) ...
11
votes
Tufte-book problem with \ref
The chapter and section headings are unnumbered in the tufte-book document class. Since \ref wants to print the chapter/section number and can't find it, it complains in the log file:
Package ...
11
votes
Change "chapter" to "Chapter" - How to do this using autoref?
Whether you use babel or not, this works (no problem if you only use the English language – otherwise @Gustavo Mezzeti's answer is more appropriate):
\documentclass[english]{book}
\usepackage{...
10
votes
Where can I find good ConTeXt documentation
The list of all options to various commands are described in
The ConTeXt Commands
This list is auto-generated and only lists the options without any description. It is also available for the ...
9
votes
Accepted
Text Books on Typography
The OP asked me to write up my comment as an answer, so here it is.
In the comments, I suggested Robert Bringhurst's, The Elements of Typographic Style (https://en.wikipedia.org/wiki/...
9
votes
Add a picture before book title
The titlepage environment is not meant for use with \maketitle. However, the titling package offers a half-way house which allows you to use \maketitle within the titlepage environment, along with any ...
9
votes
Reproduce a ConTeXt book cover with LaTeX
In fact, using luamplib and just a handful of definitions, you can directly copy the MetaPost code from the Units manual and paste it into your LaTeX document.
\documentclass[a4paper]{article}
\...
9
votes
How to make my own professional book step-by-step (there is a course or a book that I didn't find?)
First of all, this is a very big time effort in my opinion. Let's say 200+ h.
There is the so-called KOMA-Script bundle that is similar to the memoir class.
It comes with a extensive documentation (...
9
votes
Accepted
LaTeX no hyphenation and justification in book class like in Microsoft word
If you disable hyphenation then naturally you will not get publication quality typesetting, but you can make some adjustments to compensate.
Add \sloppy to allow horizontal white space to stretch more,...
8
votes
Accepted
Starting Chapters on Left page with Koma-script Book
You can use \KOMAoptions{open=left} before that specific chapter and \KOMAoptions{open=right} before the next chapter that should start on a right page:
\documentclass{scrbook}
\usepackage{lipsum}
\...
8
votes
Accepted
How to insert a pdf page at the very last page of a book?
\AtEndDocument can be used to place the included page a little later after the possible additions of other packages:
\documentclass[12pt,twoside,a4paper]{book}
\usepackage{chapterbib} %% Required
\...
8
votes
Accepted
openright option for \part and not for \chapter
simplest, assuming you don't have many parts is to use openany and start each part with
\cleardoublepage
\part
if you do not want the \cleardoublepage to be explicit then just use \part and put
\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
books × 684table-of-contents × 77
chapters × 72
book-design × 61
header-footer × 47
sectioning × 33
fancyhdr × 29
xetex × 24
margins × 24
page-numbering × 24
parts × 22
formatting × 19
templates × 19
numbering × 18
titlesec × 18
double-sided × 18
learning × 18
pdftex × 17
fonts × 16
cross-referencing × 16
document-classes × 16
memoir × 15
spacing × 14
bibliographies × 14
titles × 14