diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/dpcircling/DPcircling.pdf | bin | 0 -> 29754 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/dpcircling/DPcircling.tex | 77 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/dpcircling/LICENSE | 21 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/dpcircling/README.md | 9 |
4 files changed, 107 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/dpcircling/DPcircling.pdf b/Master/texmf-dist/doc/latex/dpcircling/DPcircling.pdf Binary files differnew file mode 100644 index 00000000000..6fc8a1c84f6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/dpcircling/DPcircling.pdf diff --git a/Master/texmf-dist/doc/latex/dpcircling/DPcircling.tex b/Master/texmf-dist/doc/latex/dpcircling/DPcircling.tex new file mode 100644 index 00000000000..4fe11b535e2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/dpcircling/DPcircling.tex @@ -0,0 +1,77 @@ +%% +%% This is the documentation of DPcircling package. +%% (Last Update: 2020/04/15) +%% Maintained on GitHub: +%% https://github.com/domperor/DPcircling +%% +%% Copyright (c) 2020 Oura M. (domperor) +%% Released under the MIT license +%% https://opensource.org/licenses/mit-license.php +%% + +\documentclass[10pt]{article} +\usepackage[dvipdfmx]{graphicx} +\usepackage{geometry} +\usepackage{url} +\geometry{a4paper,total={170mm,257mm},left=20mm,top=20mm} +\usepackage{DPcircling} +\title{DPcircling package v1.0} +\author{Oura M. (domperor)} +\date{\today} +\pagestyle{empty} +\begin{document} +\maketitle\thispagestyle{empty} + +\section*{about this package} + +This package provides 4 types of text decorations: \verb+\DPcircling+ \DPcircling{circle}, \verb+\DPrectangle+ \DPrectangle{rectangle}, \verb+\DPjagged+ \DPjagged{jagged rectangle}, and \verb+\DPfanshape+ \DPfanshape{fan-shape}. The baseline would be adjusted properly according to the surroundings\footnote{Unless you cram too tall things into a small decoration box. The box would be broken, and you would make a mess.}. You can use these decorations both in text mode and in math mode. You can specify \verb+line color+, \verb+line width+, \verb+width+, and \verb+height+ as option keys. + +\ + +This package is maintained on GitHub: \url{https://github.com/domperor/DPcircling} + +\subsection*{basic usage} + +\begin{quote} +(in preamble): \verb+\usepackage[+\textit{\texttt{driver}}\verb+]{graphicx}\usepackage{DPcircling}+\footnote{The author personally uses dvipdfmx as the driver.} + +(in your text): \verb+\DP*****[+\textit{\texttt{options}}\verb+]{+\textit{\texttt{content}}\verb+}+ +\end{quote} + +For instance, the code +\begin{quote} +\begin{verbatim} +It is a \DPjagged[line color=blue,line width=1.4pt]{\color{brown}great} opportunity. +\end{verbatim} +\end{quote} +\noindent gives the result: +\begin{quote} +It is a \DPjagged[line color=blue, line width= 1.4pt]{\color{brown}great} opportunity. +\end{quote} + +\subsection*{required packages} + +DPcircling requires the following packages: \verb+tikz+, \verb+keyval+, \verb+graphicx+, and the ones that these packages require. + +\subsection*{aliases} + +\verb+\DPcircle+ and \verb+\DPcirc+ are the aliases of \verb+\DPcircling+. +\verb+\DPrect+ is the alias of \verb+\DPrectangle+. + +\subsection*{changing default values} + +The default values of \verb+line color+, \verb+line width+, \verb+width+, and \verb+height+ are \verb+black+, \verb+1pt+, noted below(*), and \verb+2*(content height)+. You can modify these like this: +\begin{quote} +\begin{verbatim} +\DPcirclingDefault{line color=brown, line width=0.33pt, width=4em, height=5em} +\end{verbatim} +\end{quote} + +\noindent (*) The default values of \verb+width+ are \verb+max{2*(content width), 2em}+ (circle) and +\verb:(content width)+2em: (else). + +\section*{version history} + +2020/04/15 v1.0 + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/dpcircling/LICENSE b/Master/texmf-dist/doc/latex/dpcircling/LICENSE new file mode 100644 index 00000000000..4302f41e45a --- /dev/null +++ b/Master/texmf-dist/doc/latex/dpcircling/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Oura M. (domperor) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Master/texmf-dist/doc/latex/dpcircling/README.md b/Master/texmf-dist/doc/latex/dpcircling/README.md new file mode 100644 index 00000000000..427b9403a6d --- /dev/null +++ b/Master/texmf-dist/doc/latex/dpcircling/README.md @@ -0,0 +1,9 @@ +# DPcircling + +This package provides 4 types of text decorations using TikZ. You can circle your text with circles, rectangles, jagged rectangles, and fan-shapes. See the documentation: DPcircling.pdf + +Maintained on GitHub: https://github.com/domperor/DPcircling + +Copyright (c) 2020 Oura M. (domperor) +This package is released under the MIT license. +https://opensource.org/licenses/mit-license.php
\ No newline at end of file |