diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-03 22:29:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-03 22:29:09 +0000 |
commit | 5139fa11fc380bdb1d620afffda047044c55ef7a (patch) | |
tree | e60d1ecba7d1acd0c4865a4b6eaa8b4e52130ea2 /Master/texmf-dist/doc/latex/centeredline | |
parent | fe044b7f6ea3e031ee8a83fc2a8e17426e93807a (diff) |
centeredline (3may19)
git-svn-id: svn://tug.org/texlive/trunk@50971 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/centeredline')
-rw-r--r-- | Master/texmf-dist/doc/latex/centeredline/README.md | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/centeredline/README.md b/Master/texmf-dist/doc/latex/centeredline/README.md index 90bcac86764..8be64136923 100644 --- a/Master/texmf-dist/doc/latex/centeredline/README.md +++ b/Master/texmf-dist/doc/latex/centeredline/README.md @@ -2,38 +2,29 @@ Author: Jean-Francois Burnol Package: centeredline - Version: 1.0 (2019/04/27) + Version: 1.1 (2019/05/03) License: LPPL 1.3c Copyright (C) 2019 Jean-Francois Burnol <jfbu at free dot fr> # DESCRIPTION # -After `\usepackage{centeredline}` you can use +After `\usepackage{centeredline}` one can use \centeredline{....} -to get contents centered, in a better way than with `\centerline`: +to get the argument centered, in a better way than with `\centerline`: -1. `\verb` or other catcode changes are allowed, +1. `\verb` or other catcode changes inside the argument are allowed, 2. the centering (with respect to the surrounding text paragraph) will be as expected if this all happens inside an item from a LaTeX list - environment, -3. and material whose natural width exceeds the linewidth will get - properly centered too. + environment. -The contents are executed in horizontal mode inside a group inside a -`\hbox`. +Material whose natural width exceeds the linewidth will get properly +centered too. -The macro itself maybe encountered in paragraph or in vertical mode. For -example in vertical mode - - \centeredline{\rule{\dimexpr-1cm+\paperwidth}{1pt}} - \centeredline{\rule{\dimexpr-1cm+\paperwidth}{1pt}} - \centeredline{\rule{\dimexpr-1cm+\paperwidth}{1pt}} - -will create horizontally centered on the page horizontal rules -vertically separated by the baseline skip and ignoring the parskip. +The macro itself may be encountered in paragraph or in vertical mode. +It places the argument inside a `\hbox` (inside an extra simple group). # HISTORY # @@ -49,6 +40,7 @@ not expect to update the package anytime soon. # CHANGE LOG # - v1.0 (2019/04/27): First release. +- v1.1 (2019/05/03): Improved description (this file). # LICENSE # |