summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/spacing/spacing-linecorrection.tex
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-07-30 01:22:07 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-07-30 01:22:07 +0200
commit5135aef167bec739fe429e1aa987671768b237bc (patch)
treebd9f9696704e57c45f453bb7dc6becd5501cb657 /doc/context/sources/general/manuals/spacing/spacing-linecorrection.tex
parent9d7c4ba8449bec1da920c01e24a17c41bbf2211d (diff)
downloadcontext-5135aef167bec739fe429e1aa987671768b237bc.tar.gz
2016-07-30 00:31:00
Diffstat (limited to 'doc/context/sources/general/manuals/spacing/spacing-linecorrection.tex')
-rw-r--r--doc/context/sources/general/manuals/spacing/spacing-linecorrection.tex108
1 files changed, 0 insertions, 108 deletions
diff --git a/doc/context/sources/general/manuals/spacing/spacing-linecorrection.tex b/doc/context/sources/general/manuals/spacing/spacing-linecorrection.tex
deleted file mode 100644
index c16afbf0a..000000000
--- a/doc/context/sources/general/manuals/spacing/spacing-linecorrection.tex
+++ /dev/null
@@ -1,108 +0,0 @@
-% language=uk
-
-\environment spacing-style
-
-\startcomponent spacing-linecorrection
-
-\startchapter[title=Line correction]
-
-\startbuffer[linecorrection]
-\typebuffer
-\blank
-\enabletrackers[linecorrection.boxes]
-\getbuffer
-\disabletrackers[linecorrection.boxes]
-\blank
-\stopbuffer
-
-We really do out best to make the spacing look as good as possible
-(or at least consistent) but sometimes \TEX\ needs a bit of help.
-An example of a helper is the following:
-
-\startbuffer
-\startlinecorrection
- \input ward
-\stoplinecorrection
-\stopbuffer
-
-\getbuffer[linecorrection]
-
-When we use the same command with some left and/or right margins set, we get
-this:
-
-\startbuffer
-\startnarrower
- \startlinecorrection
- \input ward
- \stoplinecorrection
-\stopnarrower
-\stopbuffer
-
-\getbuffer[linecorrection]
-
-Here we do obey the margins inside the correction box but the box itself is still
-as wide as the current width. A typical case where this happens is:
-
-\startbuffer
-\startitemize
- \startitem an item:
- \startlinecorrection
- \input ward
- \stoplinecorrection
- \stopitem
-\stopitemize
-\stopbuffer
-
-\getbuffer[linecorrection]
-
-Here is a variant:
-
-\startbuffer
-\startitemize
- \startitem a local linecorrection:
- \startlocallinecorrection
- \input ward
- \stoplocallinecorrection
- \stopitem
-\stopitemize
-\stopbuffer
-
-\getbuffer[linecorrection]
-
-Both types of correction wrap their content in a box and make sure that the
-spacing around it is visually as good as possible. The local variant uses a box
-fitting the available width taking margins into account and but resetting them
-inside the box. The normal variant applies the margins inside the box. Which one
-you use depends on the situation and content.
-
-You can pass an optional argument that indicates the amount of spacing to be
-added before and after the correction.
-
-\startbuffer
-\startlinecorrection[3*line]
- \input ward
-\stoplinecorrection
-\stopbuffer
-
-\getbuffer[linecorrection]
-
-Normally you don't need this correction. It is mainly used for correcting spacing
-around boxed material, like \type {\framed}:
-
-\startbuffer
-before
-\startlinecorrection
- \framed{something inbetween}
-\stoplinecorrection
-after
-\stopbuffer
-
-\getbuffer[linecorrection]
-
-Because in this document we have set the whitespace this also gets added around
-the box. So, in case your spacing around some special content looks bad, consider
-using these commands.
-
-\stopchapter
-
-\stopcomponent