* about vertical alignment [not found] <mailman.311.1549644463.1205.ntg-context@ntg.nl> @ 2019-02-09 7:36 ` Jeong Dal 2019-02-10 9:54 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Jeong Dal @ 2019-02-09 7:36 UTC (permalink / raw) To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: about vertical alignment 2019-02-09 7:36 ` about vertical alignment Jeong Dal @ 2019-02-10 9:54 ` Wolfgang Schuster 2019-02-10 13:05 ` Jeong Dal 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2019-02-10 9:54 UTC (permalink / raw) To: Jeong Dal; +Cc: mailing users Jeong Dal schrieb am 09.02.19 um 08:36: > 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=)] \startitemize[n][stopper=),width=0pt] You have to set the width for the item symbol to 0pt because it’s now part of the table. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: about vertical alignment 2019-02-10 9:54 ` Wolfgang Schuster @ 2019-02-10 13:05 ` Jeong Dal 0 siblings, 0 replies; 3+ messages in thread From: Jeong Dal @ 2019-02-10 13:05 UTC (permalink / raw) To: Wolfgang Schuster; +Cc: mailing users [-- Attachment #1.1: Type: text/plain, Size: 283 bytes --] Dear Wolfgang, > \startitemize[n][stopper=),width=0pt] > > You have to set the width for the item symbol to 0pt because it’s now part of the table. It works perfectly. A short argument "width=0pt” solves my problem. Thank you so much. Best regards, Dalyoung [-- Attachment #1.2: Type: text/html, Size: 2697 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-02-10 13:05 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <mailman.311.1549644463.1205.ntg-context@ntg.nl> 2019-02-09 7:36 ` about vertical alignment Jeong Dal 2019-02-10 9:54 ` Wolfgang Schuster 2019-02-10 13:05 ` Jeong Dal
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).