diff options
author | Karl Berry <karl@freefriends.org> | 2022-12-21 20:56:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-12-21 20:56:12 +0000 |
commit | f2028173fc0a610b4a0c6223d05c5db49a7a5770 (patch) | |
tree | 1a72540546474d8c79b89569751ecdc542df629a /Master/texmf-dist/doc/latex/xput/example-text.tex | |
parent | 276f0d2d16de46cdbe5f71560ea806531260d1eb (diff) |
xput (19dec22)
git-svn-id: svn://tug.org/texlive/trunk@65325 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/xput/example-text.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/xput/example-text.tex | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/xput/example-text.tex b/Master/texmf-dist/doc/latex/xput/example-text.tex new file mode 100644 index 00000000000..421532418e8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/xput/example-text.tex @@ -0,0 +1,53 @@ +%% +%% Copyright (C) 2022 by Friedemann Bartels +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3c or later is part of all distributions of +%% LaTeX version 2008/05/04 or later. +%% + +\documentclass{xput} +\usepackage{lipsum} + +\pagewidth=15cm +\pageheight=15cm +\gutter=10mm + +\setgrid{ + {{1}{1}} +} + +\begin{document} + + \page{ + \text[breakable, name=lorem]{ + \lipsum[2-3] + \par + \lipsum[4] + } + \usetext[lorem] + } + + \page{ + \usetext[lorem] + \tcbset{ + boxrule=1mm, + boxsep=1mm,left=2mm,right=2mm,top=2mm,bottom=2mm, + colback=yellow, + colframe=red!75!black, + opacityframe=1, + opacityback=1, + arc=1mm + } + \text{ + Text boxes use the package tcolorbox, so you can style these with the tcolorbox macro \texttt{tcbset} + } + } + +\end{document} |