ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	anton.chigurh@mail.com
Subject: [NTG-context] Fractions (was \placefigure[location=here...] problem)
Date: Sat, 9 Dec 2023 14:43:30 +0100	[thread overview]
Message-ID: <f37692cd-a57d-3881-da09-3ac52d14f102@gmail.com> (raw)

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
___________________________________________________________________________________

             reply	other threads:[~2023-12-09 13:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-09 13:43 Wolfgang Schuster [this message]
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

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=f37692cd-a57d-3881-da09-3ac52d14f102@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=anton.chigurh@mail.com \
    --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).