Debian Codegraph @

texmf-dist/doc/latex/syllogism/Examples.tex

raw
1 \documentclass[letterpaper,
2 10pt,
3 ]{article}
4
5
6 \usepackage[T1]{fontenc}
7 \usepackage[english]{babel}
8 \usepackage{xcolor}
9
10 \usepackage{syllogism}
11
12 % . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13 \colorlet{sred}{red!60!black}
14 \newcommand{\syllp}{\texttt{\color{sred}syllogism}\xspace}
15 \colorlet{comcol}{green!45!black}
16 \newcommand{\comm}[1]{\texttt{\color{comcol}\textbackslash{}#1}\xspace} % commands
17
18 % . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19
20 \title{Examples for the \syllp package}
21 \author{(c) 2007--2008 \textsc{Nicolas Vaughan}\\ \\
22 Report bugs and submit questions to:\\
23 \texttt{[email protected]}
24 }
25 \date{Oct. 10, 2008}
26
27
28 \begin{document}% =============================================================
29 \setlength{\parindent}{0em}
30 \maketitle
31
32 \def\preA{All men except Socrates are able to laugh}
33 \def\preB{Socrates is a man}
34 \def\Conc{Socrates is not able to laugh}
35
36
37 \comm{syllog} example:
38 \syllog{\preA}{\preB}{\Conc}
39
40 \comm{syllogC} example:
41 \syllogC{\preA}{\preB}{\Conc}
42
43 \comm{syllogTA} example:
44 \syllogTA{\preA}{\preB}{\Conc}
45
46 \comm{syllogTAC} example:
47 \syllogTAC{\preA}{\preB}{\Conc}
48
49 \end{document}% =============================================================