From: Aditya Mahajan <adi.mahajan@gmail.com>
Subject: Differnce between context and latex math
Date: Thu, 26 May 2005 13:48:31 +0000 [thread overview]
Message-ID: <Pine.WNT.4.63.0505261348010.2120@nqvgln> (raw)
Hi,
I am trying to move from latex to context, but it seems that the
defaults of both differ. Consider the following
\defineenumeration
[theorem]
[
headstyle=bold,
style=italic,
location=hanging,
text=Theorem,
between=\blank
]
\starttext
\starttheorem
This is a test
\placeformula
\startformula
a = b
\stopformula
And the test continues. Notice that the equation number is in
\type{\it}
and not in \type{\upshape}.
\stoptheorem
\stoptext
Notice that the equation number is italic.
Compare this with something similar in latex
\documentclass{article}
\newtheorem{theorem}{Theorem}
\begin{document}
\begin{theorem}
This is a test
\begin{equation}
a = b
\end{equation}
And the test continues. Notice that the equation number is in
\verb|\upshape| and not in \verb|\it|.
\end{theorem}
\end{document}
Here the equation number is in upshape. In latex equation numbers are
always in upshape irrespective of the font type of the surrounding
text. How can I get the same with context.
Thanks
--
Aditya Mahajan
reply other threads:[~2005-05-26 13:48 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=Pine.WNT.4.63.0505261348010.2120@nqvgln \
--to=adi.mahajan@gmail.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).