diff options
author | Karl Berry <karl@freefriends.org> | 2008-10-30 23:55:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-10-30 23:55:15 +0000 |
commit | 59043f5dcffdd257e2a64806a6238094a7df7231 (patch) | |
tree | bcf1446dcc59526e569f1a49066267cc91db3185 /Master/texmf-dist/doc/latex | |
parent | c30072203e5def2ebff53ccd203554e6eca0b311 (diff) |
syllogism update (29oct08)
git-svn-id: svn://tug.org/texlive/trunk@11131 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/syllogism/Examples.pdf | bin | 0 -> 130736 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/syllogism/Examples.tex | 49 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/syllogism/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/syllogism/syllogism.pdf | bin | 232824 -> 236203 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/syllogism/syllogism.tex | 38 |
5 files changed, 71 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/syllogism/Examples.pdf b/Master/texmf-dist/doc/latex/syllogism/Examples.pdf Binary files differnew file mode 100644 index 00000000000..70b3ab0f7f2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/syllogism/Examples.pdf diff --git a/Master/texmf-dist/doc/latex/syllogism/Examples.tex b/Master/texmf-dist/doc/latex/syllogism/Examples.tex new file mode 100644 index 00000000000..34eea2c7a8a --- /dev/null +++ b/Master/texmf-dist/doc/latex/syllogism/Examples.tex @@ -0,0 +1,49 @@ +\documentclass[letterpaper, + 10pt, + ]{article} + + +\usepackage[T1]{fontenc} +\usepackage[english]{babel} +\usepackage{xcolor} + +\usepackage{syllogism} + +% . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +\colorlet{sred}{red!60!black} +\newcommand{\syllp}{\texttt{\color{sred}syllogism}\xspace} +\colorlet{comcol}{green!45!black} +\newcommand{\comm}[1]{\texttt{\color{comcol}\textbackslash{}#1}\xspace} % commands + +% . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . + +\title{Examples for the \syllp package} +\author{(c) 2007--2008 \textsc{Nicolas Vaughan}\\ \\ + Report bugs and submit questions to:\\ + \texttt{nivaca@gmail.com} + } +\date{Oct. 10, 2008} + + +\begin{document}% ============================================================= +\setlength{\parindent}{0em} +\maketitle + +\def\preA{All men except Socrates are able to laugh} +\def\preB{Socrates is a man} +\def\Conc{Socrates is not able to laugh} + + +\comm{syllog} example: +\syllog{\preA}{\preB}{\Conc} + +\comm{syllogC} example: +\syllogC{\preA}{\preB}{\Conc} + +\comm{syllogTA} example: +\syllogTA{\preA}{\preB}{\Conc} + +\comm{syllogTAC} example: +\syllogTAC{\preA}{\preB}{\Conc} + +\end{document}% =============================================================
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/syllogism/README b/Master/texmf-dist/doc/latex/syllogism/README index 5dc90bf7a4f..e99f0ecdf23 100644 --- a/Master/texmf-dist/doc/latex/syllogism/README +++ b/Master/texmf-dist/doc/latex/syllogism/README @@ -4,4 +4,4 @@ It is fully configurable, allowing the user to tweak the various distances, line widths, and other options. Author: Nicolas Vaughan -License: LaTeX Project Public License
\ No newline at end of file +License: LaTeX Project Public License diff --git a/Master/texmf-dist/doc/latex/syllogism/syllogism.pdf b/Master/texmf-dist/doc/latex/syllogism/syllogism.pdf Binary files differindex 8b1baf1c5e4..90bad3b9a42 100644 --- a/Master/texmf-dist/doc/latex/syllogism/syllogism.pdf +++ b/Master/texmf-dist/doc/latex/syllogism/syllogism.pdf diff --git a/Master/texmf-dist/doc/latex/syllogism/syllogism.tex b/Master/texmf-dist/doc/latex/syllogism/syllogism.tex index 992605792ca..8ae9055a080 100644 --- a/Master/texmf-dist/doc/latex/syllogism/syllogism.tex +++ b/Master/texmf-dist/doc/latex/syllogism/syllogism.tex @@ -1,13 +1,13 @@ % Manual for the syllogism package -% (c) Nicol\'{a}s Vaughan 2008 (nvaughanc@unal.edu.co) +% (c) Nicolas Vaughan 2008 (nivaca@gmail.com) +% 25/10/2008 \documentclass[letterpaper, 10pt, ]{article} \usepackage[T1]{fontenc} -\usepackage[english, - ]{babel} +\usepackage[english]{babel} \usepackage[ colorlinks% @@ -34,7 +34,7 @@ % . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -\newcommand{\syllversion}{release 1.1} +\newcommand{\syllversion}{release 1.2} \newcommand{\syllp}{\texttt{\color{sred}syllogism}\xspace} \colorlet{sblue}{blue!60!black} \colorlet{sred}{red!60!black} @@ -57,7 +57,7 @@ Report bugs and submit questions to:\\ \texttt{nivaca@gmail.com} } -\date{June 2, 2008} +\date{Oct. 29, 2008} \makeindex \begin{document}% ============================================================= @@ -68,12 +68,21 @@ \section{Introduction} The \syllp package provides a simple way for neatly typesetting syllogisms and syllogistic-like arguments, composed of two premisses and a conclusion. It is fully configurable, allowing the user to tweak the various distances, line widths, and other options. +\section{Changelog} +\begin{description} + \item[v.\,1.2 (25/10/2008)] Changed the typesetting engine of \comm{syllog}. + \item[] Fixed a problem with \comm{syllogTAC}. (Thanks to Carlos Cortissoz for noticing this.) + \item[v.\,1.1 (02/06/2008)] Added a syllogism counter (\comm{c:syl}) and two new commands, \comm{syllogC} and \comm{syllogTAC}. +\end{description} + \section{How to use it~\label{S:howto}} You must set -\texttt{\textbackslash{}usepackage[\emph{options}]\{syllogism\}} before -\texttt{\textbackslash{}begin\{document\}} command. The available options +\comm{usepackage[\emph{options}]\{syllogism\}} before the +\comm{begin\{document\}} command. The available options are described in section~\S \ref{S:options}. +To install \syllp, just place it anywhere \LaTeX can find it (e.g., \url{/texmf-local/tex/latex/syllogism}). + \subsection{\comm{syllog}~\label{SS:syllog}~\maincind{syllog}~\index{main commands}} The main command provided by the package is \comm{syllog}, whose syntax is: @@ -146,11 +155,9 @@ The command \comm{syllogTA} works almost exactly as \comm{syllog}, the only diff \bigskip -As for today, \syllp supports three languages for this task: English, Spanish and Latin. The default language is English. (The language may be changed through a package option, see \S \ref{S:options} below). The added text for each language is shown in Table \S \ref{T:languages}. - -\bigskip +As for today, \syllp supports three languages for this task: English, Spanish and Latin. The default language is English. (The language may be changed through a package option, see \S \ref{S:options} below). The added text for each language is shown in Table \ref{T:languages}, below. -\begin{table} +\begin{table}[h] \begin{center} \begin{tabular}{lcc} & \textsc{second premiss} & \textsc{conclusion} \\ @@ -163,10 +170,7 @@ As for today, \syllp supports three languages for this task: English, Spanish an \end{center} \end{table} - -\bigskip - -For example, the following code: +For example, the following code: \begin{quote} \comm{syllogTA\{Every man except Socrates is musician\}}\%\\ @@ -183,7 +187,7 @@ Please note that the text may be defined through several commands provided also \subsection{\comm{syllogTAC}~\label{SS:syllogTAC}~\maincind{syllogTAC}} The command \comm{syllogTAC}, which adds an automatic counter to \comm{syllogTA}~\maincind{syllogTA}.% \footnote{See note \ref{N:slabel}, above. - } % + } % Its syntax is: \bigskip @@ -209,7 +213,7 @@ The option \texttt{english} is the default one. As stated previously, the text c \begin{description} \item[\comm{setpresyl}] Command~\addcind{setpresyl} for changing the horizontal space to the right of the syllogism (def=2em). \item[\comm{setsyllabel}] Command~\addcind{setsyllabel} for changing the horizonal space between the label and the syllogism (def=1em). - \item[\comm{setsylrh}] Command~\addcind{setsylrh} for changing the `width' of the rule (def=.5pt). + \item[\comm{setsylrh}] Command~\addcind{setsylrh} for changing the `width' of the rule (def=.3pt). \item[\comm{setsylsepa}] Command~\addcind{setsylsepa} for changing the vertical space before the syllogism (def=\texttt{\textbackslash{}baselineskip}). \item[\comm{setsylsepb}] Command~\addcind{setsylsepb} for changing the vertical space after the syllogism (def=\texttt{\textbackslash{}baselineskip}). \item[\comm{setsylsep}] Command~\addcind{setsylsep} for changing the vertical space \emph{both} before \emph{and} after the syllogism to the same value. |