How about using \vfill ?
\define[1]{\RtH}{\vfill\rotate{#1}}
Henning Hraban Ramm via ntg-context 於 2023年3月16日 週四
上午2:16寫道:
> Hi!
>
> In my table, I want the header texts to be 90˚ rotated and aligned to
> the bottom of their cell. I couldn’t find an option to do that.
> Tried \dontleavehmode
See if this way suits you.
\definemathmatrix[bmatrix]
[matrix:brackets]
[simplecommand=bmatrix]
\starttext
$ a \rightarrow
\bmatrix{1, \hfill 2, 3, \hfill 4;
2, \hfill 1, 4, \hfill 3;
3,-4, 1,-2;
4,-3, 2,-1} $
\stoptext
Bruce Horrocks via ntg-context 於
Maybe the ideographic space U+3000 works.
在 2023年2月21日週二 03:42,Sylvain Hubert via ntg-context 寫道:
> Dear list,
>
> Does anyone know how to insert a horizontal space in a CJK document with
> \setscript[hanzi]?
>
> \setscript[hanzi]
> \definefontfamily[mainface][rm][notoserifcjkhk][]
>
Will this suit you?
\starttext
\input knuth
\startitemize[n]
\item x
\stopitemize
\startitemize[n][leftmargindistance=-.1\textwidth,width=.1\textwidth]
\starttabulate[|lp(.1\textwidth)|cp(.35\textwidth)|cp(.2\textwidth)|cp(.35\textwidth)|]
\starttext
\startitemize[n]
\item\godown[-\lineheight]
\startitemize[a,columns,packed][before={\blank[nowhite]},right=\),stopper=]
\item bla
\item bla
\item bla
\item bla
\stopitemize
\item\godown[-\lineheight]
The following used to produce three parallel lines.
Now it produces one straight line and two arcs.
\starttext
\startMPcode
z0 = origin;
z1 = 72dir(45);
dotlabel.bot("z0", z0);
draw z0--z1;
draw (z0--z1) paralleled -15 withcolor red;
draw (z0--z1) paralleled 15 withcolor blue;
amm via ntg-context 於 2022年7月6日 週三
晚上7:36寫道:
> Am 06.07.22 um 12:45 schrieb Hans Hagen via ntg-context:
> > On 7/6/2022 12:19 PM, fv leung via ntg-context wrote:
> >> My stupid way to get labels of different sizes:
> >>
> >> \starttext
> >>
>
My stupid way to get labels of different sizes:
\starttext
\startMPcode
label("normal label", (0, 0));
label("\setsmallbodyfont small label", (0, 18));
label("\setbigbodyfont big label", (0, -18));
\stopMPcode
\stoptext
Henning Hraban Ramm via ntg-context 於 2022年7月6日 週三
下午5:23寫道:
>
I changed the value for ConTeXt-Mark-version from "II" to "IV" in
context.el file.
There are more than one such entry.
In the Windows platform, I added the following to the .emacs file:
(load "context.el" nil t t)
(add-to-list 'auto-mode-alist '("\\.tex\\'" . context-mode))
(eval-after-load 'tex
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,
You can also consider using viewerlayer:
\setupinteraction[state=start]
\defineviewerlayer[solution]
\setupcolors[state=start]
\usecolors[xwi]
\definecolor[keyColor][1.0(maroon)]
\starttext
\startitemize[n]
\but[ToggleLayer{solution}]
\samplefile{tufte}
\blank[big]
can use this for the header:
\setupheadertexts
[text]
[{\namedstructurevariable{chapter}{title}}]
[]
[]
[{\namedstructurevariable{chapter}{title}}]
juh via ntg-context 於 2022年1月5日 週三 上午12:28寫道:
> Hi all,
>
> I know how to put the current chapter in the header.
>
> But how can I also put the
Can solve with
\defineenumeration[remark][
alternative=serried,
width=fit,
text={{\it Remark}},
headstyle=\tf,
indenting={first,medium},
%headcommand=\groupedcommand{\hskip 1em}{},
]
Mikael Sundqvist via ntg-context 於 2021年12月31日 週五
上午4:55寫道:
> Hi,
>
> I have two questions:
>
>
add
\dontleavehmode
before the table
Andres Conrado Montoya via ntg-context 於 2021年11月23日
週二 上午7:58寫道:
> Considering the following MWE, I would like to know how I can get
> the table inside the item to be aligned with the item. It seems the
> tabel takes the width right, but it gets pushed to
I use
\removeunwantedspaces
in this case.
Ramkumar KB via ntg-context 於 2021年10月21日 週四 下午4:32寫道:
> Hello,
>
> I have this nagging issue of indentation (in the 1st line) showing up
> inside \framed in spite of all the commands to skip indentation (see
> attached PDF).
>
> It appears that
\starttext
It seems that the problem comes up when the same color as the surrounding
text is used in MPcode.\par
{
\red
text red\par
\startMPcode
drawoptions(withcolor blue);
label("text blue in MPcode", origin);
\stopMPcode
\par
text still red\par
But\par
text red\par
Use
distance=...
instead of
margin=...
.
在 2021年9月7日週二 16:58,Sylvain Hubert via ntg-context 寫道:
> Dear List,
>
> Does anyone know how to set the margin of an inner item group? The
> natural way does not seem to work:
>
> \showframe
> \starttext
> \startitemize[margin=5em]
> \item 1
>
gt; \item 1
> \item 2
> \stopitemize
> \stoptext
>
> %output: (A) 1 (B) 2
>
> On 07/09/2021, fv leung via ntg-context wrote:
> > I add
> >
> > left=,right=,
> >
> > in the second option group.
> >
> > 在 2021年9月7日
I add
left=,right=,
in the second option group.
在 2021年9月7日週二 07:02,Sylvain Hubert via ntg-context 寫道:
> A few more information:
>
> For the 1st problem:
>
> It seems that \setupitemize accepts two option groups, to which
> n,packed and margin belong accordingly. However,
>
\definemathmatrix[pmatrix][matrix:parentheses][simplecommand=pMat]
\starttext
I used to typeset an augmented matrix this way:
\m{\pMat{1,7,-6,\vrule,-4;3,-4,7,\vrule,13;4,3,1,\vrule,9}}
But this no longer works.
Though I can get over this with
\m{\pMat{1,7,-6,¦,-4;3,-4,7,¦,13;4,3,1,¦,9}} ,
\starttext
\m{\root3\of2}
\stoptext
works.
But
\starttext
\startMPcode
label("\m{\root3\of2}", origin);
\stopMPcode
\stoptext
doesn't.
Running `LuaMetaTeX' on `trial' with
``/home/fvleung/ConTeXt/tex/texmf-linux-64/bin/mtxrun --autogenerate
--script context trial.tex''
resolvers
21 matches
Mail list logo