* Formula has excess vertical spacing when in two column itemize
@ 2022-10-22 2:29 Gavin via ntg-context
0 siblings, 0 replies; only message in thread
From: Gavin via ntg-context @ 2022-10-22 2:29 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Gavin
[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]
Hi List,
I am getting better at adjusting the space in enumerations, but I just put a formula inside an enumeration, and the formula’s vertical spacing became excessive. I’m not sure how the enumeration caused this problem.
\starttext
Evaluate the following derivatives.
\startitemize[n, columns, two, nowhite, after]
\item\hspace[big] $\frac{d}{dx} x^2$
This is where the solution should be. Text answers look fine, but formulas have too much space above, below and between lines\dots.
\item\hspace[big] $\frac{d}{dx}\left( x^3 + 2x \right)$
\item\hspace[big] $\frac{d}{dx}\left( x^{-2} \right)$
\item\hspace[big] $\frac{d}{dt}\left( 4t^4 - 3t^{\onehalf} \right) $
\item\hspace[big] $\frac{d}{dt}( 9 - 3t )$
\startformula\startmathalignment
\NC \frac{d}{dt}( 9 - 3t ) \NC= \frac{d}{dt} 9 - \frac{d}{dt} 3t \NR
\NC \NC= 0 - 3\frac{d}{dt} t \NR
\NC \NC= -3\cdot 1t^0 \NR
\NC \NC= -3 \NR
\stopmathalignment\stopformula
\item\hspace[big] $\frac{d}{dp}\left( p^3 - 2p \right)$
\stopitemize
\stoptext
I’m also attaching a file with the above issue followed by the correct spacing in one-column for comparison.
I’m using LMTX (today’s upload, ver: 2022.10.21 21:13 LMTX fmt: 2022.10.21) on an M1 Mac.
Any ideas?
Gavin
[-- Attachment #2: TwoColumnProblems.pdf --]
[-- Type: application/pdf, Size: 14932 bytes --]
[-- Attachment #3: TwoColumnProblems.tex --]
[-- Type: application/octet-stream, Size: 1357 bytes --]
% !TEX useAlternatePath
% !TEX useConTeXtSyncParser
\starttext
Evaluate the following derivatives.
\startitemize[n, columns, two, nowhite, after]
\item\hspace[big] $\frac{d}{dx} x^2$
This is where the solution should be. Text answers look fine, but formulas have too much space above, below and between lines\dots.
\item\hspace[big] $\frac{d}{dx}\left( x^3 + 2x \right)$
\item\hspace[big] $\frac{d}{dx}\left( x^{-2} \right)$
\item\hspace[big] $\frac{d}{dt}\left( 4t^4 - 3t^{\onehalf} \right) $
\item\hspace[big] $\frac{d}{dt}( 9 - 3t )$
\startformula\startmathalignment
\NC \frac{d}{dt}( 9 - 3t ) \NC= \frac{d}{dt} 9 - \frac{d}{dt} 3t \NR
\NC \NC= 0 - 3\frac{d}{dt} t \NR
\NC \NC= -3\cdot 1t^0 \NR
\NC \NC= -3 \NR
\stopmathalignment\stopformula
\item\hspace[big] $\frac{d}{dp}\left( p^3 - 2p \right)$
\stopitemize
Evaluate the following derivatives.
\startitemize[n]
\item\hspace[big] $\frac{d}{dx} x^2$
This is where the solution should be. Text answers look fine, and formulas look good, too\dots.
\item\hspace[big] $\frac{d}{dt}( 9 - 3t )$
\startformula\startmathalignment
\NC \frac{d}{dt}( 9 - 3t ) \NC= \frac{d}{dt} 9 - \frac{d}{dt} 3t \NR
\NC \NC= 0 - 3\frac{d}{dt} t \NR
\NC \NC= -3\cdot 1t^0 \NR
\NC \NC= -3 \NR
\stopmathalignment\stopformula
\item\hspace[big] $\frac{d}{dp}\left( p^3 - 2p \right)$
\stopitemize
\stoptext
[-- Attachment #4: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-22 2:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-22 2:29 Formula has excess vertical spacing when in two column itemize Gavin via ntg-context
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).