ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* More on margin figs
@ 2006-03-24 20:07 David Arnold
  0 siblings, 0 replies; 3+ messages in thread
From: David Arnold @ 2006-03-24 20:07 UTC (permalink / raw)


Hans et al,

Maybe I am missing the point, but this example has output that is  
unexpected. There's a huge block of whitespace, that coincidentally  
continues to the bottom of the caption on the margin fig.

Is this correct behavior? I thought if I put a margin fig out there,  
then the text should flow uninterrupted.

%output=pdf

\setupwhitespace[medium]

\setupindenting[medium,yes]

\definereferenceformat[infigure][text=Figure]

\defineenumeration[definition]

\useMPlibrary[dum]

\starttext

Readers will note that each object in the domain is paired with one
and only one object in the range, as seen in the mapping diagram of
\infigure[fig:graphmap].

\placefigure
[inright][fig:graphmap]
{A mapping diagram for $f$.}
{\externalfigure[graph1][width=\marginwidth]}

Thus, we have two representations of the function $f$, the collection
of ordered pairs \in[collection], and the mapping diagram of
in \infigure[fig:graphmap]. A third representation of the function $f$
is the graph of the ordered pairs of the function, shown in the
Cartesian plane in \infigure[fig:graphmap2].

\placefigure
[][fig:graphmap2]
{A graph of the function $f$.}{\externalfigure[graph2]}

When the function is represented by an equation or formula, then we
adjust our definition somewhat.

\startdefinition[def:graf]
The graph of $f$ is the set of all ordered pairs $(x,f(x))$ so that
$x$ is in the domain of $f$. In symbols,

\startformula
\hbox{Graph of $f$}=\big\{(x,f(x)):\,\hbox{$x$ is in the domain of $f 
$.}\big\}.
\stopformula
\stopdefinition

This last definition is most easily explained by example. So, let's
define a function $f$ that maps any real number $x$ to the real number
$x^2$; that is, let $f(x)=x^2$. Now, according to
\in{Definition}[def:graf], the graph of $f$ is the set of all points
$(x,f(x))$, such that $x$ is in the domain of $f$.

\stoptext

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

end of thread, other threads:[~2006-03-27 15:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4EBB8C0D-4478-4668-8181-8E0B5265710B@cox.net>
2006-03-27 11:39 ` More on margin figs Hans Hagen
2006-03-27 15:45   ` David Arnold
2006-03-24 20:07 David Arnold

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