Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forall.fmt doesn't use \mathpunct on . #54

Open
Blaisorblade opened this issue Jul 19, 2017 · 0 comments
Open

forall.fmt doesn't use \mathpunct on . #54

Blaisorblade opened this issue Jul 19, 2017 · 0 comments

Comments

@Blaisorblade
Copy link

Blaisorblade commented Jul 19, 2017

Experiments on my thesis suggest that \mathpunct{.} is typically more correct than plain. for separators after \forall, and can be specified via:

% Hook into forall.fmt:
% Add proper spacing after forall-generated dots.
%format period_ = "\mathpunct{.}"

This could either be added to forall.fmt (but unsafe for existing documents, not sure what's your policy) or suggested in the documentation.

\mathpunct is a \mathrel brother for mathematical punctuation (like comma), which adds a bit more space after. I've still felt like adding even more space explicitly in especially complicated, but usually this looks quite nice IMHO (and has the right semantics).

For instance, $\forall x \mathpunct{.} x^2 > 0$ gives the following:
image
(tested in plain TeX with pdftex '\relax $\forall x \mathpunct{.} x^2 > 0$ \end').

EDIT: I'm just realizing there's an amazing amount of published material which doesn't use \mathpunct, here or for lambdas (#53), but I'm not yet convinced the result there looks as good or is as readable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants