bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63179] sqrtex and radicalex are really weird glyphs, man


From: G. Branden Robinson
Subject: [bug #63179] sqrtex and radicalex are really weird glyphs, man
Date: Fri, 7 Oct 2022 08:17:18 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?63179>

                 Summary: sqrtex and radicalex are really weird glyphs, man
                 Project: GNU troff
               Submitter: gbranden
               Submitted: Fri 07 Oct 2022 12:17:16 PM UTC
                Category: Font - others/general
                Severity: 3 - Normal
              Item Group: Rendering/Cosmetics
                  Status: Need Info
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 07 Oct 2022 12:17:16 PM UTC By: G. Branden Robinson <gbranden>
Spawned off of bug #62923.

Curious, I attempted equation construction by hand to see how I would fare
compared to eqn(1).

I also commented out the redefinition of the "radicalex" special character in
ps.tmac.

So check this out.

Input:


$ cat EXPERIMENTS/distance.ms 
.LP
.nr w1 \w'\(sr'
.nr w2 \w'\[sqrt]'
A text radical is \n(w1 wide.
A special radical is \n(w2 wide.
.LP
A\(srB
.LP
A\[sqrt]B
.EQ L
d = sqrt { ( x sub 2 - x sub 1 ) sup 2 + ( y sub 2 - y sub 1 ) sup 2 }
.EN
\fId\fP = \(sr
.\" Define the radicand.
.ds rc (\fIx\fP\*<2\*> \- \fIx\fP\*<1\*>)\*{2\*})\
 + (\fIy\fP\*<2\*> \- \fIy\fP\*<1\*>)\*{2\*})
.nr ln \w'\*(rc'
\Z'\*(rc'\l'\n(lnu\[radicalex]'
.LP
C\(rnD (root en extender)
.LP
C\[radicalex]D (text radical extension)
.LP
C\[sqrtex]D (special radical extension)
$ ./build/test-groff -e -ms EXPERIMENTS/distance.ms >| distance.ps 








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63179>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]