From 2bde0cef55deb13172e07c4e37e7f2289fe1f6b7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 23 Feb 2010 00:26:07 +0000 Subject: circle doc update, own package git-svn-id: svn://tug.org/texlive/trunk@17158 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/circle/circle.pdf | Bin 0 -> 185801 bytes Master/texmf-dist/doc/latex/circle/circle.tex | 47 ++++++++++++++++++++++++ Master/texmf-dist/tex/latex/circle/circle.sty | 42 +++++++++++++++++++++ Master/texmf-dist/tex/latex/ltxmisc/circle.sty | 42 --------------------- Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/tlpsrc/circle.tlpsrc | 0 Master/tlpkg/tlpsrc/collection-mathextra.tlpsrc | 1 + 7 files changed, 91 insertions(+), 43 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/circle/circle.pdf create mode 100644 Master/texmf-dist/doc/latex/circle/circle.tex create mode 100644 Master/texmf-dist/tex/latex/circle/circle.sty delete mode 100644 Master/texmf-dist/tex/latex/ltxmisc/circle.sty create mode 100644 Master/tlpkg/tlpsrc/circle.tlpsrc diff --git a/Master/texmf-dist/doc/latex/circle/circle.pdf b/Master/texmf-dist/doc/latex/circle/circle.pdf new file mode 100644 index 00000000000..21e4db02080 Binary files /dev/null and b/Master/texmf-dist/doc/latex/circle/circle.pdf differ diff --git a/Master/texmf-dist/doc/latex/circle/circle.tex b/Master/texmf-dist/doc/latex/circle/circle.tex new file mode 100644 index 00000000000..9043c0589a9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/circle/circle.tex @@ -0,0 +1,47 @@ +\documentclass[DIV=9, parskip=half, pagesize=auto]{scrartcl} + +\usepackage{fixltx2e} +\usepackage{etex} +\usepackage{xspace} +\usepackage{lmodern} +\usepackage[T1]{fontenc} +\usepackage{textcomp} +\usepackage{microtype} +\usepackage[unicode=true]{hyperref} + +\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}} +\newcommand*{\pkg}[1]{\textsf{#1}} +\newcommand*{\cs}[1]{\texttt{\textbackslash#1}} +\makeatletter +\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}} +\makeatother + +\addtokomafont{title}{\rmfamily} + +\title{The \pkg{circle} package} +\author{Klaus G. Barthelmann, \mail{barthel@informatik.uni-mainz.de}} +\date{1998/07/15} + + +\begin{document} + +\maketitle + +As the name says, \cmd{\Circle} gives a circle in math mode. Its size lies between +that of the binary operator \cmd{\circ} and that of the unary operator \cmd{\bigcirc}. +It can be used as the nextstep operator of temporal logic in conjunction with +\cmd{\Box} and \cmd{\Diamond} (\pkg{latexsym}) or \cmd{\square} and \cmd{\lozenge} (\pkg{amssymb}). \verb+\Circle[f]+ +gives a filled circle. + +As you probably know, L.~Lamport discouraged the use of the nextstep +operator for program verification. This could be the reason that he did not +provide a symbol for it in \LaTeX. + +The circles are taken from the \pkg{lcircle10} font. We try to choose the +appropriate size. If you need a high quality output, this solution will not +suit you. + +Bugs: circles have size $n$ at fontsize $2n-1$ and $2n$; they do not scale linearly +depending on the fontsize + +\end{document} diff --git a/Master/texmf-dist/tex/latex/circle/circle.sty b/Master/texmf-dist/tex/latex/circle/circle.sty new file mode 100644 index 00000000000..f7428522a12 --- /dev/null +++ b/Master/texmf-dist/tex/latex/circle/circle.sty @@ -0,0 +1,42 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{circle}[1998/07/15 LaTeX package for circles in math mode] +%\Author{Klaus G. Barthelmann, barthel@informatik.uni-mainz.de} +%\ProvidesCommands{\Circle[1][n]} + +% As the name says, \Circle gives a circle in math mode. Its size lies between +% that of the binary operator \circ and that of the unary operator \bigcirc. +% It can be used as the nextstep operator of temporal logic in conjunction with +% \Box and \Diamond (latexsym) or \square and \lozenge (amssymb). \Circle[f] +% gives a filled circle. +% As you probably know, L. Lamport discouraged the use of the nextstep +% operator for program verification. This could be the reason that he did not +% provide a symbol for it in \LaTeX. +% The circles are taken from the lcircle10 font. We try to choose the +% appropriate size. If you need a high quality output, this solution will not +% suit you. + +\newcommand*\Circle[1][n]{% + \mathchoice{\@Circle{#1}{\tf@size}}{\@Circle{#1}{\tf@size}}% + {\@Circle{#1}{\sf@size}}{\@Circle{#1}{\ssf@size}}% +} + +% Bugs: circles have size n at fontsize 2n-1 and 2n; they do not scale linearly +% depending on the fontsize + +\newcommand*\@Circle[2]{{% + \dimen0=#2pt \advance\dimen0by.5pt \dimen1=1pt \divide\dimen0by\dimen1 + \count255=\dimen0 \ifodd\count255 \advance\count255by1 \fi\divide\count255by2 + \ifnum\count255=0 {}\else\ifnum\count255>15 {}\else + \dimen0=\count255pt + \edef\circfont{tencirc\ifnum\count255>8 w\fi} + \advance\count255by\if #1f111\else 95\fi + \dimen2=.82\dimen0 \advance\dimen2by.4pt + \raisebox{.625\dimen0}[\dimen2]{\makebox[1.2\dimen0]{% + \hspace*{.9\dimen0}% + \csname\circfont\endcsname + \char\count255 % + }}% + \fi\fi +}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/ltxmisc/circle.sty b/Master/texmf-dist/tex/latex/ltxmisc/circle.sty deleted file mode 100644 index f7428522a12..00000000000 --- a/Master/texmf-dist/tex/latex/ltxmisc/circle.sty +++ /dev/null @@ -1,42 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{circle}[1998/07/15 LaTeX package for circles in math mode] -%\Author{Klaus G. Barthelmann, barthel@informatik.uni-mainz.de} -%\ProvidesCommands{\Circle[1][n]} - -% As the name says, \Circle gives a circle in math mode. Its size lies between -% that of the binary operator \circ and that of the unary operator \bigcirc. -% It can be used as the nextstep operator of temporal logic in conjunction with -% \Box and \Diamond (latexsym) or \square and \lozenge (amssymb). \Circle[f] -% gives a filled circle. -% As you probably know, L. Lamport discouraged the use of the nextstep -% operator for program verification. This could be the reason that he did not -% provide a symbol for it in \LaTeX. -% The circles are taken from the lcircle10 font. We try to choose the -% appropriate size. If you need a high quality output, this solution will not -% suit you. - -\newcommand*\Circle[1][n]{% - \mathchoice{\@Circle{#1}{\tf@size}}{\@Circle{#1}{\tf@size}}% - {\@Circle{#1}{\sf@size}}{\@Circle{#1}{\ssf@size}}% -} - -% Bugs: circles have size n at fontsize 2n-1 and 2n; they do not scale linearly -% depending on the fontsize - -\newcommand*\@Circle[2]{{% - \dimen0=#2pt \advance\dimen0by.5pt \dimen1=1pt \divide\dimen0by\dimen1 - \count255=\dimen0 \ifodd\count255 \advance\count255by1 \fi\divide\count255by2 - \ifnum\count255=0 {}\else\ifnum\count255>15 {}\else - \dimen0=\count255pt - \edef\circfont{tencirc\ifnum\count255>8 w\fi} - \advance\count255by\if #1f111\else 95\fi - \dimen2=.82\dimen0 \advance\dimen2by.4pt - \raisebox{.625\dimen0}[\dimen2]{\makebox[1.2\dimen0]{% - \hspace*{.9\dimen0}% - \csname\circfont\endcsname - \char\count255 % - }}% - \fi\fi -}} - -\endinput diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index b8453791de9..c9c9239d212 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -63,7 +63,7 @@ my @TLP_working = qw( changebar changelayout changepage changes chappg chapterfolder chbibref chem-journal chemarrow chembst chemcompounds chemcono chemstyle cherokee chess-problem-diagrams chessboard chessfss - chicago-annote chletter chngcntr circ circuitikz + chicago-annote chletter chngcntr circ circle circuitikz cite citeref cjhebrew cjk cjkpunct cjw classicthesis clefval cleveref clock clrscode cm-super diff --git a/Master/tlpkg/tlpsrc/circle.tlpsrc b/Master/tlpkg/tlpsrc/circle.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/Master/tlpkg/tlpsrc/collection-mathextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-mathextra.tlpsrc index ad5ecf1dc0b..0bc83e0c455 100644 --- a/Master/tlpkg/tlpsrc/collection-mathextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-mathextra.tlpsrc @@ -7,6 +7,7 @@ depend binomexp depend boldtensors depend bosisio depend ccfonts +depend circle depend commath depend concmath depend concrete -- cgit v1.2.3