summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-07-08 21:26:49 +0000
committerKarl Berry <karl@freefriends.org>2019-07-08 21:26:49 +0000
commitc4d25ba0abc929fb7d75595e5687bc7b362eeab2 (patch)
treec04f8d83a6b46302b6f41b05912840352f5ac943 /Master/texmf-dist/tex
parent8dd544702d71b30ddfdae8363aa9db69195c526d (diff)
logix (8jul19)
git-svn-id: svn://tug.org/texlive/trunk@51581 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/logix/logix.sty51
1 files changed, 37 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/logix/logix.sty b/Master/texmf-dist/tex/latex/logix/logix.sty
index bd6984eeb03..3c99c23f853 100644
--- a/Master/texmf-dist/tex/latex/logix/logix.sty
+++ b/Master/texmf-dist/tex/latex/logix/logix.sty
@@ -1,6 +1,7 @@
-% logix.sty
% Copyright (c) 2001..2019 by Michael Lee Finney.
%
+% logix.sty - 2019-07-07 v1.01
+%
% This work may be distributed and/or modified under the conditions of the
% LaTeX Project Public License, either version 1.3 of this license or (at your
% option) any later version. The latest version of this license is in
@@ -67,9 +68,9 @@
% columns):
%
% \begin{KnotGrid}
-% \KntLFC \KntTSN \KntHXSOSU \KntTSFN \KntTRSC \\
-% \KntNFSpace \KntHXSUSO \KntNNSpace \KntRQC \KntNQSpace \KntRSN \\
-% \KntLFC \KntBSN \KntHXSOSU \KntBSFN \KntRBSC
+% \KntLFC \KntTSN \KntHXSOSU \KntTSFN \KntTRSC \\
+% \KntNF \KntHXSUSO \KntNN \KntRQC \KntNQ \KntRSN \\
+% \KntLFC \KntBSN \KntHXSOSU \KntBSFN \KntRBSC
% \end{KnotGrid}
%
% where a grid cell would otheriwse be empty or where padding is required to satisfy
@@ -1180,6 +1181,9 @@
% be used for empty cells matching the the width and height of the current row
% and column and for padding a symbol.
%
+% The \KntlgX macros (where X is one of k, e, f, q or v) may be used to force
+% a specific height for a symbol.
+%
\newcommand \lgk[1] {\protect\raisebox{0.0000em}[0.7620em][0.2380em]{\ensuremath{\Umathchar "0 \symLogix "#1}}}
\newcommand \lge[1] {\protect\raisebox{0.0000em}[0.5120em][0.2380em]{\ensuremath{\Umathchar "0 \symLogix "#1}}}
@@ -1187,6 +1191,12 @@
\newcommand \lgq[1] {\protect\raisebox{0.0000em}[0.0120em][0.2380em]{\ensuremath{\Umathchar "0 \symLogix "#1}}}
\newcommand \lgv[1] {\protect\raisebox{0.4330em}[0.7620em][0.2380em]{\ensuremath{\Umathchar "0 \symLogix "#1}}}
+ \newcommand \Kntlgk[1] {\protect\raisebox{0.0000em}[0.7620em][0.2380em]{#1}}
+ \newcommand \Kntlge[1] {\protect\raisebox{0.0000em}[0.5120em][0.2380em]{#1}}
+ \newcommand \Kntlgf[1] {\protect\raisebox{0.0000em}[0.2620em][0.2380em]{#1}}
+ \newcommand \Kntlgq[1] {\protect\raisebox{0.0000em}[0.0120em][0.2380em]{#1}}
+ \newcommand \Kntlgv[1] {\protect\raisebox{0.4330em}[0.7620em][0.2380em]{#1}}
+
\newcommand \KntNN {\lgk{E210}} % Full height, full width space.
\newcommand \KntNE {\lgk{E211}} % Full height, three quarter width space.
\newcommand \KntNF {\lgk{E212}} % Full height, half width space.
@@ -1407,7 +1417,7 @@
\newcommand \KntTSNBSLA {\lgk{E1F0}} % Top solid line, bottom solid left arrow
\newcommand \KntLSUARSN {\lgk{E1F1}} % Left solid up arrow, right solid line
\newcommand \KntTSRABSN {\lgk{E1F2}} % Top solid right arrow, bottom solid line
- \newcommand \KntRSNRSDA {\lgk{E1F3}} % Left solid line, right solid down arrow
+ \newcommand \KntLSNRSDA {\lgk{E1F3}} % Left solid line, right solid down arrow
\newcommand \KntTSNBSRA {\lgk{E1F4}} % Top solid line, bottom solid right arrow
\newcommand \KntLSDARSN {\lgk{E1F5}} % Left solid down arrow, right solid line
\newcommand \KntTSLABSN {\lgk{E1F6}} % Top solid left arrow, bottom solid line
@@ -1415,29 +1425,42 @@
\newcommand \KntTDNBSLA {\lgk{E1F8}} % Top dashed line, bottom solid left arrow
\newcommand \KntLSUARDN {\lgk{E1F9}} % Left solid up arrow, right dashed line
\newcommand \KntTSRABDN {\lgk{E1FA}} % Top solid right arrow, bottom dashed line
- \newcommand \KntRDNRSDA {\lgk{E1FB}} % Left dashed line, right solid down arrow
- \newcommand \KntTDNBSRA {\lgk{E1FC}} % Top dashed line, bottom solid right arrow
+ \newcommand \KntLDNRSDA {\lgk{E1FB}} % Left dashed line, right solid down arrow
+ \newcommand \KntTSLABDN {\lgk{E1FC}} % Top solid left arrow, bottom dashed line
\newcommand \KntLDNRSUA {\lgk{E1FD}} % Left dashed line, right solid up arrow
- \newcommand \KntTSLABDN {\lgk{E1FE}} % Top solid left arrow, bottom dashed line
+ \newcommand \KntTDNBSRA {\lgk{E1FE}} % Top dashed line, bottom solid right arrow
\newcommand \KntLSDARDN {\lgk{E1FF}} % Left solid down arrow, right dashed line
\newcommand \KntTSNBDLA {\lgk{E200}} % Top solid line, bottom dashed left arrow
\newcommand \KntLDUARSN {\lgk{E201}} % Left dashed up arrow, right solid line
\newcommand \KntTDRABSN {\lgk{E202}} % Top dashed right arrow, bottom solid line
- \newcommand \KntRSNRDDA {\lgk{E203}} % Left solid line, right dashed down arrow
- \newcommand \KntTSNBDRA {\lgk{E204}} % Top solid line, bottom dashed right arrow
+ \newcommand \KntLSNRDDA {\lgk{E203}} % Left solid line, right dashed down arrow
+ \newcommand \KntTDLABSN {\lgk{E204}} % Top dashed left arrow, bottom solid line
\newcommand \KntLSNRDUA {\lgk{E205}} % Left solid line, right dashed up arrow
- \newcommand \KntTDLABSN {\lgk{E206}} % Top dashed left arrow, bottom solid line
+ \newcommand \KntTSNBDRA {\lgk{E206}} % Top solid line, bottom dashed right arrow
\newcommand \KntLDDARSN {\lgk{E207}} % Left dashed down arrow, right solid line
\newcommand \KntTDNBDLA {\lgk{E208}} % Top dashed line, bottom dashed left arrow
\newcommand \KntLDUARDN {\lgk{E209}} % Left dashed up arrow, right dashed line
\newcommand \KntTDRABDN {\lgk{E20A}} % Top dashed right arrow, bottom dashed line
- \newcommand \KntRDNRDDA {\lgk{E20B}} % Left dashed line, right dashed down arrow
- \newcommand \KntTDNBDRA {\lgk{E20C}} % Top dashed line, bottom dashed right arrow
+ \newcommand \KntLDNRDDA {\lgk{E20B}} % Left dashed line, right dashed down arrow
+ \newcommand \KntTDLABDN {\lgk{E20C}} % Top dashed left arrow, bottom dashed line
\newcommand \KntLDNRDUA {\lgk{E20D}} % Left dashed line, right dashed up arrow
- \newcommand \KntTDLABDN {\lgk{E20E}} % Top dashed left arrow, bottom dashed line
+ \newcommand \KntTDNBDRA {\lgk{E20E}} % Top dashed line, bottom dashed right arrow
\newcommand \KntLDDARDN {\lgk{E20F}} % Left dashed down arrow, right dashed line
+ \newcommand \KntTSNF {\lgf{E214}} % Top solid line, half height
+ \newcommand \KntRSNF {\lgk{E215}} % Right solid line, half width
+ \newcommand \KntBSNF {\lgf{E216}} % Bottom solid line, half height
+ \newcommand \KntLSNF {\lgk{E217}} % Left solid line, half width
+ \newcommand \KntTSFNF {\lgf{E218}} % Top solid half line, half height
+ \newcommand \KntRSFNF {\lgf{E219}} % Right solid half line, half width
+ \newcommand \KntBSFNF {\lgf{E21A}} % Bottom solid half line, half height
+ \newcommand \KntLSFNF {\lgf{E21B}} % Left solid half line, half width
+ \newcommand \KntTSQNF {\lgf{E21C}} % Top solid forth line, half height
+ \newcommand \KntRSQNF {\lgq{E21D}} % Right solid forth line, half width
+ \newcommand \KntBSQNF {\lgf{E21E}} % Bottom solid forth line, half height
+ \newcommand \KntLSQNF {\lgq{E21F}} % Left solid forth line, half width
+
\newcommand \Kntzero {\lgv{EFB0}} % Monospace raised italic, serif font: digit 0
\newcommand \Kntone {\lgv{EFB1}} % Monospace raised italic, serif font: digit 1
\newcommand \Knttwo {\lgv{EFB2}} % Monospace raised italic, serif font: digit 2