summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-10 22:57:36 +0000
committerKarl Berry <karl@freefriends.org>2018-12-10 22:57:36 +0000
commitcdde74fc51a74159b464afaf5a1570117d90c858 (patch)
tree205f548d59983cbbda6afeaaace8c6dbafce3cd8 /Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md
parentc871eb0744646b3fa09135cc962cdc2d15cd83a0 (diff)
jlreq (10dec18)
git-svn-id: svn://tug.org/texlive/trunk@49375 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md')
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md40
1 files changed, 38 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md
index bcaaf774185..d4a3098e52b 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md
@@ -1,7 +1,7 @@
# jlreq-trimmarks
## What is this?
-This package outputs trim marks. It works with [LuaTeX-ja](https://osdn.jp/projects/luatex-ja/wiki/FrontPage) / pLaTeX / upLaTeX / dvipdfmx / Dvips / dviout and any document class (not only with jlreq class). It provides the following.
+This package outputs trim (register) marks. It works with [LuaTeX-ja](https://osdn.jp/projects/luatex-ja/wiki/FrontPage) / pLaTeX / upLaTeX / dvipdfmx / Dvips / dviout and any document class (not only with jlreq class). It provides the following.
* Output trim marks
* Set TrimBox and BleedBox if possible.
@@ -64,6 +64,41 @@ Set the additional settings with the keyval style.
### `banner`
The things which the package outputs when `show=banner` is specified in the package option.
+Normally it is showed in the left of the top. You can also put them in many places, for example:
+
+```latex
+\jlreqtrimmarkssetup{
+ banner={
+ top-right={
+ vertical={
+ odd = {In the right of the top, only in odd pages, vertical mode.},
+ even = {In the right of the top, only in even pages, vertical mode.},
+ },
+ horizontal={In the right of the top, horizontal mode.}, % does not depend on the parity of the page number
+ corner={In the corner of the right of the top, horizontal mode.},
+ in-horizontal = {In the right of the top, horizontal mode, in the trim area.},
+ in-vertical = {In the right of the top, vertical mode, in the trim area.},
+ },
+ bottom-center={
+ left = {In the left in the center of the bottom}, % odd=, even= is also available
+ right = {In the right in the center of the bottom},
+ in = {In the trim area in the center of the bottom.},
+ }
+ }
+}
+```
+You can use `\thepage` to output the number of the page. The keys can be ommited. For example:
+```latex
+\jlreqtrimmarkssetup{
+ banner={
+ vertical = {Vertical mode, in the top of the left},
+ odd = {In the top of the left, only in odd pages.}, % regarded as `horizontal`
+ top-right = {
+ odd = {In the top of the right, only in odd pages, horizontal mode.}
+ }
+ }
+}
+```
### `trimmarks_width`
Set the width of trim marks.
@@ -91,7 +126,8 @@ This package is distributed under the BSD 2-Clause License. See [LICENSE](LICENS
- Moved `bleed_margin` from `\jlreqtrimmarkssetup` to a package option.
- jlreq-trimmarks works with unusugal`\mag`.
- Fixed bugs.
-
+* 2018-12-10
+ - Extended `banner` in `\jlreqtrimmarkssetup`.
--------------
Noriyuki Abe