[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: incorrect @math spacing for PDF output with an empty macro
From: |
Gavin Smith |
Subject: |
Re: incorrect @math spacing for PDF output with an empty macro |
Date: |
Sat, 15 Oct 2022 11:26:06 +0100 |
On Sat, Oct 15, 2022 at 12:40:04AM +0200, Vincent Lefevre wrote:
> > In your use case, you can avoid line breaks using the @w command:
> >
> > @deftypefun int f4 ()
> > @w{@math{@var{n} = -2}}.
> > @end deftypefun
>
> If the @w ignored in math mode?
No, the contents of @w are not split across lines.
> The manual just says:
>
> The space from '@w{ }', as well as being non-breakable, also will not
> stretch or shrink. Sometimes that is what you want, for instance if
> you're doing manual indenting. However, usually you want a normal
> interword space that does stretch and shrink (in the printed output);
> for that, see the '@tie' command in the next section.
>
> For PDF output, I want the spaces to be the usual ones that are
> generated in math mode.
The spaces in math mode are not usual interword spaces as math mode formatting
is very different to regualar paragraph formatting.
- Re: behavior of @math with HTML output, (continued)
- Re: behavior of @math with HTML output, Gavin Smith, 2022/10/13
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/13
- Re: behavior of @math with HTML output, Gavin Smith, 2022/10/13
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/13
- Re: behavior of @math with HTML output, Gavin Smith, 2022/10/14
- incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/14
- Re: incorrect @math spacing for PDF output with an empty macro, Gavin Smith, 2022/10/14
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/14
- Re: incorrect @math spacing for PDF output with an empty macro, Jacob Bachmeyer, 2022/10/14
- Re: incorrect @math spacing for PDF output with an empty macro,
Gavin Smith <=
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/15
- Re: incorrect @math spacing for PDF output with an empty macro, Gavin Smith, 2022/10/16
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/25
- Re: incorrect @math spacing for PDF output with an empty macro, Gavin Smith, 2022/10/25
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/25
- Re: incorrect @math spacing for PDF output with an empty macro, Gavin Smith, 2022/10/26
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/26
- Re: incorrect @math spacing for PDF output with an empty macro, Patrice Dumas, 2022/10/26
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/26
- Re: incorrect @math spacing for PDF output with an empty macro, Patrice Dumas, 2022/10/26