From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "TeX on Mac OS X Mailing List" <macosx-tex@email.esm.psu.edu>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [OS X TeX] Default rule thickness
Date: Wed, 6 Aug 2008 12:59:45 +0200 [thread overview]
Message-ID: <115224fb0808060359v7b768414k497ee95abaa8f7e3@mail.gmail.com> (raw)
In-Reply-To: <BE3EF24C-3A0D-4F83-BCEA-AA988AC3942B@me.com>
On Wed, Aug 6, 2008 at 12:21 PM, Bruno Voisin <bvoisin@me.com> wrote:
> Le 6 août 08 à 09:34, Oliver Buerschaper a écrit :
>
>> does someone know how to find out the current value of
>> default_rule_thickness in a (La)TeX document? TeX uses it to determine the
>> line width of fraction bars and roots in math mode …
>
> The short story: 0.4 pt.
>
> The long story: LaTeX defines \frac in terms of the TeX primitive \over, and
> \sqrt in terms of the TeX primitive \radical (a primitive being a command
> defined in the source code of TeX itself). Hence the only way to get an
> answer for sure would be to inspect the source code of TeX.
>
> The TeXbook has an appendix G "Generating boxes from formulas" mentioning in
> several places (for \overline, \underline, \radical, ...) a
> default_rule_thickness called either $\theta$ or $\xi_8$, but not giving its
> value. Being a mere mortal, I must admit I can't make much sense of this
> appendix.
>
> My feeling is that TeX uses the same default rule thickness for all rules
> (in \overline, \underline, \over, \sqrt, \footnote, ...) and that it is the
> thickness given at the beginning of chapter 21 "Making Boxes":
>
> \hrule width=<depends on contest>, height=0.4pt, depth=0.0pt
> \vrule width=0.4pt, height=<depends on contest>, depth=<depends on contest>
The rule is between 0.4pt and 0.5pt
\starttext
\dontleavehmode
\scale[factor=200]{$1 \over 2$}
\scale[factor=200]{$1 \above .47pt 2$}
\stoptext
> Now, if you want to specify the rule thickness yourself for a fraction, say
> to 1pt, I see two solutions:
>
> - In plain TeX, replace \over by \above. For example, replace {a\over b} by
> {a\above1pt b}.
>
> - In LaTeX, use the amsmath package and replace \frac by \genfrac. For
> example, replace \frac{a}{b} by \genfrac{}{}{1pt}{}{a}{b}.
>
> I don't know what can be done for square roots.
>
> Bruno Voisin
>
> PS Normally, such a question which has nothing Mac-specific would be better
> posted to a general LaTeX forum such as comp.tex.text. However,
> comp.tex.text may be quite intimidating to the novice (chances are you'll
> either get your question ignored or be flamed for asking a stupid question),
> and as a result I have myself asked general questions here more than once
> and avoid comp.tex.text whenever possible.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next parent reply other threads:[~2008-08-06 10:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <689AE27A-F050-46B4-95E0-5A8CAF3E66A8@mpq.mpg.de>
[not found] ` <BE3EF24C-3A0D-4F83-BCEA-AA988AC3942B@me.com>
2008-08-06 10:59 ` Wolfgang Schuster [this message]
2008-08-08 8:12 ` Oliver Buerschaper
2008-08-09 8:12 ` Taco Hoekwater
2008-08-13 16:35 ` Oliver Buerschaper
2008-08-13 17:06 ` Taco Hoekwater
2008-08-13 18:57 ` Oliver Buerschaper
2008-08-13 21:24 ` Hans Hagen
2008-08-14 8:51 ` Oliver Buerschaper
2008-08-14 10:50 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=115224fb0808060359v7b768414k497ee95abaa8f7e3@mail.gmail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=macosx-tex@email.esm.psu.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).