ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <darnold@northcoast.com>
Subject: \startexample
Date: Sat, 13 Nov 2004 13:42:08 -0800	[thread overview]
Message-ID: <3.0.5.32.20041113134208.00901a80@mail.northcoast.com> (raw)

All,

I have this example I would like to typeset.

\startexample
Show that $0.\overline{621}$ is a rational number.
\stopexample

In this case, there are three digits under the repeating bar. If we
let $x=0.\overline{621}$, then multiply by 1000, we have

\startformula
\eqalign{1000x&=621.621621\dots\cr
  x&=\phantom{62}0.621621\dots.}
\stopformula

Subtracting,

\startformula
\eqalign{999x&=621\cr
x&={621\over 999}.}
\stopformula

Dividing numerator and denominator by 27 (or first by 9 then by 3), we
find that $0.\overline{621}=23/37$. Thus, $0.\overline{621}$, being
the ratio of two integers, is rational.

I have defined:

\defineenumeration
[example]
[location=serried,
  text=Example,
  before=\blank,
  after=\blank
  style=slanted]

What I would really like is an enumeration where only the example state is
in slanted type, then the solution follows (without an indent) in upright
(normal) font. At the end of the solution, I'd like a little symbol at the
lower right to indicate the end of the solution, then a little blank space
before continuing the narrative.

Can someone help me with this?

                 reply	other threads:[~2004-11-13 21:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3.0.5.32.20041113134208.00901a80@mail.northcoast.com \
    --to=darnold@northcoast.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).