diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/syllogism/Examples.tex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/syllogism/Examples.tex')
-rw-r--r-- | macros/latex/contrib/syllogism/Examples.tex | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/macros/latex/contrib/syllogism/Examples.tex b/macros/latex/contrib/syllogism/Examples.tex new file mode 100644 index 0000000000..d9443cadcb --- /dev/null +++ b/macros/latex/contrib/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 |