ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Fractions (was \placefigure[location=here...] problem)
@ 2023-12-09 13:43 Wolfgang Schuster
  2023-12-09 13:57 ` [NTG-context] " Henning Hraban Ramm
  2023-12-09 15:33 ` [NTG-context] Re: Fractions (was \placefigure[location=here...] problem) Aditya Mahajan
  0 siblings, 2 replies; 12+ messages in thread
From: Wolfgang Schuster @ 2023-12-09 13:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users, anton.chigurh

anton.chigurh@mail.com schrieb am 09.12.2023 um 14:15:
> I worked, ;-), thanks.
> Let me ask you another thing, how can I avoid messing up the
> line spacing by using \sqrt and \frac, the line that follows these has increased
> line spacing in the pdf output
>
> code:
> Find the normal and shearing stresses on an oblique plane defined by
> $l=\sqrt{\frac{3}{13}}$, $m=\sqrt{\frac{1}{13}}$, and $n=\sqrt{\frac{9}{13}}$.

Complete working minimal examples are preferred over code snippets.

To avoid single lines with different spacing you can either increase the 
line spacing for all
lines with \setupinterlinespace or you use a different fraction command 
which uses
smaller numbers or creates inline fractions.

\starttext

\startlines
\type{\frac{1}{3}}: \m{\frac{1}{3}}
\type{\xfrac{1}{3}}: \m{\xfrac{1}{3}}
\type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}}
\type{\tfrac{1}{3}}: \m{\tfrac{1}{3}}
\type{\sfrac{1}{3}}: \m{\sfrac{1}{3}}
\type{\frac{1}{3}}: \m{\frac{1}{3}}
\type{\dfrac{1}{3}}: \m{\dfrac{1}{3}}
\type{\cfrac{1}{3}}: \m{\cfrac{1}{3}}
\type{\vfrac{1}{3}}: \m{\vfrac{1}{3}}
\type{\hfrac{1}{3}}: \m{\hfrac{1}{3}}
\stoplines

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-12-11 14:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-09 13:43 [NTG-context] Fractions (was \placefigure[location=here...] problem) Wolfgang Schuster
2023-12-09 13:57 ` [NTG-context] " Henning Hraban Ramm
2023-12-09 14:47   ` anton.chigurh
2023-12-09 15:13   ` Fabrice Couvreur
2023-12-09 14:52     ` Wolfgang Schuster
     [not found]       ` <CACyK-ep3tOb5w5pWwqYBt5pOwBFGr=H19vGbJ9pJ61Xmz7zwtw@mail.gmail.com>
2023-12-09 15:39         ` Wolfgang Schuster
2023-12-09 22:30           ` Mikael Sundqvist
2023-12-10 12:24             ` [NTG-context] Re: Fractions Henning Hraban Ramm
2023-12-10 13:19               ` Gavin via ntg-context
2023-12-11 14:23               ` Henning Hraban Ramm
2023-12-09 15:33 ` [NTG-context] Re: Fractions (was \placefigure[location=here...] problem) Aditya Mahajan
2023-12-10 11:37   ` Hans Hagen via ntg-context

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).