Small problems with my columns
Hi, In the code below, how to make the line hyphenation is in the first column and not in the second. Thank You. Fabrice \setupcolors[state=start] \definemixedcolumns [mycolumn] [ n=2, separator=rule, rulecolor=gray, rulethickness=1pt, balance=yes, ] \setuppapersize[A4][A4] \setuplayout[ backspace=15mm, width=middle, topspace=15mm, height=middle, header=0pt, footer=0pt, ] \loadtypescriptfile[mathdesign] \definetypeface [mainface] [rm] [serif] [palatino] [default] \definetypeface [mainface] [tt] [mono] [modern] [default] [rscale=0.9] \definetypeface [mainface] [mm] [math] [xits] [default] \setupbodyfont[mainface,11pt] \starttext \startmycolumn \startitemize[n][stopper={)},style=bold] \item \startitemize[a][stopper={)},style=bold] \item \item \item \'Emettre une conjecture sur la nature de la transformation correspondant à l'enchaînement de ces deux translations. \startframedtext[frame=on,background=color,backgroundcolor=lightgray,width=local] On notera $\vec{u} + \vec{v}$ les caractéristiques de cette nouvelle transformation. \stopframedtext \stopitemize \column \item \startitemize[a][stopper={)},style=bold] \item \item \item \stopitemize \item \startitemize[a][stopper={)},style=bold] \item \item \item \stopitemize \stopitemize \stopmycolumn \stoptext
On 07/30/2015 07:37 PM, Fabrice Couvreur wrote:
Hi, In the code below, how to make the line hyphenation is in the first column and not in the second.
Hi Fabrice, you could replace \column with \column\setupalign[nothyphenated]. It does the job, although it seems not very elegant to me. Pablo
\setupcolors[state=start] \definemixedcolumns [mycolumn] [ n=2, separator=rule, rulecolor=gray, rulethickness=1pt, balance=yes, ] \setuppapersize[A4][A4]
\setuplayout[ backspace=15mm, width=middle, topspace=15mm, height=middle, header=0pt, footer=0pt, ] \loadtypescriptfile[mathdesign]
\definetypeface [mainface] [rm] [serif] [palatino] [default] \definetypeface [mainface] [tt] [mono] [modern] [default] [rscale=0.9] \definetypeface [mainface] [mm] [math] [xits] [default]
\setupbodyfont[mainface,11pt]
\starttext \startmycolumn \startitemize[n][stopper={)},style=bold] \item \startitemize[a][stopper={)},style=bold] \item \item \item \'Emettre une conjecture sur la nature de la transformation correspondant à l'enchaînement de ces deux translations. \startframedtext[frame=on,background=color,backgroundcolor=lightgray,width=local] On notera $\vec{u} + \vec{v}$ les caractéristiques de cette nouvelle transformation. \stopframedtext \stopitemize \column \item \startitemize[a][stopper={)},style=bold] \item \item \item \stopitemize \item \startitemize[a][stopper={)},style=bold] \item \item \item \stopitemize \stopitemize \stopmycolumn \stoptext
Fabrice Couvreur mailto:fabrice1.couvreur@gmail.com 30. Juli 2015 19:37 Hi, In the code below, how to make the line hyphenation is in the first column and not in the second.
You can add \setuptolerance[verytolerant] to give ConTeXt more freedom where it breaks the lines. Wolfgang
Hi Wolfgang and Pablo, Thank you for your suggestions, it works perfectly. Fabrice
participants (4)
-
Fabrice
-
Fabrice Couvreur
-
Pablo Rodriguez
-
Wolfgang Schuster