[NTG-context] about vertical alignment
Jeong Dal
haksan at me.com
Sat Feb 9 08:36:03 CET 2019
Dear all,
I used \itemtag in \starttabulate to make columns in itemization for some reasons.
Actually, it works fine.
For more detailed alignment, I’d like to ask about the fine tuning of vertical alignment.
Here is an MWS.
%%%%%%%
\showframe
\starttext
\startitemize[n]
\item Prove the following identity.
\startitemize[n][stopper=)]
\item ${\displaystyle \int \tan^n x \,dx=\frac{\tan^{n-1}x}{n-1}-\int \tan^{n-2}x \,dx}$ ($n>1$)
\item ${\displaystyle \int \sec^n x \,dx=\frac{\sec^{n-2}x \tan x}{n-1}+\frac{n-2}{n-1}
\int \sec^{n-2}x \,dx}$ $(n>1)$
\stopitemize
\item Integration
\startitemize[n][stopper=)]
\starttabulate[||lw(.42\textwidth)||lw(.42\textwidth)|]
\NC\itemtag\NC ${\displaystyle \int (2x+3)e^{-x} \,dx}$
\NC\itemtag\NC ${\displaystyle \int x^2e^{x} \,dx}$ \NC\NR\TB[halfline]
\NC\itemtag\NC ${\displaystyle \int x \cos x ~d x }$
\NC\itemtag\NC ${\displaystyle \int x^2 \cos 2x ~d x }$ \NC\NR\TB[halfline]
\stoptabulate\stopitemize
\stopitemize
\stoptext
%%%%%%%%
In the output, the second itemization number is aligned at the starting point of “Prove …”.
But the second itemization number of \itemtag is not at the starting point of “Integration…”
So, it looks a little bit awkward.
Of course, it is because of "lw(.42\textwidth)…” things.
Is there a method to make the starting point of \itemtag aligned to that of the “Integration…”?
Thank you for reading.
Best regards,
Dalyoung
More information about the ntg-context
mailing list