=off]
\setupnarrower[left=0.80cm, right=0.80cm]
\definehspace[oneem][0.5em]
\setupinteraction
[state=start,
color=blue]
\usecolors[svg]
\setupinteraction
[state=start,
contrastcolor=cornflowerblue]
\starttext
\margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und
erkennen, dass
ein \m ∃\forall∀ oder ein \m \forall∀\m∃ versteckt ist. Dann ist es besonders
wichtig, die
Formulierung sehr lange zu prüfen und eventuell auch formalisiert
noch einmal aufzuschreiben.”
\blank
\setupnarrower [left=0.80cm, right=0.80cm]
\startnarrower[left, right]
\definehspace[oneem
]
[renderingsetup=list:toclist]
\setupheadtext[section=Table of Contents]
\startsetups toclist
\framed[align=normal, frame=off]{\placelist [section] [criterium=all,
alternative=toclist]}
\stopsetups
\definehspace[tspace][4cm]
\setupframed[
height=fit,
width=fit,
location=middle,
frame
margin=\dimexpr0cm,
leftmargindistance=\dimexpr0cm,
rightmargindistance=\dimexpr0cm,
width=middle,
cutspace=\dimexpr1.5cm,
backspace=\dimexpr1.5cm,
topspace=\dimexpr1.5cm,
header=\dimexpr4cm,
height=middle,
bottomspace=\dimexpr0cm,
footer=\dimexpr0.5cm]
\setupheadertexts[\directsetup{fheader}]
\de
,
header=\dimexpr4cm,
height=middle,
bottomspace=\dimexpr0cm,
footer=\dimexpr0.5cm]
\setupheadertexts[\setups{headertext}]
\definehspace[tnumber][0.5em]
\startsetups [headertable]
\setupTABLE[frame=off]
\setupTABLE[column][1][align=flushleft]
\setupTABLE[column][2][align=flushright]
\stopsetups
also have (e.g. for the Preface,
but I have others for Foreword, etc.):
\setuplist
[preface]
[label=preface,
alternative=command,
command=\ChapterListCommand]
(2) SECTIONTOCENTRY
\definehspace[twoem][2.5 em]
\define[1]\SectionTocEntry{%
#1\hspace[twoem]% title
[no]
This is a text meant to make a long paragraph such that it stretches
over more than one line when typeset for example on an A4 page in order
to demonstrate the behaviour of definedelimitedtext.
\par
\stopdelimitedtext
\stoptext
\definehspace [outdent] [-2em]
\definedelimitedtext
[narrowtext
guages, and only "packed" or "broad".
In lang-spa.mkiv I found \definehspace, and in spac-hor.mkiv I found
\spac_spacecodes_set_fixed{}, but I don’t understand if they can do
what I want, and how.
This doesn’t help:
\unprotect
\definedescription[BibItem][
headcommand=\gobb
or "broad".
In lang-spa.mkiv I found \definehspace, and in spac-hor.mkiv I found
\spac_spacecodes_set_fixed{}, but I don’t understand if they can do what I
want, and how.
This doesn’t help:
\unprotect
\definedescription[BibItem][
headcommand=\gobbleoneargument,
Hi again,
since my bibliographic setup works well, thanks again, I’d like to tighten it a
bit, i.e. reduce spacing under defined circumstances.
In the docs and sources I found only how to affect spacing of languages, and
only "packed" or "broad".
In lang-spa.mkiv I
{\mframed[frame=off,
topframe=on,
bottomframe=on,
frameoffset=\dimexpr.254\baselineskip\relax,
height=\lineheight
]}
\def\borderdttop{\mframed[frame=off,
bottomframe=on,
frameoffset=\dimexpr.254\baselineskip\relax,
height=\lineheight
]}
\definehspace[spacedt] [2
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
of *\framed* are
valid for *setuplist*) also, but doesn't seem to have any effect.
Please point out the mistake.
Regards,
Devendra
*MWE*
\definehspace[myem][2em]
\def\secnum#1{\hspace[myem]#1}
\setuplist
[section]
[numbercommand={\secnum}]
\starttext
\completecontent[alternative=c
and overlaps with it. I tried adding *loffset=2cm* (since
all the options of *\framed* are
valid for *setuplist*) also, but doesn't seem to have any effect.
Please point out the mistake.
Regards,
Devendra
*MWE*
\definehspace[myem][2em]
\def\secnum#1{\hspace[myem]#1}
\setuplist
is not moved to
the right along with
the section number and overlaps with it. I tried adding *loffset=2cm* (since
all the options of *\framed* are
valid for *setuplist*) also, but doesn't seem to have any effect.
Please point out the mistake.
Regards,
Devendra
*MWE*
\definehspace[myem][2em]
\def\secnum#1
to make some horizontal space in luacode?
\hspace does not accept dimensions. The syntax for hspace is
\definehspace[whatever][3em]
\hspace[whatever].
So, you need:
\definehspace[skip][3em]
\starttext
\startluacode
context(Some text)
context.hspace{skip}
context(More text)
\stopluacode
Dear Aditya, Hans
Both solutions work well.
It is really efficient to write matrix in ConTeXt + lua.
I am enjoying the benefit of lua in ConTeXt.
Thank you.
Best regards,
Dalyoung
\definehspace[skip][3em]
\starttext
\startluacode
context(Some text)
context.hspace{skip}
context
?
\hspace does not accept dimensions. The syntax for hspace is
\definehspace[whatever][3em]
\hspace[whatever].
So, you need:
\definehspace[skip][3em]
\starttext
\startluacode
context(Some text)
context.hspace{skip}
context(More text)
\stopluacode
\stoptext
Aditya
\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
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
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
*big] does not
I want to get space twice as big, but how?
\definehspace[2*big] [2\emspaceamount] % [1] name [2] dimension
\starttext
A big big \hspace[2*big] space.
\stoptext
In this case '2*big' is the name of that skip, not the dimension value.
See core-spa.tex for definitions of \hspace
) I get an endash (–) and not the normal
sign (-). Test 5
* There should't be space between two sign. Test 2
* The space before the footnote sign is too big (it's clearer with
othe fonts). Test 4
Point 3:
\definehspace[fr][quote][\zeropoint]
\installlanguage
[fr]
[leftquote
Ok, aftre some test…
It seem's that it's linked to the fonts… damn !
The value in « \definehspace[fr][footnote][-.2667\emspaceamount] » need to
be negative, as I set it (work with my fontin_sans font, too big for lmodern
font).
Then I found two problems :
— the space after is way too big :o
* There should't be space between two sign. Test 2
* The space before the footnote sign is too big (it's clearer with
othe fonts). Test 4
Point 3:
\definehspace[fr][quote][\zeropoint]
\installlanguage
[fr]
[leftquote=\upperleftdoublesixquote,
rightquote=\upperrightdoubleninequote
][plural]
\definefont[name][file]
# \definefontsynonym
\defineframed[name][settings]
# \defineframedcontent
\defineframedtext[name][settings]
\definehead[name][section]
# \definehspace
\defineindenting[name][settings]
\defineinteractionmenu[position|names][options and settings]
\defineinteractionmenu
Hello,
Please, don't take me as too much exacting man, but Mojca's (partial) solution
\def\hotkey#1{\inframed[corner=00]{\ #1\ }}
is more suitable for me than the Wolfgangs's (complete) one:
\defineframed
[dohotkey]
[strut=yes,corner=00,frameoffset=-0.2em,location=low]
\definehspace[hotkey
\docommand##1%
{\getparameters[\ze##1][#2]}
\processcommalist[#1]\docommand}
\def\zeichenparameter#1%
{\csname
\ifcsname\ze\number\zeichencolumn#1\endcsname
\ze\number\zeichencolumn
\else
\ze\v!line
\fi
#1\endcsname}
\definehspace[myindent
\comm
{\groupedcommand{\hspace[medium]\tt}{\hspace[medium]}}
To get more control over the spacing define your own \hspace:
\definehspace[commspace][medium]
\def\comm
{\groupedcommand{\hspace[commspace]\tt}{\hspace[commspace]}}
Wolfgang
(I had another version
\def\comm#1{\hspace[medium]{\tt
Hi,
On 8/18/06, Hans Hagen [EMAIL PROTECTED] wrote:
grep the base path for \definehspace and search for line with fr in
the tag and you'll see how things can be influences
Hans, the answer was in lang-spa.tex! I then regenerated the format
and it works absolutely perfectly, my single quotes
On Mon, 21 Aug 2006, Jeff Smith wrote:
Hi,
On 8/18/06, Hans Hagen [EMAIL PROTECTED] wrote:
grep the base path for \definehspace and search for line with fr in
the tag and you'll see how things can be influences
Hans, the answer was in lang-spa.tex! I then regenerated the format
norms across languages can vary
a lot, I'm afraid.
grep the base path for \definehspace and search for line with fr in
the tag and you'll see how things can be influences
Hans
-
Hans Hagen
to have something like \hspace*{0.125em} in ConTeXt.
Is there something like it or a way to make it work or to define it on my own?
\definehspace[notthatbig][.123456em]
\definehspace[ratherbig] [12.3456em]
test \hspace[notthatbig] test \hspace[ratherbig] test
so, it's a symbolic definition
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
Pardon, I forgot the whole tex-file:
\useregime[il1]
\enableregime[il1]
\useencoding[ffr]
\definehspace[fr][:][.16667em]
\definehspace[fr][;][.16667em]
\definehspace[fr][!][.16667em]
\definehspace[fr][?][.16667em]
\mainlanguage[fr]
\newdimen\BigWidth \BigWidth=18cm
\setupscreens[screen=0.85
help please? (ConTeXt version is 2004.3.16)
Cheers, Peter
deeply burried functionality:
\definehspace[fr][:][.25em]
\definehspace[fr][;][.25em]
\definehspace[fr][!][.25em]
\definehspace[fr][?][.25em]
\useencoding[ffr]
\starttext
\fr test: test
\stoptext
Hans
36 matches
Mail list logo