ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: fv leung via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: fv leung <fvleung@gmail.com>
Subject: Re: Problems with itemize with several columns
Date: Fri, 25 Feb 2022 06:50:34 +0800	[thread overview]
Message-ID: <CAN-yaTnJWK-F-h+fuej1k70XB-Su8aPmfWkNC8ZTLQ3sjW6J-Q@mail.gmail.com> (raw)
In-Reply-To: <20220224231046.b84ed5bfeeb95af1688c4a13@posteo.net>


[-- Attachment #1.1: Type: text/plain, Size: 3970 bytes --]

Avoid using \startformula \stopformula in itemize. Use \dfrac to get
display style fraction.


\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\m{\dfrac{2}{7} + \dfrac{6}{7} - \dfrac{1}{7}}
\item\m{\dfrac{5}{8} + \dfrac{9}{8}}
\item\m{\dfrac{1}{4} + 5 - \dfrac{1}{4}}
\item\m{\dfrac{3}{5} - \dfrac{2}{5} + \dfrac{11}{5}}
\item\m{\dfrac{2}{3} + \dfrac{1}{4}}
\item\m{5 + \dfrac{4}{5}}
\item\m{\dfrac{2}{3} + \dfrac{5}{8} - \dfrac{1}{9}}
\item\m{10 - \dfrac{1}{6} + \dfrac{6}{8}}
\item\m{\dfrac{3}{10} + \dfrac{7}{12}}
\stopitemize
\stopexercici

\startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i
divisió} Opereu:
\startitemize[a, columns, three]
\item\m{3 \cdot \dfrac{5}{3}}
\item\m{\dfrac{3}{4} \cdot \dfrac{2}{5}}
\item\m{\dfrac{1}{3} \cdot \dfrac{3}{4} \div \dfrac{1}{5}}
%\column
\item\m{5 \div \dfrac{7}{10} \cdot 7 \div \dfrac{2}{5}}
\item\m{\dfrac{1}{2} \cdot \dfrac{1}{2}}
\item\m{\dfrac{3}{2} \div \dfrac{2}{3} \div \dfrac{5}{4}}
%\column
\item\m{\dfrac{2}{3} \colon \dfrac{2}{5}}
\item\m{\dfrac{3}{4} \colon \dfrac{1}{2} \cdot 6}
\item\m{\dfrac{2}{3} \colon \dfrac{3}{4} \cdot \dfrac{1}{2}}
\stopitemize
\stopexercici

\startexercici[exercici:operacions-amb-fraccions-3]{operacions combinades}
\startitemize[a, columns, three]
\item\m{\dfrac{3}{4} + \dfrac{2}{5} \cdot \dfrac{1}{2}}
\item\m{\dfrac{2}{5} \div \dfrac{3}{5} - \dfrac{1}{4}}
\item\m{\left( 2 + \dfrac{3}{5} \right) \div \dfrac{4}{3}}
\item\m{\dfrac{2}{3} - \dfrac{5}{6}\cdot 8}
\item\m{4 + \dfrac{3}{5} - \left(2 - \dfrac{1}{2}\right)}
\item\m{4 \cdot \left(\dfrac{5}{6} - \dfrac{1}{4} + \dfrac{4}{9}\right)}
\item\m{\dfrac{5}{6} - \left(\dfrac{1}{5} + \dfrac{1}{3}\right)}
\item\m{\dfrac{5}{6} \div \left( \dfrac{2}{5} - \dfrac{1}{10}\right)}
\item\m{4 \cdot \dfrac{2}{3} \cdot \left(\dfrac{2}{4} \div
\dfrac{8}{10}\right)}
\item\m{\dfrac{3}{4} + \dfrac{1}{2} \cdot \dfrac{4}{10}}
\item\m{\dfrac{10}{12} - \left(\dfrac{1}{10} + \dfrac{3}{8}\right)}
\item\m{\left(\dfrac{1}{2} + 2\right) \cdot \left(2 - \dfrac{1}{4}\right)}
\item\m{\left(\dfrac{3}{4} + \dfrac{1}{4}\right) \div \left(\dfrac{5}{6} -
\dfrac{1}{3}\right)}
\item\m{5 + 10 - \dfrac{1}{10} + 25}
\item\m{\dfrac{1}{3} + \dfrac{1}{2} - \dfrac{2}{5}}
\item\m{\left(\dfrac{1}{2} + \dfrac{2}{10}\right) \cdot \dfrac{2}{6}}
\item\m{5 + \dfrac{1}{3} \cdot \dfrac{5}{3}}
\item\m{\left( 5 + \dfrac{1}{3} \right) \cdot \dfrac{5}{3}}
\stopitemize
\stopexercici
\stoptext


Xavier B. via ntg-context <ntg-context@ntg.nl> 於 2022年2月25日 週五 上午6:10寫道:

> Even if I change
> \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i
> divisió} Opereu:
> \startitemize[a, columns, three]
>
>
> for
>
> \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i
> divisió} Opereu:
> \startitemize[a, columns]
>
>
> the 'c' jumps.
>
> Isn't ConTeXt capable of handle that?
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 4915 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
___________________________________________________________________________________

  reply	other threads:[~2022-02-24 22:50 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
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 [this message]
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=CAN-yaTnJWK-F-h+fuej1k70XB-Su8aPmfWkNC8ZTLQ3sjW6J-Q@mail.gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=fvleung@gmail.com \
    /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).