[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
aufzuschreiben.” \blank \startnarrower[left, right] Der\hspace[oneem] Wert \hspace[oneem] von \hspace[oneem] \m{y = f(x)} ist unabhängig von der Wahl von \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} (Beutelspacher [10, S.54]) \blank \stopnarrower \stopmyBG \blank \blackrule

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
][0.5em] Der\hspace[oneem] Wert\hspace[oneem] von\hspace[oneem] \m{y = f(x)} ist unabhängig von der Wahl\\ von \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \\ (Beutelspacher [10, S.54])\par \blank \stopnarrower \stopGrayBackground \blank \blackrule[color=black, height=0.10ex, width

[NTG-context] Re: Works now! At Work, and a question to paragraphs in an Theorem

2024-02-27 Thread Pablo Rodriguez via ntg-context
s, it would be better to nest commands (\starttext before \startparagraph). > [...] > So this is the example. What I like to do: The first paragraph should be > normal written, but the second one should have more space between the > words. Because of Math: Is \hspace the right wa

[NTG-context] Works now! At Work, and a question to paragraphs in an Theorem

2024-02-27 Thread Ursula Hermann
: The first paragraph should be normal written, but the second one should have more space between the words. Because of Math: Is \hspace the right way? The right command? And using \startnarrower, \stopnarrower? Many thanks Uschi

[NTG-context] Custom TOC with makeup and setups

2023-05-10 Thread Jethro Djan via ntg-context
=off, align=normal, offset=none, ] \startsetups list:toclist {\hbox to \hsize \bgroup \hspace[tspace] \framed[width=10mm,align=flushleft]{\symbol[itemize:toc]}% \framed[empty=yes]{\currentlistentrynumber\currentlistentrypagenumber}% \doifelse\currentlistentrylocation

Re: [NTG-context] horizontal space in CJK document

2023-02-22 Thread 李延瑞
Sylvain Hubert via ntg-context 于2023年2月21日周二 03:43写道: > > Dear list, > > Does anyone know how to insert a horizontal space in a CJK document with > \setscript[hanzi]? > > \setscript[hanzi] > \definefontfamily[mainface][rm][notoserifcjkhk][] > \setupbodyfont[mainface] &

Re: [NTG-context] horizontal space in CJK document

2023-02-21 Thread Sylvain Hubert via ntg-context
Thanks, but I guess the space width would be fixed. I just found a hack: 口口\hspace[big]\hbox{}口口 does the trick. On Tue, 21 Feb 2023 at 06:46, fv leung via ntg-context wrote: > Maybe the ideographic space U+3000 works. > > 在 2023年2月21日週二 03:42,Sylvain Hubert via ntg-context > 寫

Re: [NTG-context] horizontal space in CJK document

2023-02-20 Thread fv leung via ntg-context
e][rm][notoserifcjkhk][] > \setupbodyfont[mainface] > \starttext > 口口\hspace[big]口口 % with \setscript[hanzi], the \hspace is ignored > > \dorecurse{100}{口} % without \setscript[hanzi], the line is not properly > wrapped

[NTG-context] horizontal space in CJK document

2023-02-20 Thread 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][] \setupbodyfont[mainface] \starttext 口口\hspace[big]口口 % with \setscript[hanzi], the \hspace is ignored \dorecurse{100}{口

[NTG-context] Formula has excess vertical spacing when in two column itemize

2022-10-21 Thread Gavin via ntg-context
, columns, two, nowhite, after] \item\hspace[big] $\frac{d}{dx} x^2$ This is where the solution should be. Text answers look fine, but formulas have too much space above, below and between lines\dots. \item\hspace[big] $\frac{d}{dx}\left( x^3 + 2x \right)$ \item\hspace[big] $\frac{d}{dx}\left( x^{-2

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread śrīrāma via ntg-context
6-65\\ Email: dolin...@gmail.com}}} {\rightaligned{\framedtext[location=top,frame=off,width=fit,offset=0ex]{% Булевар Краља Александра 334, 11000 Београд\\ 011\hspace[tnumber]3806\hspace[tnumber]007\\ 011\hspace[tnumber]3820\hspace[tnumber]457\\ 011\hspace[tnumber]2419\

[NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
\startsetups headertext \start \bTABLE[setups=headertable,option=stretch] \bTR \bTD „ДОЛИНА” Д.О.О. Београд\\ ПЈ за прераду меса\\ ПИБ: СР 100029284\\ МБ: 06434517\\ Текући рачун: 205-157956-65\\ Email: dolin...@gmail.com \eTD \bTD Булевар Краља Александра 334, 11000 Београд\\ 011\hspace[tnumber]3806

[NTG-context] $\sin \theta$ behave differently in metafun

2022-04-15 Thread Jeong Dal via ntg-context
uce's homebrew was installed on an >> earlier version. > > Ah, I'm on an Intel Mac which still uses the old approach. Apologies for the > red herring. > >> Thanks to Luis and Bruce for their suggestions. >> Best Wishes >> Keith McKay > > — > Bru

Re: [NTG-context] Proper formatting of itemized bullets in ConTeXt

2022-04-12 Thread śrīrāma via ntg-context
s to use \citem (comma item) and \pitem (period > item) as required. cleaned up the example – %% start example \def\citem{\item\AfterPar{\hspace[-normal],}\GetPar} \def\pitem{\item\AfterPar{\hspace[-normal].}\GetPar} \defineitemgroup [pitemize] [command=\Word] \starttext

Re: [NTG-context] Proper formatting of itemized bullets in ConTeXt

2022-04-12 Thread śrīrāma via ntg-context
• neither lose the nice features of \setupitemgroup • nor do we need grouping of the items. The only 'price to pay' is to use \citem (comma item) and \pitem (period item) as required. %% start example \def\citem{\item\AfterPar{\hspace[-normal],}\GetPar} \def\pitem{\item\AfterPar{\hspace[-norm

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-24 Thread Eduardo Bohoyo
,flushright,nothyphenated] \blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]} \blank[0.1cm,force]{\tfa\em The Canterbury Tales \hspace[big]} \stopalignment \stopmakeup You can add this to cont-new.mkxl (assuming lmtx) \unprotect \permanent\tolerant\protected\def\flushinitial

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-23 Thread Hans Hagen
que  podáis,  elegid  entre  las dos  situaciones  a  voluntad; yo,  por  mi  parte, continuaré como he empezado. \stopalignment \startalignment[hanging,flushright,nothyphenated] \blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]} \blank[0.1cm,force]{\tfa\em The Canterbury Tales \hspace

[NTG-context] Special layouts don't recognise placeinitial

2021-05-22 Thread Eduardo Bohoyo
  situaciones  a  voluntad; yo,  por  mi  parte, continuaré como he empezado. \stopalignment \startalignment[hanging,flushright,nothyphenated] \blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]} \blank[0.1cm,force]{\tfa\em The Canterbury Tales \hspace[big]} \stopalignment \stopmakeup Eduardo

[NTG-context] correct vertical alignment in ToC

2020-09-29 Thread jbf
is a \section and I have got that more or less to line up by using an \hspace definition, but I know that using two very different definitions is likely to cause problems. (Alternatively, they could all line up under the title for Chapter One, so a bit further in. What *has to happen* is that they all

[NTG-context] Formatting in toc

2019-11-11 Thread Calum MacLeod
This morning, I realised what I needed to do, and it works. Before \starttext put: \define[2]\hymn{\bf Hymn #1 \hspace[big] \it #2}\par} After \starttext put stuff like \hymn{34}{We three kings} or \hymn{10}{In the bleak midwinter} etc. This does near enough what I am after: creates

[NTG-context] Formatting in the toc

2019-11-09 Thread Calum MacLeod
, and different first line, but it would auto-formatted the way I want. That command is constructed in the preamble in the following way: \newcommand{\hymn}[3][Hymn]{\addsec{\rlap{\textbf{#1 #2}}\hspace}{7em}{\normalfont\small\textit{#3} }}} This places a specific gap between the hymn number and the first

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
Thanks ! Le dim. 3 nov. 2019 à 22:54, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > Fabrice Couvreur schrieb am 03.11.2019 um 22:46: > > Hi Wolfgang, > I know it takes a predefined argument, but I wanted to quote the name of > the command as such \h

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 03.11.2019 um 22:46: Hi Wolfgang, I know it takes a predefined argument, but I wanted to quote the name of the command as such  \hspace[]. Nevertheless, it does not work with this : \usecolors[xwi] \starttext \startframedtext[width=fit,frame=off,  background=color

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
Hi Wolfgang, I know it takes a predefined argument, but I wanted to quote the name of the command as such \hspace[]. Nevertheless, it does not work with this : \usecolors[xwi] \starttext \startframedtext[width=fit,frame=off, background=color,backgroundcolor=paleturquoise] {\it lancers

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 03.11.2019 um 10:56: Hello, The \hspace [ ] command has no effect in an environment framedtext. Why ? The \hspace command expects a named/predefined argument, e.g. \hspace[small] and all unknown names result in a horizontal skip of 0pt. Wolfgang

[NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
Hello, The \hspace [ ] command has no effect in an environment framedtext. Why ? Thank you. Fabrice \usecolors[xwi] \starttext \startframedtext[width=fit,frame=off, background=color,backgroundcolor=paleturquoise] {\it lancers}\unknown {\it dé}\unknown Tant que {\it dé}\unknown Faire \hspace

Re: [NTG-context] notes in the margin

2019-10-04 Thread Henning Hraban Ramm
> 3. The counter introduces some horizontal space that I cant manage to remove > except by introducing manual negative \hspace. The MWE doesn't include that > space, to display the isse. > 4. There are probably a ton of issues I have not thought about, but this > seems to wor

Re: [NTG-context] notes in the margin

2019-10-03 Thread Andres Conrado Montoya
, it should be easy to make it work as an optional third argument, for example. 3. The counter introduces some horizontal space that I cant manage to remove except by introducing manual negative \hspace. The MWE doesn't include that space, to display the isse. 4. There are probably a ton of issues I have

Re: [NTG-context] \startnarrower

2018-12-20 Thread Wolfgang Schuster
] [leftmargin=2em, rightmargin=0pt, location=paragraph, left={\dontleavehmode\hspace[outdent]}] \showframe [text] [text] \starttext \startdelimitedtext [narrowtext] This is a text meant to make a long paragraph such that it stretches over more than one line when typeset for example

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
ection] [alternative=margintext, color=white, style=\tfxx, before=, after=, commandafter={\setupparagraphintro[first] [{{\bf \getmarking[sectionnumber][current] \hspace[big]}}]}] \setuphead[subs

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Pablo Rodriguez
native=margintext, color=white, style=\tfxx, before=, after=, commandafter={\setupparagraphintro[first] [{{\bf \getmarking[sectionnumber][current] \hspace[big]}}]}] \setuphead[subsection] [commandafter={\setupp

Re: [NTG-context] methods for numbered paragraphs

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Wolfgang, On Sun, 06 Aug 2017 03:09:16 -0600, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: \setupwhitespace[big] \definelabel[ParagraphNumber][text=Paragraph,closesymbol={\hspace[big]}] \setupparagraphintro[each][\ParagraphNumber] \starttext \section{Section} \input ward

Re: [NTG-context] methods for numbered paragraphs

2017-08-06 Thread Wolfgang Schuster
ce[big] \definelabel[ParagraphNumber][text=Paragraph,closesymbol={\hspace[big]}] \setupparagraphintro[each][\ParagraphNumber] \starttext \section{Section} \input ward \input ward \input ward \stoptext Wolfgang ___ I

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-30 Thread Jan Tosovsky
On 2016-03-26 Hans Hagen wrote: > > I added final|2*final|3*final|4*final > > where final is a hspace of one em by default > > the only purpose of this feature is to ensure a gap at the end (handy > when there is no indentation) > Does this settings just set \

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-26 Thread Hans Hagen
is a hspace of one em by default the only purpose of this feature is to ensure a gap at the end (handy when there is no indentation) for your case i see no solution apart from heuristic lua magic Hans

Re: [NTG-context] Bussproofs or derivation trees

2014-09-05 Thread Trond Thorbjørnsen
\emspaceamount] \startformula \startalign \NC \borderdttop{\neg P \vdash \neg Q, P \text{\hspace[spacedt]}} \NC \borderdttop{ \hspace[spacedt] Q, \neg P \vdash \neg Q} \NR \NC \borderdt{(P\pil Q), \neg P} \NC \borderdt{\vdash \neg Q}\NR \NC \borderdt{(P\pil Q)} \NC \borderdt{\vdash (\neg P\pil

Re: [NTG-context] Remove left and right offset from nested frames?

2014-09-02 Thread Mica Semrick
\stopframed \hfill \startframed[frame=on,location=middle,align={flushright,nothyphenated,verytolerant}] 1234 Tree Ave. \#407, Beach City, CA 99876\\ (123) 456-7890 \hspace[medium] \symbol[bullet] \hspace[medium] \goto{m...@email.com}[url(mailto:m

Re: [NTG-context] Remove left and right offset from nested frames?

2014-08-31 Thread Wolfgang Schuster
, CA 99876\\ (123) 456-7890 \hspace[medium] \symbol[bullet] \hspace[medium] \goto{m...@email.com}[url(mailto:m...@email.com)] \stopframed \stopframed \stoptext Wolfgang ___ If your question

Re: [NTG-context] METAFUN+CONTEXT+CUSTOMIZE

2013-05-02 Thread Wolfgang Schuster
but the show how you can customize the heading and pagenumber. \define[2]\ChapterCommand {\startframed[frame=off,bottomframe=on,framecolor=orange,width=fit] #1\hspace[medium]#2 \stopframed} \setuphead[chapter][command=\ChapterCommand] \startuseMPgraphic{pagenumber} draw fullcircle

[NTG-context] METAFUN+CONTEXT+CUSTOMIZE

2013-05-02 Thread MANUEL GONZALEZ SUAREZ
quot;"> 15 16 \setuppagenumbering[command=\PagenumberCommand] 17 18 \starttext 19 \chapter{This is a chapter} 20 \stoptext \ChapterCommand ...\hspace [medium]#2 \stopframed \placestructureheadnum

Re: [NTG-context] METAFUN+CONTEXT+CUSTOMIZE

2013-05-02 Thread Wolfgang Schuster
Am 03.05.2013 um 00:45 schrieb MANUEL GONZALEZ SUAREZ gonzalezsman...@uniovi.es: I use TeXLive 2011 and I get the following error (the file name is custo.tex): Use this definition \define[2]\ChapterCommand {\framed [frame=off,bottomframe=on,framecolor=orange,width=fit] {#1\hspace

Re: [NTG-context] [***SPAM***] What am I doing wrong?

2013-03-19 Thread Wolfgang Schuster
of a paragraph but when you force horizontal mode with \dontleavehmode it works. \dontleavehmode\hskipdimension … 1.b: ConTeXt provides the \hspace command which can be used instead of \hskip. \definehspace[myspace][3em] \starttext \dontleavehmode\hspace[myspace] … \stoptext 2

Re: [NTG-context] Chapter headings macro

2013-02-08 Thread Wolfgang Schuster
at 60pt] \definecolor[ChaperNumberColor][x=d8dcd6] \startsetups[head:devendra] \startlinealignment[left] \startframed [frame=on, rulethickness=3pt, framecolor=ChaperNumberColor, foregroundcolor=ChaperNumberColor, corner=00] \hspace[big]\headnumbercontent

Re: [NTG-context] Chapter headings macro

2013-02-08 Thread Devendra Ghate
] \hspace[big]\headnumbercontent \stopframed \hspace[big] \startframed [width=.1\textwidth, strut=no, frame=on, align={flushleft,nothyphenated,verytolerant}] \headtextcontent \stopframed \stoplinealignment \stopsetups

[NTG-context] Chapter headings macro

2013-02-07 Thread Devendra Ghate
{% \starttable[|r|r|] \NC \framed [frame=on, rulethickness=3pt, framecolor=lightgrey, foreground=color, foregroundcolor=lightgrey, corner=00, align=right] {\hspace[big]{\dfont#1}} \NC \framed [width=.1\textwidth, strut=no, frame

[NTG-context] Indentation in TOC

2013-02-04 Thread Devendra Ghate
Hello, I am trying to indent my section/subsection etc. progressively. I am using *numbercommand* and added *hspace* before the numbers. But the section title is not moved to the right along with the section number and overlaps with it. I tried adding *loffset=2cm* (since all the options

Re: [NTG-context] Indentation in TOC

2013-02-04 Thread Wolfgang Schuster
Am 04.02.2013 um 21:11 schrieb Devendra Ghate devendra.gh...@gmail.com: Hello, I am trying to indent my section/subsection etc. progressively. I am using *numbercommand* and added *hspace* before the numbers. But the section title is not moved to the right along with the section number

Re: [NTG-context] Indentation in TOC

2013-02-04 Thread Devendra Ghate
On 02/05/2013 01:47 AM, Wolfgang Schuster wrote: Am 04.02.2013 um 21:11 schrieb Devendra Ghate devendra.gh...@gmail.com: Hello, I am trying to indent my section/subsection etc. progressively. I am using *numbercommand* and added *hspace* before the numbers. But the section title

[NTG-context] Figure captions in margin

2013-01-20 Thread Devendra Ghate
in the margin below the figure*. I have tried spacebefore=\vskip but it doesn't seem to do anything. Another option was to use default caption location (below the figure) and add \hspace before figure placement. None of these work as I am not able to make spacebefore do anything. *MWE* \setuplayout

Re: [NTG-context] making horizontal space in luacode.

2012-10-22 Thread Hans Hagen
On 22-10-2012 07:15, Aditya Mahajan wrote: On Mon, 22 Oct 2012, Jeong Dal wrote: Dear all, 1. I'd like to make a horizontal space using \hspace[3em] inside luacode. But context.hspace({3em}), context.hspace({3em}), context.hspace(3em) don't work. And print( ) doesn't work either. How

Re: [NTG-context] making horizontal space in luacode.

2012-10-22 Thread Jeong Dal
: 5084f851.7050...@wxs.nl Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 22-10-2012 07:15, Aditya Mahajan wrote: On Mon, 22 Oct 2012, Jeong Dal wrote: Dear all, 1. I'd like to make a horizontal space using \hspace[3em] inside luacode. But context.hspace({3em

[NTG-context] making horizontal space in luacode.

2012-10-21 Thread Jeong Dal
Dear all, 1. I'd like to make a horizontal space using \hspace[3em] inside luacode. But context.hspace({3em}), context.hspace({3em}), context.hspace(3em) don't work. And print( ) doesn't work either. How to make some horizontal space in luacode? 2. There is no white line even though I put

Re: [NTG-context] making horizontal space in luacode.

2012-10-21 Thread Aditya Mahajan
On Mon, 22 Oct 2012, Jeong Dal wrote: Dear all, 1. I'd like to make a horizontal space using \hspace[3em] inside luacode. But context.hspace({3em}), context.hspace({3em}), context.hspace(3em) don't work. And print( ) doesn't work either. How to make some horizontal space in luacode

[NTG-context] How to create horizontal line for signature?

2011-12-13 Thread Paul Menzel
Dear ConTeXt folks, sometimes you need to insert a line for signature. I could not find anything usefull especially `\underbar{\hspace[10*\big]}` [2] did not work. I ended up abusing `\framed` [3]. \starttext \startstandardmakeup[align=right] Alles rechtens. Everything

Re: [NTG-context] How to create horizontal line for signature?

2011-12-13 Thread Wolfgang Schuster
Am 13.12.2011 um 13:36 schrieb Paul Menzel: Dear ConTeXt folks, sometimes you need to insert a line for signature. I could not find anything usefull especially `\underbar{\hspace[10*\big]}` [2] did not work. I ended up abusing `\framed` [3]. \starttext

Re: [NTG-context] [solved] How to create horizontal line for signature?

2011-12-13 Thread Paul Menzel
Am Dienstag, den 13.12.2011, 13:49 +0100 schrieb Wolfgang Schuster: Am 13.12.2011 um 13:36 schrieb Paul Menzel: sometimes you need to insert a line for signature. I could not find anything usefull especially `\underbar{\hspace[10*\big]}` [2] did not work. I ended up abusing `\framed` [3

Re: [NTG-context] math signs in itemize

2011-09-25 Thread R. Ermers
=yes,align={normal,hyphenated}] \setupinteraction[style=] \define[2]\QuotationCommand { \setupindenting[no] \switchtobodyfont[arial,10pt] \textrule{#1}\blank \vfil\nobreak\penalty1\endgraf \startcolumns#2\stopcolumns \hspace \nobreak\penalty1000 \textrule } \definetypeface[braqqadocio][ss

Re: [NTG-context] \definelistplacement + margin

2011-02-27 Thread Wolfgang Schuster
? Use the “command” alternative. \define[3]\ChapterList {\inframed[width=broad]{#1\emspace#2\hfill#3}} % {\inframed[width=broad]{#1\hspace[big]#2\wordright{#3}}} \setuplist[chapter][alternative=command,command=\ChapterList] Wolfgang

Re: [NTG-context] \definelistplacement + margin

2011-02-27 Thread Andreas Harder
[section][margin=3em] and I can't get rid of it … Any hint? Use the “command” alternative. \define[3]\ChapterList {\inframed[width=broad]{#1\emspace#2\hfill#3}} % {\inframed[width=broad]{#1\hspace[big]#2\wordright{#3}}} \setuplist[chapter][alternative=command,command=\ChapterList] Hi

Re: [NTG-context] Unexpected indentation

2011-02-21 Thread Wolfgang Schuster
\leftskip and \rightskip which affects all lines. \hskip 2cm 9/99 Addr Line 1 Street\hfil\break \hskip 2cm Addr Line 2\hfil\break \hskip 2cm City\hfil\break \definehspace[address][2cm] \starttext \startpacked \hspace[address]...\par \hspace[address]...\par \stoppacked \stoptext Wolfgang

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Wolfgang Schuster
[#1]%' is wrong, but what should it be? Use the command in the correct way: \CheckBoxes[Yes, No, A little bit] \def\CheckBoxes[#1]% {\startitemize[packed][margin=2.5em,width=2em] \processcommalist[#1]\doCheckBoxes \stopitemize} \def\doCheckBoxes#1% {\sym{[\hspace[big]]}#1\par

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Cecil Westerhof
Op maandag 6 sep 2010 18:37 CEST schreef Wolfgang Schuster: Use the command in the correct way: \CheckBoxes[Yes, No, A little bit] \def\CheckBoxes[#1]% {\startitemize[packed][margin=2.5em,width=2em] \processcommalist[#1]\doCheckBoxes \stopitemize} \def\doCheckBoxes#1% {\sym{[\hspace[big

[NTG-context] bug in mkiv with and underlined space

2010-05-24 Thread Martin 'golodhrim' Scholz
Hi List, Hi Hans I think I figured out an bug in MKIV, the following minimal example works in mkii but not in mkiv \definehspace[myspace][8em] \starttext Test if you can place a space \underbar{\hspace[myspace]} right here. \stoptext the wished and delivered result in mkii is a line

Re: [NTG-context] bug in mkiv with and underlined space

2010-05-24 Thread Hans Hagen
On 24-5-2010 9:24, Martin 'golodhrim' Scholz wrote: \definehspace[myspace][8em] \starttext Test if you can place a space \underbar{\hspace[myspace]} right here. \stoptext a different method is used, for the moment use \underbar{\char0\hspace[myspace]\char0} maye some day i'll make

Re: [NTG-context] margin option in itemize

2009-12-12 Thread Curiouslearn
Thanks Wolfgang and Luigi. Luigi's solution worked well. Unfortunately, left={hspace[normal]} did not give the desired outcome. The item symbols were still at their original location. I have a follow up question. Based on your solution I also tried left=\hskip 2.10em, which works too

Re: [NTG-context] margin option in itemize

2009-12-11 Thread Wolfgang Schuster
[a][stopper=)] \item item 1a \item item 1b \stopitemize \item item 2 \startitemize[a][stopper=),width=3cm,left={\hspace[normal]}] \item item 2a \item item 2b \stopitemize \stopitemize \stoptext Wolfgang

Re: [NTG-context] Heros condensed and Font switching

2009-11-23 Thread Wolfgang Murth
. For example { \changefont{cmss}{sbc}{n}\small% \begin{tabbing}% \hspace{1cm}\=\$E\$9:\$E\$13 =\$D\$9:\$D\$13\\ \ {\$F\$18:\$H\$18 =0}\\ \end{tabbing} }% My question is how I can change a font

Re: [NTG-context] Heros condensed and Font switching

2009-11-23 Thread Thomas A. Schmitz
font, but only for Excel formulas and not as main body font . For example { \changefont{cmss}{sbc}{n}\small% \begin{tabbing}% \hspace{1cm}\=\$E\$9:\$E\$13 =\$D\$9:\$D\$13\\ \ {\$F\$18:\$H\$18 =0}\\ \end

Re: [NTG-context] Heros condensed and Font switching

2009-11-23 Thread Willi Egger
% \begin{tabbing}% \hspace{1cm}\=\$E\$9:\$E\$13 =\$D\$9:\$D\$13\\ \ {\$F\$18:\$H\$18 =0}\\ \end{tabbing} }% My question is how I can change a font only for a particular text. Not only normal-condensed, even change the complete

Re: [NTG-context] \vspace

2009-11-23 Thread Hans Hagen
Wolfgang Schuster wrote: Hi Hans, can you add a \vspace command which behaves like \hspace but for vertical mode, there are some cases where \blank is not so well suited (i know the \??vs namespace is already used by \blank) \def\definevspace {\dotripleempty\dodefinevspace} \def

Re: [NTG-context] \vspace

2009-11-23 Thread Wolfgang Schuster
Am 23.11.2009 um 11:21 schrieb Hans Hagen: \unexpanded\def\vspace {\dodoubleempty\dohspace} hm, untested ... ^ D’oh i'm always a bit relucate to let users mess with vertical spacing ... anyhow, in \hspace we clean up preceding space so vspace should behave the same i.e

[NTG-context] \vspace

2009-11-22 Thread Wolfgang Schuster
Hi Hans, can you add a \vspace command which behaves like \hspace but for vertical mode, there are some cases where \blank is not so well suited (i know the \??vs namespace is already used by \blank) \def\definevspace {\dotripleempty\dodefinevspace} \def\dodefinevspace[#1][#2][#3

[NTG-context] Heros condensed and Font switching

2009-11-21 Thread Wolfgang Murth
{ \changefont{cmss}{sbc}{n}\small% \begin{tabbing}% \hspace{1cm}\=\$E\$9:\$E\$13 =\$D\$9:\$D\$13\\ \ {\$F\$18:\$H\$18 =0}\\ \end{tabbing} }% My question is how I can change a font only for a particular text. Not only

Re: [NTG-context] \hspace variations

2008-12-15 Thread Vyatcheslav Yatskovsky
Thank you, Wolfgang, for your solution. Seems like \hspace cannot take numeric values at the moment, only predefined constants like big. Maybe it is reasonable to include your code below into context core files? Meanwhile, I used \hskip 2cm, it worked fine. I have some problems with \hspace

Re: [NTG-context] \hspace variations

2008-12-14 Thread Peter Rolf
Vyatcheslav Yatskovsky schrieb: Hello, I have some problems with \hspace. I try to insert it between two images, and this is what I get 1) \hspace{1cm} or \hspace1cm gives space but writes 1cm betwen images; 2) \hspace[1cm] does not work at all 3) \hspace[big] works fine, but \hspace[2

[NTG-context] \hspace variations

2008-12-13 Thread Vyatcheslav Yatskovsky
Hello, I have some problems with \hspace. I try to insert it between two images, and this is what I get 1) \hspace{1cm} or \hspace1cm gives space but writes 1cm betwen images; 2) \hspace[1cm] does not work at all 3) \hspace[big] works fine, but \hspace[2*big] does not I want to get space

Re: [NTG-context] French punctuation : tests

2008-09-26 Thread Olivier Guéry
={\hspace[footnote]\nobreak\high}] Wolfgang is definitly the super hero of this list \o/. Hans, is there a « legal » procedure to have this inclued by default in the \frenchpunctuation command ? Cheers, Olivier. -- [Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] http

Re: [NTG-context] French punctuation : tests

2008-09-26 Thread Olivier Guéry
) — how can I set other values of the \setupfootnotes ? I tried this : \setupfootnotes[textcommand={\hspace[footnote]\nobreak\high}, bodyfont=\tfxx, width=70mm] But I get an error. Here is a minimal test about footnotes. % \mainlanguage [fr] \language [fr] \usemodule [french

Re: [NTG-context] French punctuation : tests

2008-09-25 Thread Wolfgang Schuster
, leftquotation=\leftguillemot, rightquotation=\rightguillemot] Point 4: \definehspace[fr][footnote][.1667\emspaceamount] \definehspace[footnote][\hspaceamount\currentlanguage{footnote}] \setupfootnotes[textcommand={\hspace[footnote]\nobreak\high}] Wolfgang

[NTG-context] parbox equivalent?

2008-03-12 Thread jazz_johnson
Is there any recommended ConTeXt equivalent to latex's parbox command? Specifically I'm thinking of signature blocks such as \vspace{1in} \hspace{2.5in} \parbox{3in}{Sincerely yours, \vspace{.7in}\\ John Doe

Re: [NTG-context] parbox equivalent?

2008-03-12 Thread Wolfgang Schuster
On Wed, 12 Mar 2008 11:55:15 -0500 [EMAIL PROTECTED] wrote: Is there any recommended ConTeXt equivalent to latex's parbox command? \framed Specifically I'm thinking of signature blocks such as \vspace{1in} \hspace{2.5in} \parbox{3in}{Sincerely yours

Re: [NTG-context] MKIV Chinese typesetting

2008-01-28 Thread Wolfgang Schuster
, as a modified form of protruding, I trust. A small skip should be left between Chinese and English which makes the result much better. usually the space is a quarter of a chinese character width. A TeX expression should like: \hspace{0.25em plus 0.125em minus 0.08em} Again, this can be taken

Re: [NTG-context] MKIV Chinese typesetting

2008-01-28 Thread Arthur Reutenauer
. A small skip should be left between Chinese and English which makes the result much better. usually the space is a quarter of a chinese character width. A TeX expression should like: \hspace{0.25em plus 0.125em minus 0.08em} Again, this can be taken care of by automatically adding this glue

Re: [NTG-context] MKIV Chinese typesetting

2008-01-28 Thread Yue Wang
. A TeX expression should like: \hspace{0.25em plus 0.125em minus 0.08em} Again, this can be taken care of by automatically adding this glue between pairs of character of the appropriate category. Yes, and I think they should be added into font-otf.lua as well. The last important thing

Re: [NTG-context] MKIV Chinese typesetting

2008-01-28 Thread Hans Hagen
situations; i'll make things configurable A small skip should be left between Chinese and English which makes the result much better. usually the space is a quarter of a chinese character width. A TeX expression should like: \hspace{0.25em plus 0.125em minus 0.08em} Again, this can be taken care

[NTG-context] MKIV Chinese typesetting

2008-01-27 Thread Yue Wang
between Chinese and English which makes the result much better. usually the space is a quarter of a chinese character width. A TeX expression should like: \hspace{0.25em plus 0.125em minus 0.08em} but I think it is better to introduce a \setupxxxwidth for the user. The last important thing for English

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
[references] \headnumber[section] \headtext{text} # \hfilll \hideblocks[names][names] \high{text} # \HL \hl[number] # \hpos # \hspace # \ifconditional # \ifdefined # \iftrialtypesetting # \ifundefined \in{text}{text}[reference] # \includeFLOWchart # \includemenu # \increment \indentation \indenting

Re: [NTG-context] acrobat reader does not open a pdf

2007-07-05 Thread Olivier Turlier
] \setupheadertexts [\setups{chapter-toc}] \startsetups[chapter-toc] \rlap{\hspace{}} \hfill \llap{\pagenumber\space/\space\lastpage} \stopsetups was working Now, this old inserting code is no more working : I get a blank page. It does'nt matter, as long as this one works (partially

Re: [NTG-context] Vertical alignment of framed text

2007-04-19 Thread Vyatcheslav Yatskovsky
][0.6em] \def\hotkey#1{\dohotkey{\hspace[hotkey]#1\hspace[hotkey]}} The latter add space between surrounding words proportionally to the in-frame space. The ideal solution would be \def\hotkey#1{\inframed[corner=00, location=low, height=\lineheight]{\ #1\ }} but it doesn't work. Maybe

Re: [NTG-context] anaemic spacing around in-line typed text

2007-04-02 Thread Wolfgang Schuster
2007/4/1, Vyatcheslav Yatskovsky [EMAIL PROTECTED]: Hello Wolfgang, Thanks. \def\comm{\thinspace\groupedcommand\tt\thinspace} works quite well. From a newbie standpoint, I wonder why replacing \thinspace with \hspace[medium] fails? It did not fail, you forget only the braces. \def

Re: [NTG-context] anaemic spacing around in-line typed text

2007-04-01 Thread Vyatcheslav Yatskovsky
Hello Wolfgang, Thanks. \def\comm{\thinspace\groupedcommand\tt\thinspace} works quite well. From a newbie standpoint, I wonder why replacing \thinspace with \hspace[medium] fails? (I had another version \def\comm#1{\hspace[medium]{\tt#1}\hspace[medium]} it worked.) Vystcheslav On Sun

[NTG-context] Ugly hack for multiple MSWord docs.

2006-06-15 Thread John R. Culleton
: \def\documentclass{} \def\newcommand{} \def\usepackage{} \def\tab{} \def\hspace{} \def\begin{} \def\end{} \def\textbf#1{\bf #1} \def\nobreakspace{~} \def\underline{} \def\newpage{} \def\textmd#1{\rm #1} \def\textit#1{\it #1} \def\large{\tfb} \def\reg{\rm\char174\ } \def\textregistered

[NTG-context] horizontal space

2006-06-12 Thread Matthias Schleiff
-breakable, horizontal spaces. Those are \, \enspace \quad and \hspace{0.25em} or \hspace*{0.125em}. Now when testing with contextlive @ contextgarden the commands \, \enspace \quad seem to work. Are they plainTeX? But what about \hspace ? It would be cool to have something like \hspace*{0.125em

Re: [NTG-context] horizontal space

2006-06-12 Thread Hans Hagen
-commands for defined, possibly non-breakable, horizontal spaces. Those are \, \enspace \quad and \hspace{0.25em} or \hspace*{0.125em}. Now when testing with contextlive @ contextgarden the commands \, \enspace \quad seem to work. Are they plainTeX? But what about \hspace ? It would be cool

Re: [NTG-context] Re: good-looking tables in context

2005-04-01 Thread Hans Hagen
defining mechanism and hooks; i need to check this [actually, i need to merge the original table code and my patches into one file so that i can make things more robust] \newcolumntype{v}[1]{{\raggedright\hspace{0pt}}p{#1}} Ragged right but so that the first word can be hyphenated. Or another

[NTG-context] Re: good-looking tables in context

2005-03-31 Thread Patrick Gundlach
is defined like this \newcolumntype{v}[1]{{\raggedright\hspace{0pt}}p{#1}} Ragged right but so that the first word can be hyphenated. Or another columntype could be: \newcolumntype{R}[1]{% {\begin{turn}{90}\begin{minipage}[t][0pt]{#1}\smalltabsize\raggedright\hspace{0pt}}l% {\end{minipage

[NTG-context] creating horizontal space

2005-03-06 Thread Paul Tremblay
I am trying to create horizontal space in a footer and am having not luck. Here is what I have tried; \definetext[chapStart8Footer][footer][\vbox{ {\hspace{2em} skip} space Interestingly, the \hfill command works here, but \hspace doesn't. Paul -- *Paul Tremblay

Re: [NTG-context] creating horizontal space

2005-03-06 Thread Paul Tremblay
horizontal space I am trying to create horizontal space in a footer and am having not luck. Here is what I have tried; \definetext[chapStart8Footer][footer][\vbox{ {\hspace{2em} skip} space Interestingly, the \hfill command works here, but \hspace doesn't. Paul

Re: [NTG-context] Fixed spaces overfullrule

2005-03-02 Thread Hans Hagen
to define any kind of fraction of an em. predefined: \definehspace [\v!small] [.25\emspaceamount] \definehspace [\v!medium] [.5\emspaceamount] \definehspace [\v!big] [1\emspaceamount] \definehspace [\v!normal] [1\spaceamount] \definehspace [\v!default] [\spaceamount] to be used as: test \hspace