Search found 936 matches

by Cham
Thu Nov 28, 2019 4:36 am
Forum: Math & Science
Topic: Why is this simple macro gives an halting problem?
Replies: 3
Views: 347

Why is this simple macro gives an halting problem?

Hmm, I searched for \dp and found nothing on the net about this command.

I replaced it with \ssp and \tsp (for small space, and tiny space), so no harm!

Thanks Stefan.
by Cham
Wed Nov 27, 2019 11:24 pm
Forum: Math & Science
Topic: Why is this simple macro gives an halting problem?
Replies: 3
Views: 347

Why is this simple macro gives an halting problem?

I just defined this simple macro: \newcommand*{\dp}{\hspace{0.5pt}} Then, using \dp in mathmode gives an halting error: Missing number, treated as zero. and Illegal unit of measure (pt inserted). So what is wrong with calling my macro "dp" ? Three letters keyword works: "dpt", bu...
by Cham
Tue Nov 26, 2019 10:53 pm
Forum: Text Formatting
Topic: Customizing the ToC with toclof
Replies: 2
Views: 395

Customizing the ToC with toclof

I think I got it, but I need a confirmation that's a proper way of doing this: \RequirePackage[l2tabu, orthodox]{nag} \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage{lmodern} \usepackage[total={6in,10in},left=...
by Cham
Tue Nov 26, 2019 10:18 pm
Forum: Text Formatting
Topic: Customizing the ToC with toclof
Replies: 2
Views: 395

Customizing the ToC with toclof

I'm having lots of troubles customizing my very large ToC, using the toclof package. Here's a MWE example that shows what I'm trying to achieve. Currently, the spacings are done by eyes only, and I don't understand well the commands used in that code, even after trial and mistakes: \RequirePackage[l...
by Cham
Tue Nov 26, 2019 6:26 pm
Forum: Text Formatting
Topic: Spacing troubles in ToC
Replies: 6
Views: 556

Spacing troubles in ToC

The tocstyle package is very cryptic. It is not clear how to customize a few things like the presentation of the chapter number, and the subsubsection alignment.

I'm beginning to be frustrated with this thing. LaTeX is so hard to customise for a few simple things!
by Cham
Tue Nov 26, 2019 5:57 pm
Forum: Text Formatting
Topic: Spacing troubles in ToC
Replies: 6
Views: 556

Spacing troubles in ToC

I'm experiencing other troubles, even using your suggestion: \RequirePackage[l2tabu, orthodox]{nag} \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{textcomp} \usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{geometry} ...
by Cham
Tue Nov 26, 2019 5:53 pm
Forum: General
Topic: Typical font size used for a large physics book
Replies: 7
Views: 506

Typical font size used for a large physics book

This is what I'm testing. I want to reduce that insane number of pages!

Using 11pts doesn't reduce it much. But then I have used a lot of contraints in the document, and I'll need to clean all this.
by Cham
Tue Nov 26, 2019 5:18 pm
Forum: Text Formatting
Topic: Spacing troubles in ToC
Replies: 6
Views: 556

Spacing troubles in ToC

Wow! Thanks Stefan. Using your suggestion appears to fix the issue: \usepackage[titles]{tocloft} \setcounter{tocdepth}{3} \renewcommand{\cftdotsep}{2} \renewcommand{\cftsubsubsecfont}{\normalfont\sffamily\footnotesize}% \renewcommand{\cftchappresnum}{\chaptername\ } \renewcommand{\cftchapaftersnumb}...
by Cham
Tue Nov 26, 2019 4:56 pm
Forum: General
Topic: Typical font size used for a large physics book
Replies: 7
Views: 506

Typical font size used for a large physics book

I was thinking about 10pts too. 10pts is standard for most LaTeX classes? I thought it was too small.

I agree that 12pts is a bit too big. My 2000 pages document was written in 12pts, and I want to change that.
by Cham
Tue Nov 26, 2019 4:33 pm
Forum: General
Topic: Typical font size used for a large physics book
Replies: 7
Views: 506

Typical font size used for a large physics book

I believed that there were some standards about font size, and that maybe 11pts isn't a good choice since it's a prime number, while 12pts could be a good base number.

Go to advanced search