From: "Xavier B. via ntg-context" <ntg-context@ntg.nl>
To: "Xavier B." <somenxavier@posteo.net>
Cc: "Xavier B." <somenxavier@posteo.net>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problems with itemize with several columns
Date: Wed, 23 Feb 2022 11:28:34 +0000 [thread overview]
Message-ID: <20220223122834.c9b81d87a7d69dc4cd7497db@posteo.net> (raw)
In-Reply-To: <20220223095958.65d8f2755e29ae9d2f449cf7@posteo.net>
[-- Attachment #1: Type: text/plain, Size: 4891 bytes --]
In my previous post [https://mailman.ntg.nl/pipermail/ntg-context/2022/105138.html], I don't know the reason, but the attached code des not display very well in mailing list. I put it here:
\defineenumeration
[exercici]
[alternative=serried, before={\blank[medium]\testpage[1]}, text={Exercici}, stopper={.\space}, width=fit, headstyle=\ss, distance=0.25em, width=fit, headcolor=exercici_color, title=yes, titlestyle=\ss, titledistance=0em, left={\bgroup\bf}, right={\egroup}, after={\blank[big]}, prefix=yes, prefixsegments=section, way=section]
\starttext
\section{Operacions amb fraccions}
\subject{Preguntes}
\startexercici[exercici:operacions-amb-fraccions-1]{suma i resta} Opereu:
\startitemize[a, columns, three]
\item \startformula \frac{2}{7} + \frac{6}{7} - \frac{1}{7} \stopformula
\item \startformula \frac{5}{8} + \frac{9}{8} \stopformula
\item \startformula \frac{1}{4} + 5 - \frac{1}{4} \stopformula
\item \startformula \frac{3}{5} - \frac{2}{5} + \frac{11}{5} \stopformula
\item \startformula \frac{2}{3} + \frac{1}{4} \stopformula
\item \startformula 5 + \frac{4}{5} \stopformula
\item \startformula \frac{2}{3} + \frac{5}{8} - \frac{1}{9} \stopformula
\item \startformula 10 - \frac{1}{6} + \frac{6}{8} \stopformula
\item \startformula \frac{3}{10} + \frac{7}{12} \stopformula
\stopitemize
\stopexercici
\startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i divisió} Opereu:
\startitemize[a, columns, three]
\item \startformula 3 \cdot \frac{5}{3} \stopformula
\item \startformula \frac{3}{4} \cdot \frac{2}{5} \stopformula
\item \startformula \frac{1}{3} \cdot \frac{3}{4} \div \frac{1}{5} \stopformula
%\column
\item \startformula 5 \div \frac{7}{10} \cdot 7 \div \frac{2}{5} \stopformula
\item \startformula \frac{1}{2} \cdot \frac{1}{2} \stopformula
\item \startformula \frac{3}{2} \div \frac{2}{3} \div \frac{5}{4} \stopformula
%\column
\item \startformula \frac{2}{3} \colon \frac{2}{5} \stopformula
\item \startformula \frac{3}{4} \colon \frac{1}{2} \cdot 6 \stopformula
\item \startformula \frac{2}{3} \colon \frac{3}{4} \cdot \frac{1}{2} \stopformula
\stopitemize
\stopexercici
\startexercici[exercici:operacions-amb-fraccions-3]{operacions combinades}
\startitemize[a, columns, three]
\item \startformula \frac{3}{4} + \frac{2}{5} \cdot \frac{1}{2} \stopformula
\item \startformula \frac{2}{5} \div \frac{3}{5} - \frac{1}{4} \stopformula
\item \startformula \left( 2 + \frac{3}{5} \right) \div \frac{4}{3} \stopformula
\item \startformula \frac{2}{3} - \frac{5}{6}\cdot 8 \stopformula
\item \startformula 4 + \frac{3}{5} - \left(2 - \frac{1}{2}\right) \stopformula
\item \startformula 4 \cdot \left(\frac{5}{6} - \frac{1}{4} + \frac{4}{9}\right) \stopformula
\item \startformula \frac{5}{6} - \left(\frac{1}{5} + \frac{1}{3}\right) \stopformula
\item \startformula \frac{5}{6} \div \left( \frac{2}{5} - \frac{1}{10}\right) \stopformula
\item \startformula 4 \cdot \frac{2}{3} \cdot \left(\frac{2}{4} \div \frac{8}{10}\right) \stopformula
\item \startformula \frac{3}{4} + \frac{1}{2} \cdot \frac{4}{10} \stopformula
\item \startformula \frac{10}{12} - \left(\frac{1}{10} + \frac{3}{8}\right) \stopformula
\item \startformula \left(\frac{1}{2} + 2\right) \cdot \left(2 - \frac{1}{4}\right) \stopformula
\item \startformula \left(\frac{3}{4} + \frac{1}{4}\right) \div \left(\frac{5}{6} - \frac{1}{3}\right) \stopformula
\item \startformula 5 + 10 - \frac{1}{10} + 25 \stopformula
\item \startformula \frac{1}{3} + \frac{1}{2} - \frac{2}{5} \stopformula
\item \startformula \left(\frac{1}{2} + \frac{2}{10}\right) \cdot \frac{2}{6} \stopformula
\item \startformula 5 + \frac{1}{3} \cdot \frac{5}{3} \stopformula
\item \startformula \left( 5 + \frac{1}{3} \right) \cdot \frac{5}{3} \stopformula
\stopitemize
\stopexercici
\stoptext
I re-attach the resulting pdf
Thanks,
On Wed, 23 Feb 2022 09:59:58 +0100
"Xavier B." <somenxavier@posteo.net> ha escrit:
> Hi,
>
> I try to solve this, but I could not. Can you please help me.
> I make a math problem sheet. In "Exercici 1.2", I put a itemize with three columns, but the 'c' exercise jumps to second column. I want that a, b, c remains in the first column, d, e, f in the second and g, h, i in the third.
>
> I tried \column command but it's worse.
>
> I attached the source and generated pdf.
>
> My version of context is:
> context --version
> mtx-context | ConTeXt Process Management 1.04
> mtx-context |
> mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv
> mtx-context | current version: 2021.03.05 19:11
> mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkxl/context.mkxl
> mtx-context | current version: 2021.03.05 19:11
>
>
> Thanks in advance,
>
> Xavier
>
> PS: Please CCme
>
[-- Attachment #2: a.pdf --]
[-- Type: application/pdf, Size: 22049 bytes --]
[-- Attachment #3: 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
___________________________________________________________________________________
next prev parent reply other threads:[~2022-02-23 11:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-23 8:59 Xavier B. via ntg-context
2022-02-23 11:28 ` Xavier B. via ntg-context [this message]
2022-02-23 17:52 ` Bruce Horrocks via ntg-context
2022-02-23 21:04 ` Xavier B. via ntg-context
2022-02-23 22:49 ` Luis Montgomery via ntg-context
2022-02-24 22:10 ` Xavier B. via ntg-context
2022-02-24 22:50 ` fv leung via ntg-context
2022-02-25 10:44 ` Bruce Horrocks via ntg-context
[not found] ` <03C9E4F5-AF8C-4815-BBE7-B076C12D2BEE@scorecrow.com>
2022-02-25 12:34 ` Xavier B. via ntg-context
2022-02-25 12:47 ` Xavier B. via ntg-context
2022-02-23 17:25 ` Luis Montgomery via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220223122834.c9b81d87a7d69dc4cd7497db@posteo.net \
--to=ntg-context@ntg.nl \
--cc=somenxavier@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).