Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
2 votes

Two tables of contents one in Chinese and another in English

I search in the cite for about similar questions, and find one undesired solution (thanks go to @egreg) which couldn't be used by me since the babel package has no chinese option. While I get one ...
user avatar
  • 2,833
2 votes

How to remove the text added by \addtocontents

I'm not sure this is the way you're "supposed" to do it, but you could use a custom command instead of literal "Page", and then redefine the command later on. You'll have to add a \...
user avatar
  • 35.8k
2 votes
Accepted

Changing Font of all Numbers in Main Body, Headings and TOC

Unfortunately nunito doesn't have a documentation and in its README only the option scale is mentioned. However, if you take a look at nunito.sty, you will find the line \DeclareOptionX{lining}{\edef\...
user avatar
  • 5,509
1 vote
Accepted

Add "Chapter" or "Appendix" before numbers in Contents without the tocloft package

You could patch the command \@chapter and the command \l@chapter: \documentclass{book} \usepackage{etoolbox} \newlength{\chapnwd} \settowidth{\chapnwd}{\textbf{Appendix\space00\space}} \makeatletter \...
user avatar
  • 2,015
1 vote
Accepted

Spacing between number and short caption in List of Figures in tuftebook

It is necessary to increase the space allocated to section numbers in the ToC and to figure numbers in the LoF. \documentclass{tufte-book} \setcounter{secnumdepth}{1} \setcounter{tocdepth}{1} %*****...
user avatar
  • 24.7k
1 vote
Accepted

Dot spaces in Contents and Index

The TeX primitive which generates repeated dots is \leaders <box or rule> <glue> If the <box> is used (this is your case, the box includes the dot) then this box is repeated in the ...
user avatar
  • 52.5k
1 vote

Dot spaces in Contents and Index

If you wish to have the same dots style everywhere in your document, you can simply define your own version. For example, in my document class, I have (of course the color is a little different): \...
user avatar
  • 5,509

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