Search found 937 matches

by Cham
Fri Aug 14, 2020 9:33 pm
Forum: Page Layout
Topic: Consistency in the header
Replies: 1
Views: 2573

Consistency in the header

Recently, I add to refresh the header of some large book I wrote, and I noticed an inconsistency in the font size. Here's a MWE to show it:

\documentclass[11pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{slantsc}
\usepackage[total={6in,10in},left=1.5in,top ...
by Cham
Sun Jan 05, 2020 6:20 pm
Forum: Page Layout
Topic: Is there a package to show all text and math lines, like showframe?
Replies: 1
Views: 2565

Is there a package to show all text and math lines, like showframe?

I need to see all the vertical spacings above and below equations, and also in the text itself. Using the showframe package (or an equivalent option in the geometry package) is nice but not enough. Here's a MWE to play with:

\documentclass[11pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc ...
by Cham
Tue Dec 17, 2019 10:21 pm
Forum: Math & Science
Topic: What is the default value of \abovedisplayskip?
Replies: 8
Views: 11566

What is the default value of \abovedisplayskip?

Thanks Ijon for the info.

Yes, it's a French Canadian book. We do use letter paper as in the USA here.

I prefer to keep the amsmath in there, in case I decide to deactivate nccmath (I use it only for its mfrac command!)

What is the standard for a French book in Europe?
by Cham
Thu Dec 12, 2019 8:13 pm
Forum: Text Formatting
Topic: Reducing Hyphenation
Replies: 4
Views: 8600

Reducing Hyphenation

This subject is very interesting. I just discovered this LaTeX control today (but I never searched for this subject before).

What do we have to use, in the preamble, if we just want to reduce slightly the risk of hyphenations?

I don't like hyphenations at all, but don't want to use the ...
by Cham
Thu Dec 12, 2019 4:40 pm
Forum: Math & Science
Topic: Too much space in squared trigonometric functions
Replies: 4
Views: 10941

Too much space in squared trigonometric functions

I'm changing my code to improve it (as a purist) and to improve the output.

This huge document is a major project for me. The 12pt version is very nice and satisfying, but the font is too big. It feels a bit "amateur" (it has a kind of "MS Word look"). I reduced it to 11pt, and I now have to fix a ...
by Cham
Thu Dec 12, 2019 2:54 pm
Forum: Math & Science
Topic: Too much space in squared trigonometric functions
Replies: 4
Views: 10941

Too much space in squared trigonometric functions

Which one? With the space, or using \! before the argument?
by Cham
Thu Dec 12, 2019 5:46 am
Forum: Math & Science
Topic: Too much space in squared trigonometric functions
Replies: 4
Views: 10941

Too much space in squared trigonometric functions

I'm having a small glitch with trigonometric functions to some exponent (say squared). There's too much space before its argument, as shown with this simple MWE:

\documentclass[11pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[total={6in,10in},left=1.5in,top ...
by Cham
Tue Dec 10, 2019 7:31 pm
Forum: Math & Science
Topic: How to change the local vertical spacing in the align environment?
Replies: 1
Views: 14667

How to change the local vertical spacing in the align environment?

Apparently, using \begingroup\setlength{\jot}{2ex} ... \endgroup solves my issue, for the few cases where I need to change the vertical spacing in some align environments.

Is this a proper solution? Or is it better to use a negative spacing for each \\ ?
by Cham
Tue Dec 10, 2019 4:49 pm
Forum: Math & Science
Topic: How to change the local vertical spacing in the align environment?
Replies: 1
Views: 14667

How to change the local vertical spacing in the align environment?

I'm still having a lot of troubles in my vertical alignments. Here's a MWE showing the trouble:

\documentclass[11pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage{lmodern}
\usepackage[total={6in,10in},left=1.5in,top=0.5in ...
by Cham
Mon Dec 09, 2019 8:38 pm
Forum: Fonts & Character Sets
Topic: Which font is best for a physics book?
Replies: 5
Views: 11722

Which font is best for a physics book?

Thanks for the suggestion, Stefan. The Charter font is nice, but I think it fits better for screen presentations (Beamer, PowerPoint like presentations...).

I think I'll stick with Latin Modern , with its nomath option enabled. I don't see much differences between this font and the default AMS font ...