ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
[parent not found: <mailman.1.1171278001.17978.ntg-context@ntg.nl>]
[parent not found: <mailman.1.1171018801.24970.ntg-context@ntg.nl>]
* Newbie question: math font and bibliography
@ 2007-02-09  2:09 Zulkifli Hidayat
  2007-02-09  7:55 ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Zulkifli Hidayat @ 2007-02-09  2:09 UTC (permalink / raw)
  To: ntg-context

Dear all,

I'm a newbie, just recently try to use context. As I read the wiki, I
think that Context is great to typeset documents. Now I'm trying to make a
document with some maths in it and I also need bold math symbols. I try
the steps written in MyWay Magazine: Normal and Bold Math Combination by
Hans Hagen and I find that bold math in inline equation is bold upright
but in formula it is bold italics. Furthermore, I can't type a bold greek
symbol in an inline equation. A file test is below. I also tried in
Contextlive and got the same result. I use the 23.01.2007 context version.

For bibliography, I don't have any idea how to cite a bibliography item in
the list of publications. I found the wiki is not clear enough for real
newbie like me.

Thank you in advance for any help or suggestions ...

Zulkifli

=======================
\usetypescriptfile[type-enc]

\definetypeface [mainface] [rm] [serif] [modern] [default]
\definetypeface [mainface] [tt] [mono]  [modern] [default]
\definetypeface [mainface] [ss] [sans]  [modern] [default]
\definetypeface [mainface] [mm] [math]  [modern] [default]

\definetypeface [boldmath] [rm] [serif]    [modern] [default]
\definetypeface [boldmath] [tt] [mono]     [modern] [default]
\definetypeface [boldmath] [ss] [sans]     [modern] [default]
\definetypeface [boldmath] [mm] [boldmath] [modern] [default]

\definetypeface [mainface] [mm] [bfmath] [modern] [default]
\definetypeface [boldmath] [mm] [bfmath] [modern] [default]

\setupformulas
   [method=bold]

\setupbodyfont
   [mainface]

\def\vu{{\bf u}}
\def\vxh{{\hat\bf x}}
\def\vyh{{\hat\bf y}}
\def\thetah{\hat{\theta}}
\def\vthetah{\hat{\bfm\theta}}

\starttext

$x(t)$ $u(t)$ $\vu(t)$ \vu(t) $N$ $\theta$ \theta%\vthetah dan $\vthetah$.

\startformula
  \vu(t) \vthetah \thetah \hat{\alpha} {\bfm\hat{\alpha}\alpha}
\stopformula

\stoptext

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

end of thread, other threads:[~2007-02-14  8:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.664.1171104649.17432.ntg-context@ntg.nl>
2007-02-12  6:15 ` Newbie question: math font and bibliography Zulkifli Hidayat
2007-02-12  7:19   ` Taco Hoekwater
     [not found] <mailman.1.1171278001.17978.ntg-context@ntg.nl>
2007-02-14  5:59 ` Zulkifli Hidayat
2007-02-14  8:55   ` Taco Hoekwater
     [not found] <mailman.1.1171018801.24970.ntg-context@ntg.nl>
2007-02-10  9:43 ` Zulkifli Hidayat
2007-02-09  2:09 Zulkifli Hidayat
2007-02-09  7:55 ` Taco Hoekwater

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