Pablo Rodriguez via ntg-context schrieb am 09.02.2024 um 20:07:
On 2/8/24 22:37, Otared Kavian wrote:
Hi Ursula,
I think you mean the so-called end of the proof sign, or QED (Quod Erat
Demonstrandum). You can use this:
\definesymbol[QED][\mathematics{\square}]
\def\qed{\wordright{\symbol[QED
On 2/8/24 22:37, Otared Kavian wrote:
> Hi Ursula,
>
> I think you mean the so-called end of the proof sign, or QED (Quod Erat
> Demonstrandum). You can use this:
>
> \definesymbol[QED][\mathematics{\square}]
> \def\qed{\wordright{\symbol[QED]}}
> \starttext
> This is
this:
\definesymbol[QED][\mathematics{\square}]
\def\qed{\wordright{\symbol[QED]}}
\starttext
This is the end of our proof. \qed
\stoptext
In principle it is included in ConTeXt, but it seems that in the latest version
I have (2024.01.23), the command \qed is broken.
Best regards: Otared
On 8 Feb 2024
2024 22:37:08
An: mailing list for ConTeXt users
Betreff: [NTG-context] Re: Square right aligned
Hi Ursula,
I think you mean the so-called end of the proof sign, or QED (Quod Erat
Demonstrandum). You can use this:
\definesymbol[QED][\mathematics{\square}]
\def\qed{\wordright{\symbol[QED
Hi Ursula,
I think you mean the so-called end of the proof sign, or QED (Quod Erat
Demonstrandum). You can use this:
\definesymbol[QED][\mathematics{\square}]
\def\qed{\wordright{\symbol[QED]}}
\starttext
This is the end of our proof. \qed
\stoptext
In principle it is included in ConTeXt
tchbox
% \boxyoffset\scratchbox\scratchheight
% \boxorientation\scratchbox\plustwo
% \ht\scratchbox\scratchheight
% \box\scratchbox
% \egroup
% \stopsetups
% \definesymbol
% [iTee]
% [\directsetup{glyph:iTee}]
% \startTEXpage [offset=1ts,wid
cratchbox\scratchheight
\boxorientation\scratchbox\plustwo
\ht \scratchbox\scratchheight
\box\scratchbox
\egroup
\stopsetups
\definesymbol
[iTee]
[\directsetup{glyph:iTee}]
\startTEXpage [offset=1ts,width=2cm]
\ruledhbox {\tfx T \symbol{iTee}} \par
\ruledhbox {T \symbol{iTee}} \par
\ruledhbox {\tf
group
> \setbox\scratchbox \ruledhbox \bgroup
> \glyphxscale 400
> \glyphyscale 400
> \getglyphstyled{Serif}{T}> choose a font here
> \egroup
> \scratchheight 2.75\ht\scratchbox
> \boxyoffset \scratchbox\scratchheight
> \boxorientation\scratchbox\plustwo
> \ht \scratc
ight
\box\scratchbox
\egroup
\stopsetups
\definesymbol
[iTee]
[\directsetup{glyph:iTee}]
\startTEXpage [offset=1ts,width=2cm]
\ruledhbox {\tfx T \symbol{iTee}} \par
\ruledhbox {T \symbol{iTee}} \par
\ruledhbox {\tfa T \symbol{iTee}} \par
\ruledhbox {\bfd T \symbol{iTee}}
\stopTEXpage
Great, will study
tchbox\scratchheight
\box\scratchbox
\egroup
\stopsetups
\definesymbol
[iTee]
[\directsetup{glyph:iTee}]
\startTEXpage [offset=1ts,width=2cm]
\ruledhbox {\tfx T \symbol{iTee}} \par
\ruledhbox {T \symbol{iTee}} \par
\ruledhbox {\tfa T \symbol{iTee}} \par
\ruledhbox
\definesymbol[Tee][\getglyph{times}{T}]
\symbol[Tee]est \tfx \symbol[Tee]est \tfa \symbol[Tee]est
\stopTEXpage
In this example, \tfa does scale the symbol Tee. But \tfx does not scale the
symbol!
Why does \tfa (or higher such as \tfb etc.) work, but not \tfx (or lower)?
III. The best approach would
welcome. My MWE:
\setuppapersize[S6]
\startuseMPgraphic{itemize:toc}
save p; path p;
p := ( (0,-0.5)--(0,0.5)--(0.866,0)--cycle ) scaled 1.5ExHeight;
fill p withcolor \MPcolor{Black};
\stopuseMPgraphic
\definesymbol[itemize:toc][\useMPgraphic{itemize:toc}]
\definelistalternative
[toclist
In https://wiki.contextgarden.net/Enumerations there is this example:
%
\setupwhitespace[big]
\definesymbol[1][$\triangleright$]
\startcolumns
{\bf joinedup:}\par before \startitemize[joinedup]
\item
pinteraction[state=start]
>
> \definesymbol[yes][{\externalfigure[check-mark-svgrepo-com.svg][conversion=mp]}]
> \definesymbol[no][]
>
> \newcount\chk
> \def\checkmark{%
> \global\advance\chk by 1
> \setupfield[setup1][width=0.5cm, height=0.5cm,rulethickness=1pt,
> co
On 5/24/22 10:18, Jan-Erik Hägglöf via ntg-context wrote:
> HI Again!
>
> I discovered what went wrong, such a silly syntax error, here comes a
> working code:
Hi Jan-Erik,
this will also make it:
\setupinteraction[state=start]
\definesymbol [yes] [{\externalfigure[on.svg][c
HI Again!
I discovered what went wrong, such a silly syntax error, here comes a working
code:
\setupinteraction[state=start]
\definesymbol[yes][{\externalfigure[check-mark-svgrepo-com.svg][conversion=mp]}]
\definesymbol[no][]
\newcount\chk
\def\checkmark{%
\global\advance\chk by 1
\setupfield
I’ve tried this
\setupinteraction[state=start]
\definesymbol[yes][{\externalfigure[check-mark-svgrepo-com.svg][conversion=mp]}]
\definesymbol[no][]
\newcount\chk
\def\chk{%
\global \advance \chk by 1
\setupfield[setup1][width=0.5cm, height=0.5cm,rulethickness=1pt, corner=round,
framecolor=red
HI!Tried to make a checklist in an interactive document.The problem seems to be that all checks/uncecks in same click, not each individually.Is there something wrong with my code?See attached below\setupinteraction[state=start]\setupexternalfigures[location=global]\usemodule[fields]\definesymbol
So far I accomplished this but problem is that when I check it checks all, not
individually.
\setupinteraction[state=start]
\setupexternalfigures[location=global]
\definesymbol [yes]
[{\externalfigure[check-mark-svgrepo-com.svg][conversion=mp]}]
\definesymbol [no] []
\setupfield
[setup 3
]
\definesymbol [yes] [{\externalfigure[mp-cont.502]}]
\definesymbol [no] []
\setupfield
[setup 3]
[width=2cm, height=2cm,
rulethickness=3pt, corner=round, framecolor=red]
\definefield [check-me] [check] [setup 3] [yes,no] [no]
\starttext
\field[check-me]
\stoptext
> 20 maj 2022 kl. 12:28 skrev Henn
be
> defining them, so the settings from one type don't spill over into the other
> types?
> --Joel
>
> %prompt
>
> \definesymbol[bighand][{{☞}}]
>
> \define[1]\prompt{%
> \setupitemize[symbol=bighand]
> \startitemize
> {\it #1}
> \stopitemize
%prompt
\definesymbol[bighand][{{☞}}]
\define[1]\prompt{%
\setupitemize[symbol=bighand]
\startitemize
{\it #1}
\stopitemize
}%
\prompt{What did you learn about today?}
%vocabulary
\startcolumns[n=3]\startitemize[n]
\item word1
\item word2
\item word3
\stopitemize\stopcolumns
?
\definefontsynonym [bends] [file:manfnt.afm]
\startsymbolset [Dangerous Bends]
\definesymbol [dbend] [\resolvedglyphdirect{bends}{n:char_7e}]
\definesymbol [lhdbend] [\resolvedglyphdirect{bends}{n:char_7f}]
\stopsymbolset
\setupsymbolset [Dangerous Bends]
\starttext
\symbol{dbend}\quad
Bends]
\definesymbol [dbend] [\resolvedglyphdirect{bends}{n:char_7e}]
\definesymbol [lhdbend] [\resolvedglyphdirect{bends}{n:char_7f}]
\stopsymbolset
\setupsymbolset [Dangerous Bends]
\starttext
\symbol{dbend}\quad \symbol{lhdbend}
\stoptext
Thanks
Benjamin
t time that the
>> > definition of the symbol for the Brazilian flag is used, but no problem
>> > when the definition for the flag of Portugal is used or even when the
>> > symbol for the Brazilian flag is used a second time. How to correct
>> this
>> > behavior
his
> > behavior?
> >
> > MWE:
> >
> > \definefontfeature[colored][colr=yes]
> > \definefontsynonym[flags][file:BabelStoneFlagsDual.ttf*colored at 7pt]
> > \definesymbol[BR][\getglyphdirect{flags}{\char"F0023}]
> > \definesymbol[PT][\getglyph
zilian flag is used a second time. How to correct this
behavior?
MWE:
\definefontfeature[colored][colr=yes]
\definefontsynonym[flags][file:BabelStoneFlagsDual.ttf*colored at 7pt]
\definesymbol[BR][\getglyphdirect{flags}{\char"F0023}]
\definesymbol[PT][\getglyphdirect{flags}{\char"F00
][file:BabelStoneFlagsDual.ttf*colored at 7pt]
\definesymbol[BR][\getglyphdirect{flags}{\char"F0023}]
\definesymbol[PT][\getglyphdirect{flags}{\char"F00A1}]
\starttext
Brasil \symbol[BR]
Portugal \symbol[PT]
Brasil \symbol[BR]
\stoptext
--
Todas as coisas fatigam o corpo, salvo a música, que não fa
diSymbolBold] [wasyb10]
% \def\wasy@over#1#2{{\setbox0\hbox{$#2$}\hbox to
\wd0{\hss$#1$\hss}\kern-\wd0\box0}}
\def\WaldiSymbol {\getnamedglyphdirect{WaldiSymbol}} % #1
\def\WaldiSymbol#1{\getglyph{WaldiSymbol}{\fontchar{#1}}}
% general symbols
\startsymbolset [wasy general]
,0) -- (\MPvar{width},\MPvar{height}) ;
)
withpen pencircle scaled \MPvar{line}
withcolor \MPvar{color} ;
\stopuniqueMPgraphic
\definesymbol
[MyRedCross]
[\uniqueMPgraphic{cross}{width=1em,height=1ex,depth=.5ex,color=red,line=.2ex}]
\definesymbol
[MyGreenCross]
[\uni
context.stopxcell()
> for j=1,n do
> context.startxcell { align = "middle" }
> action(string.sub(pattern[i],j,j))
> context.stopxcell()
> end
>
end
\stopluacode
\startuniqueMPgraphic{cross}{width,height,depth,color,line}
draw image (
draw (\MPvar{depth},\MPvar{height}) -- (\MPvar{width},0) ;
draw (\MPvar{depth},0) -- (\MPvar{width},\MPvar{height}) ;
)
withpen pencircle scaled \MPvar{line}
withcolor \MPv
\hfill\symbol[star]\hfill\symbol[star]\hfill\symbol[star]\hfill\
hfill\strut
> }}
\definesymbol
[starbreak]
[\maxaligned\bgroup
\hfill\hfill
\strut\symbol{star}\hfill\symbol{star}\hfill\symbol{star}%
\hfill\hfill
\egroup]
\definefancybreak
\strut
}}
\definesymbol
[starbreak]
[\maxaligned\bgroup
\hfill\hfill
\strut\symbol{star}\hfill\symbol{star}\hfill\symbol{star}%
\hfill\hfill
\egroup]
\definefancybreak [starbreak] [symbol=starbreak]
Wolfgang
the
break should be, as shown in the included snips.
\usemodule [fancybreak]
\definesymbol [asterisms][*\qquad fancybreak\qquad *]
\setupfancybreak[indentnext=no,symbol=asterisms]
\starttext
Before
\fancybreak
After
\stoptext
MkIV output:
LMTX output
nts/Phaistos.otf usedmethod=direct
However, the glyph is not displayed in the pdf. I've tried both in MKIV and
LMTX with no luck. Maybe someone here will have a clue.
MWE:
%%
\definesymbol[arbol]
[\getnamedglyphdirect{phaistos}{u101F2}]
\starttext
\switchtobodyfont[72pt]
\sym
\definesymbol[Fin][\mathematics{\square}]
\def\qed{%
\ifmmode
\inrightmargin{\hskip-7.5mm\symbol[Fin]} % --> attention here
\else
\dontleavehmode\wordright{\symbol[Fin]}
\fi}
\setupformulas[location=left]
\starttext
One s
Fabrice Couvreur schrieb am 05.08.2020 um 19:33:
Hello,
I also use a square to complete a demonstration. I tried this without
success
Thank you
Fabrice
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\strut\wordright{\symbol[Fin]}}
\defineenumeration
[proof]
[...,
closesymbol
Hello,
I also use a square to complete a demonstration. I tried this without
success
Thank you
Fabrice
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\strut\wordright{\symbol[Fin]}}
\defineenumeration
[proof]
[text=Démonstration,
alternative=serried,
distance=\zeropoint,
number
-qed.tex
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\ifmmode\quad\symbol[Fin]\else\strut\wordright{\symbol[Fin]}\fi}
\starttext
\startformula
a^2 + b^2 = c^2.
\stopformula
\startformula
a^2 + b^2 = c^2. \qed
\stopformula
One sees that\type{\qed} in the formula changes the alignment
seems to be \wordright, but
although the following minimal example shows a bug it does not produce the same
ERROR output page:
the square ''end of proof''
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\wordright{\symbol[Fin]}}
\starttext
\startformula
a^2 + b^2 = c^2
\stopformula
\qed
the following minimal example shows a bug it does not produce the same
ERROR output page:
the square ''end of proof''
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\wordright{\symbol[Fin]}}
\starttext
\startformula
a^2 + b^2 = c^2
\stopformula
\qed % the problem is here
\stoptext
I've tried the following from the manuals and adapted some code to see if
it works:
1.
\definefontfeature[svg][svg=yes]
\definefontsynonym[Emoji][file:emojionecolor-svginot.ttf*default,svg]
\definesymbol[bug][\getglyphdirect{Emoji}{\char"1F41B}]
\starttext
\symbol[bug]
\stoptext
The emoj
checks if the applies keywords include
> the name of a symbol (something you create with \definesymbol) or the name of
> a number conversion (something you create with \defineconversion) and applies
> it to the current entry.
>
> This check also you to create
the symbol for
the bullets or use numbers instead ConTeXt checks if the applies
keywords include the name of a symbol (something you create with
\definesymbol) or the name of a number conversion (something you create
with \defineconversion) and applies it to the current entry.
This check also you
t file ---
\setupinteraction
[state=start]
\definesymbol[yes][1]
\definesymbol[nop][0]
\setupfield[whatever][width=20mm,height=20mm,frame=off]
\definefield[what][radio][whatever][whatone,whattwo][whatone]
\definesubfield[whatone][][yes,nop]
\definesubfield[whattwo][][yes,nop]
\startuniqueMPgra
\setupinteraction
[state=start]
\definesymbol[yes][1]
\definesymbol[nop][0]
\setupfield[whatever][width=20mm,height=20mm,frame=off]
\definefield[what][radio][whatever][whatone,whattwo][whatone]
\definesubfield[whatone][][yes,nop]
\definesubfield[whattwo][][yes,nop]
\setupfield[textstuff
numeration.
\definesymbol
[taco]
[{\inframed[frame=off,width=2em,align=flushleft]{\textbullet}}]
\starttext
\samplefile{zapf}
\startitemize[text][symbol=taco]
\item \samplefile{weisman}\par
\startitemize
\item \samplefile{ward}\par
\stopitemize
\stopitemize
\stoptext
Hi Taco,
\start
\definesymbol[mystar][\llap{\symbol{star}\hskip10mm}]
\setupitemgroup[itemize][intext,mystar]
\setupitemgroup[itemize][leftmargin=15mm,rightmargin=5mm]
\setupitemgroup[itemize][width=2cm,distance=-25mm]
\startitemize
\startitem
Hi Fabrice,
You can define your own symbol, as in the following:
\starttext
\definesymbol[mysymbol][{$\red\blacklozenge$}]
\definesymbol[redtriangle][{$\red\blacktriangleright$}]
\startitemize[mysymbol]
\item foo
\item bar
\item baz
\stopitemize
\startitemize[redtriangle
]
[list={name,phone,email,date}]
\setupletterlayer
[address]
[y=55mm]
\setupletterdescription
[enclosure]
[location=top,
leftmargin=0.5em,
symbol=#1,]
\usesymbols
[mvs]
\definesymbol
[1]
[{\symbol[martinvogel 2][PointingHand]}]
\setupletter
[toname={John Doe},
toaddress={201
,
symbol=#1,]
\usesymbols[mvs]
\definesymbol[1][{\symbol[martinvogel 2][PointingHand]}]
\setupletter
[toname={John Doe},
toaddress={201, Main Street\\23124 London\\United Kingdom},
fromname={Jansen NV},
fromaddress={Waalhaven 2200\\2842 KL Rotterdam},
name={Piet jansen},
phone={+31(010
string works as advertised.
Regards
dh
start of contxt source
\definesymbol[5][$\diamond$]
\starttext
\setupitemgroup[itemize][each][packed][before=\underbar{mae-da
},after=\underbar{ato-da}] % WORKS
\setupitemgroup[itemize][each][ ][symbol=5
dh
start of contxt source
\definesymbol[5][$\diamond$]
\starttext
\setupitemgroup[itemize][each][packed][before=\underbar{mae-da
},after=\underbar{ato-da}] % WORKS
\setupitemgroup[itemize][each][ ][symbol=5]%
WORKS
\definesymbol[e-mail][\getglyphdirect{FontAwesome}{\number"F003}]
\definesymbol[phone][\getglyphdirect{FontAwesome}{\number"F095}]
\starttext
\symbol[e-mail] someone@somewhere
\symbol[phone] your number
\stoptext
Fonts Awesome: https://fonta
g (given by one of our gurus and dating back to sevral years)
>> works fine in mkii, but I don’t know how to translate it in mkiv…
>> %%% begin dangerous-bend.tex
>> \loadmapfile [manfnt.map]
>> \definefontsynonym [bends] [manfnt]
>> \def\GetSym#1{\getglyph{bends}{\char
…
%%% begin dangerous-bend.tex
\loadmapfile [manfnt.map]
\definefontsynonym [bends] [manfnt]
\def\GetSym#1{\getglyph{bends}{\char#1}}
\startsymbolset [Dangerous Bends]
\definesymbol [dbend] [\GetSym{127}]
\definesymbol [lhdbend] [\GetSym{126}]
\stopsymbolset
\setupsymbolset [Dangerous
[manfnt.map]
\definefontsynonym [bends] [manfnt]
\def\GetSym#1{\getglyph{bends}{\char#1}}
\startsymbolset [Dangerous Bends]
\definesymbol [dbend] [\GetSym{127}]
\definesymbol [lhdbend] [\GetSym{126}]
\stopsymbolset
\setupsymbolset [Dangerous Bends]
\setupbodyfont[manfnt]
\starttext
>> i managed to get the ornaments from Linux Libertine by using a rather
>> low-level command
>>
>> \definesymbol
>> [leaf]
>> [\getnamedglyphdirect
>> {kad}
>> {ampersand.alt}]
>>
>>
>> But for other
On 5/8/2017 12:20 AM, kaddour kardio wrote:
i managed to get the ornaments from Linux Libertine by using a rather
low-level command
\definesymbol
[leaf]
[\getnamedglyphdirect
{kad}
{ampersand.alt}]
But for other symbols i have to use another command like
i managed to get the ornaments from Linux Libertine by using a rather
low-level command
\definesymbol
> [leaf]
> [\getnamedglyphdirect
> {kad}
> {ampersand.alt}]
But for other symbols i have to use another command like that:
\definesymbol[orn1][\getglyph{kad}{\char9753
;> \def\WebdingsSymbol#1{\getglyphstyled{Webdings}{\tochar{x:#1}}}
>>>
>>> \startsymbolset[webdings]
>>> \definesymbol [spider] [\WebdingsSymbol{f021}]
>>> \definesymbol [spiderweb] [\WebdingsSymbol{f022}]
>>> \definesymbol [sunglasses] [\WebdingsS
etglyphstyled{Webdings}{\tochar{x:#1}}}
>>
>> \startsymbolset[webdings]
>> \definesymbol [spider] [\WebdingsSymbol{f021}]
>> \definesymbol [spiderweb] [\WebdingsSymbol{f022}]
>> \definesymbol [sunglasses] [\WebdingsSymbol{f024}]
>> \definesymbol [award]
led{Webdings}{\tochar{x:#1}}}
\startsymbolset[webdings]
\definesymbol [spider] [\WebdingsSymbol{f021}]
\definesymbol [spiderweb] [\WebdingsSymbol{f022}]
\definesymbol [sunglasses] [\WebdingsSymbol{f024}]
\definesymbol [award] [\WebdingsSymbol{f026}]
\definesymbol [ribbon] [\WebdingsSymbol{f02d}]
\
]
\definesymbol[surf][\WebDingSymbol{surf}]
\definesymbol[motorcycle][\WebDingSymbol{motorcycle}]
\definesymbol[mountain][\WebDingSymbol{mountain}]
\definesymbol[art][\WebDingSymbol{art}]
\definesymbol[occasion][\WebDingSymbol{occasion}]
\stopsymbolset
\starttext
\tfc
\symbol[webding][surf]
\symbol
I’m trying to define a symbolset:
\definefontsynonym [Webdings] [file:Webdings.ttf]
\def\WebdingsSymbol#1{\getglyphstyled{Webdings}{\tochar{x:#1}}}
\startsymbolset[webdings]
\definesymbol [spider][\WebdingsSymbol{f021}]
\definesymbol [spiderweb][\WebdingsSymbol{f022
On 1/24/2017 8:01 PM, Rik Kabel wrote:
On 2017-01-24 03:34, Hans Hagen wrote:
On 1/24/2017 4:04 AM, Rik wrote:
What I want is that the background of the page (yellow in this case)
should show through. That is what is done with fill / reverse / cycle,
as in:
\setupbackgrounds
[page]
On 2017-01-24 03:34, Hans Hagen wrote:
On 1/24/2017 4:04 AM, Rik wrote:
What I want is that the background of the page (yellow in this case)
should show through. That is what is done with fill / reverse / cycle,
as in:
\setupbackgrounds
[page]
On 1/24/2017 4:04 AM, Rik wrote:
On 2017-01-23 14:09, Rik Kabel wrote:
On 2017-01-23 00:06, Alan Braslau wrote:
> On Sun, 22 Jan 2017 22:39:53 -0500 Rik Kabel > wrote:
> >> So, how can I make the
inner glyph (‘?’ in the example below) >> transparent, so that the
On 2017-01-23 14:09, Rik Kabel wrote:
On 2017-01-23 00:06, Alan Braslau wrote:
> On Sun, 22 Jan 2017 22:39:53 -0500 Rik Kabel > wrote: > >> So, how can I make the
inner glyph (‘?’ in the example below) >> transparent, so that the
background shows through along
On 2017-01-23 00:06, Alan Braslau wrote:
On Sun, 22 Jan 2017 22:39:53 -0500 Rik Kabel > wrote: > >> So, how can I make the
inner glyph (‘?’ in the example below) >> transparent, so that the
background shows through along with >> anything else that lives on a
On Sun, 22 Jan 2017 22:39:53 -0500
Rik Kabel wrote:
> So, how can I make the inner glyph (‘?’ in the example below)
> transparent, so that the background shows through along with anything
> else that lives on a lower layer? I’ve seen a method for constructed
>
to get options to center the glyphs from which
the symbol is assembled (separate horizontal and vertical, with the
ability to offset them)?
Is there a ConTeXt way other than \definesymbol to create such
combined symbols?
MetaPost (with textext())?
Thank you for that, Alan. I hadn’t ever used MetaPost
yphs from which
> the symbol is assembled (separate horizontal and vertical, with the
> ability to offset them)?
>
> Is there a ConTeXt way other than \definesymbol to create such
> combined symbols?
MetaPost (with textext())?
_
ConTeXters,
I have been using \definesymbol for a while, and for most purposes it
suffices. However, there is one thing that it does not do that perhaps
it should.
What it does not do is offer the option to center one glyph over another
(horizontally and/or vertically) when it should
agenumbering[location=]
> \setupfooter[style=small, color=colortwo]
> \setupfootertexts[][\userpagenumber/\lastuserpage]
>
> % Lists
> \startuseMPgraphic{itemize:main}
> save p; path p;
> p := fullcircle scaled 1.5ExHeight;
> fill p withcolor \MPcolor{colorfive};
> \stopu
ze:main}
save p; path p;
p := fullcircle scaled 1.5ExHeight;
fill p withcolor \MPcolor{colorfive};
\stopuseMPgraphic
\startuseMPgraphic{itemize:nested}
save p; path p;
p := ((0,-0.5)--(0,0.5)--(0.866,0)--cycle) scaled 1.5ExHeight;
fill p withcolor \MPcolor{colorfive};
\stopuseMPgraphic
\
Thanks Wolfgang for pointing the direction.
My effort so far gave the following:
\setuppapersize[S4][S4]\setupinteraction[state=start,click=no]
\definefield
[Choice][radio][ChoiceSetup] [yes,no]
\definesymbol [YesS] [Y] %[\ding{52},color=red] %% Not successful in getting
the symbols I
]
% \definefont[Emoj][file:seguiemj.ttf*default,colored]
\definesymbol[bug1][\getglyphdirect{file:emojionecolor-svginot.ttf*svg}{\char"1F41B}]
\definesymbol[bug2][\getglyphdirect{file:seguiemj.ttf*colored}
{\char"1F41B}]
\startTEXpage [width=10em,align=middle,offset=1em]
There a
\definesymbol[box3mm][{\useMPgraphic{box3mm_filled}}]
\starttext
\dontleavehmode\symbol[box3mm] 1
\stoptext
Thank you for your speedy replies!
Mari
On Thu, May 19, 2016 at 2:08 PM, Wolfgang Schuster
<schuster.wolfg...@gmail.com> wrote:
> Mari Voipio
> 19. Mai 2016 um 12:45
> On Thu, Ma
Lower your graphic because it has margins around the lines which
positions it too high.
\definesymbol[box3mm][{\offset[y=.25ex]{\externalfigure[box3mm]}}]
\starttext
\dontleavehmode\symbol[box3mm] 1
\stoptext
2. Use a box symbol which sits lower on the baseline.
\starttext
\dontleav
{v_strc_itemgroups_counter}]
\definesymbol[fuzzy][{\framed[location=depth, frame=off,
strut=no]{\usevisualcounter{fuzzyitem}}}]
\setuphead [part]
[command=\ChapterCommand,
page=yes,
textstyle=\ss,
sectionresetset=,
number=no,
placehead=yes,
fi;
endgroup;
\stopuseMPgraphic
\protect
\definevisualcounter
[fuzzyitem]
[randomcircle]
[counter=\getvalue{v_strc_itemgroups_counter}]
You can set the counter for the enumeration with
[counter=itemgroup:itemize]
\definesymbol[fuzzy][{\framed[location=depth, frame=off,
strut=no]{\usevisualcounter{
andomized
> (diameter/20);
>
> pickup pencircle scaled \visualcounterparameter\c!rulethickness ;
> fill randomcircle withcolor green; % Can be made configurable
> label (countertext, origin);
>
>
> fi;
> endgroup;
> \stopuseMPgraphic
> \protect
>
&g
at=flowed
>
> On 1/10/2016 5:01 PM, Wolfgang Schuster wrote:
>> Hi Hans,
>>
>> the fieldstack mechanism doesn’t work anymore.
>>
>> \setupinteraction[state=start]
>>
>> \starttext \showframe
>>
>> \definesymbol[frame-1][\tt 1]
>>
On 1/10/2016 5:01 PM, Wolfgang Schuster wrote:
Hi Hans,
the fieldstack mechanism doesn’t work anymore.
\setupinteraction[state=start]
\starttext \showframe
\definesymbol[frame-1][\tt 1]
\definesymbol[frame-2][\tt 2]
\definesymbol[frame-3][\tt 3]
\definefieldstack[frame][frame-1,frame-2
Hi Hans,
the fieldstack mechanism doesn’t work anymore.
\setupinteraction[state=start]
\starttext \showframe
\definesymbol[frame-1][\tt 1]
\definesymbol[frame-2][\tt 2]
\definesymbol[frame-3][\tt 3]
\definefieldstack[frame][frame-1,frame-2,frame-3]
\placeontopofeachother
{\framed[strut
On 11/29/2015 5:55 PM, Kate F wrote:
Hi,
I'm defining a slightly smaller bullet point symbol:
\definesymbol[smallbullet][\small\bullet]
\setupitemize[1][smallbullet]
This aligns the smaller bullet point to the baseline of text, which is
too low. I'd like to have it vertically centered
On 29 November 2015 at 17:51, Hans Hagen <pra...@wxs.nl> wrote:
> On 11/29/2015 5:55 PM, Kate F wrote:
>>
>> Hi,
>>
>> I'm defining a slightly smaller bullet point symbol:
>>
>> \definesymbol[smallbullet][\small\bullet]
>> \setupitemize[1
Hi,
I'm defining a slightly smaller bullet point symbol:
\definesymbol[smallbullet][\small\bullet]
\setupitemize[1][smallbullet]
This aligns the smaller bullet point to the baseline of text, which is
too low. I'd like to have it vertically centered, such that it aligns
in the middle of where
On 11/29/2015 7:33 PM, Kate F wrote:
On 29 November 2015 at 17:51, Hans Hagen <pra...@wxs.nl> wrote:
On 11/29/2015 5:55 PM, Kate F wrote:
Hi,
I'm defining a slightly smaller bullet point symbol:
\definesymbol[smallbullet][\small\bullet]
\setupitemize[1][smallbullet]
This
, then the first symbol in itemize environment gets covered by the
background. Here's an example:
\usemodule
[tikz]
\definesymbol[1]
[{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]
\definecolor
[backcol]
[s=1,a=1,t=0.1]
\starttext
\startframedtext[width=4cm
[tikz]
\definesymbol[1]
[{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]
\definecolor
[backcol]
[s=1,a=1,t=0.1]
\starttext
\startframedtext[width=4cm,background=color,backgroundcolor=backcol]
\startitemize
\item one
\item two
\item three
\stopitemize
by the
background. Here's an example:
\usemodule
[tikz]
\definesymbol[1]
[{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]
\definecolor
[backcol]
[s=1,a=1,t=0.1]
\starttext
\startframedtext[width=4cm,background=color,backgroundcolor=backcol]
\startitemize
\item one
, then the first symbol in itemize environment gets covered by the
background. Here's an example:
\usemodule
[tikz]
\definesymbol[1]
[{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]
\definecolor
[backcol]
[s=1,a=1,t=0.1]
\starttext
\startframedtext[width=4cm
symbol and additionally use background
text, then the first symbol in itemize environment gets covered by the
background. Here's an example:
\usemodule
[tikz]
\definesymbol[1]
[{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]
\definecolor
[backcol]
[s=1,a=1,t=0.1
by the
background. Here's an example:
\usemodule
[tikz]
\definesymbol[1]
[{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]
\startreusableMPgraphic{bullet}
fill fullcircle
scaled (1EmWidth)
withshademethod circular
withcolor red shadedinto blue
On Thu, Jun 11, 2015 at 11:12 PM, Hans Hagen wrote:
On 6/11/2015 7:27 PM, Mojca Miklavec wrote:
\usemodule
[tikz]
\definesymbol[1]
[{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]
\startreusableMPgraphic{bullet}
fill fullcircle
scaled (1EmWidth
On 6/12/2015 12:28 AM, Mojca Miklavec wrote:
On Thu, Jun 11, 2015 at 11:12 PM, Hans Hagen wrote:
On 6/11/2015 7:27 PM, Mojca Miklavec wrote:
\usemodule
[tikz]
\definesymbol[1]
[{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]
\startreusableMPgraphic{bullet
for
check boxes?
Here is a minimal example:
-
\definesymbol[5]{\bigsquare}
\starttext
This is a big square: \bigsquare
\startitemize[5]
\item Choice a does not have a check box.
\item Choice b also does not have a check box.
\item Not really a choice
1 - 100 of 318 matches
Mail list logo