Search found 937 matches

by Cham
Mon Dec 09, 2019 1:18 pm
Forum: Fonts & Character Sets
Topic: Which font is best for a physics book?
Replies: 5
Views: 12029

Which font is best for a physics book?

I discovered yesterday that the lmodern font has some size problems with maths symbols (most notably the parenthesis and integral signs), especially when the font size used is 11pt . Loading that font with a nomath option solves this:
\usepackage[nomath]{lmodern}

I was using lmodern in almost all ...
by Cham
Fri Dec 06, 2019 2:04 pm
Forum: Math & Science
Topic: What is the default value of \abovedisplayskip?
Replies: 8
Views: 12299

What is the default value of \abovedisplayskip?

Here's a not so MWE to show my problem and why I use the macros defined above to solve it after a first compilation:
\documentclass[11pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage{lmodern}
\usepackage{textcomp}
\usepackage ...
by Cham
Fri Dec 06, 2019 1:20 pm
Forum: Math & Science
Topic: What is the default value of \abovedisplayskip?
Replies: 8
Views: 12299

What is the default value of \abovedisplayskip?

I do use the amsmath package (and about a dozen of other maths packages as well). I don't understand the uses of \abovedisplayshortskip . What does it do?

I need all my equations to have a fixed constant space between the text above and under them. I hate variable spaces around equations. In my ...
by Cham
Fri Dec 06, 2019 3:28 am
Forum: Math & Science
Topic: What is the default value of \abovedisplayskip?
Replies: 8
Views: 12299

What is the default value of \abovedisplayskip?

I've found this solution, using \begingroup ... \endgroup , instead of using the macros defined above:
\begingroup\abovedisplayskip=0pt
\begin{equation}
y = x
\end{equation}
\endgroup

But then, how can I create a simple macro to simplify this solution, instead of typing all the extra code each ...
by Cham
Thu Dec 05, 2019 11:40 pm
Forum: Math & Science
Topic: What is the default value of \abovedisplayskip?
Replies: 8
Views: 12299

What is the default value of \abovedisplayskip?

The following problem is pretty simple (if not straightforward), and I don't think it needs a MWE.

In a document, I defined two macros like this:
\newcommand*{\topless}{\setlength{\abovedisplayskip}{0pt}}
\newcommand*{\topmore}{\setlength{\abovedisplayskip}{11pt}}

The first macro is used to ...
by Cham
Mon Dec 02, 2019 1:17 am
Forum: Math & Science
Topic: What should be the natural spacement between equations?
Replies: 12
Views: 12972

What should be the natural spacement between equations?

Johannes,

what I'm asking is that all the equations in a given math environment (gather and align) are equaly spaced vertically. I want to get this equal vertical spacing for all align and gather environments. If an equation is really bigger than some other, I'll put it in a separate environment ...
by Cham
Sat Nov 30, 2019 9:29 pm
Forum: Math & Science
Topic: What should be the natural spacement between equations?
Replies: 12
Views: 12972

What should be the natural spacement between equations?

Here's a MWE showing my troubles:

\documentclass[11pt,letterpaper,twoside]{book}
\usepackage{lmodern}
\usepackage{amsmath}
%\setlength{\jot}{\baselineskip}

\begin{document}

Blabla:
\begin{gather}
x^2 - \frac{1}{2} \, x = 3, \\
\frac{a^2}{b^3} \, y + 2 x \, y = y^2, \\
a - b = c.
\end ...
by Cham
Sat Nov 30, 2019 12:32 am
Forum: Math & Science
Topic: What should be the natural spacement between equations?
Replies: 12
Views: 12972

What should be the natural spacement between equations?

Well, I now have another point of view that I would like to try.

Before, I was using fixed spaces like \\[6pt] , \\[12pt] , \\[18pt] and even \\[24pt] (depending on the size and "type" of equations), for equations in a 12pts font document .

I hate it when LaTeX change the spacements to adapt ...
by Cham
Thu Nov 28, 2019 8:37 pm
Forum: Math & Science
Topic: What should be the natural spacement between equations?
Replies: 12
Views: 12972

What should be the natural spacement between equations?

I guess you mean \setlength{\jot}{12pt} ?
by Cham
Thu Nov 28, 2019 4:31 pm
Forum: Math & Science
Topic: What should be the natural spacement between equations?
Replies: 12
Views: 12972

What should be the natural spacement between equations?

Well, that's not very specific. I'm already asking how to do this properly!

Do you have a suggestion code? I tried using \\, but the spacing is way to short (and variable). Using \\ \\ gives some spacing troubles too.