diff options
author | Karl Berry <karl@freefriends.org> | 2023-11-14 21:01:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-11-14 21:01:43 +0000 |
commit | ad6651593c6259f4a2b589ce436bf3516a36a3f5 (patch) | |
tree | 2d397bf7d3edbca4c35a0792e55e097ad0a66f06 /Master/texmf-dist | |
parent | 4db9d72d1866799df6d183836339f08b29ca5d59 (diff) |
pmdraw (14nov23)
git-svn-id: svn://tug.org/texlive/trunk@68836 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
29 files changed, 156 insertions, 71 deletions
diff --git a/Master/texmf-dist/doc/latex/pmdraw/README.md b/Master/texmf-dist/doc/latex/pmdraw/README.md index a2feb8f4e59..f23321eb2ad 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/README.md +++ b/Master/texmf-dist/doc/latex/pmdraw/README.md @@ -2,8 +2,11 @@ pmdraw ====== <!-- + +README V1.1 2023-11-14 + *------------------------------* -|0````````````````````````````5| +|3````````````````````````````7| |`````____````____`````````````| |````|MFMF\ /MFMF|````````````| |````|MF|MF\/MF|MF|````````````| @@ -15,13 +18,12 @@ pmdraw |``````````````|MF|````````````| |``````````````|MF|````````````| |``````````````|MF|````````````| -|3````````````````````````````8| +|8````````````````````````````7| *------------------------------* --> - The `pmdraw` package allows you to draw elements of the Partition -Monoids, commonly referred to diagrams. The package provides a lot of +Monoids, commonly referred to as diagrams. The package provides a lot of flexibility to draw most diagrams and can be customised as needed. The package makes use of the `tikz` and `keyval` packages. diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-1.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-1.tex index 74ee80e96b1..402c418a152 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-1.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-1.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |4````````````````````````````8| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |1````````````````````````````8| % *------------------------------* \pmdBrick[ % Options diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-10.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-10.tex index ae6535244e6..01d1502f32c 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-10.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-10.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |6````````````````````````````8| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |2````````````````````````````8| % *------------------------------* \pmdDiagram{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-11.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-11.tex index 84c6ae8a931..9729320f404 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-11.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-11.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |4````````````````````````````8| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |8````````````````````````````3| % *------------------------------* \pmdDiagram{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-12.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-12.tex index 2e72dc7519f..f21946849fb 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-12.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-12.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |6````````````````````````````7| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |2````````````````````````````4| % *------------------------------* \pmdDiagram{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-13.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-13.tex index 716e8b11659..c3a189e202b 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-13.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-13.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |8````````````````````````````7| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |2````````````````````````````8| % *------------------------------* \pmdProduct diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-14.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-14.tex index 72d2b8ead0c..0ad77f546df 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-14.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-14.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |6````````````````````````````2| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |4````````````````````````````1| % *------------------------------* \pmdDiagram diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-15.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-15.tex index bed21df5101..672965eb131 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-15.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-15.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |3````````````````````````````7| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |1````````````````````````````6| % *------------------------------* \pmdDiagram diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-16.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-16.tex index 4a5f4f90bb5..efacb4d246d 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-16.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-16.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |3````````````````````````````0| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |1````````````````````````````9| % *------------------------------* \pmdProduct diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-17.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-17.tex index 8b23ff09030..97c6052f8af 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-17.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-17.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |9````````````````````````````0| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |7````````````````````````````0| % *------------------------------* \pmdDiagram[grid]{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-18.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-18.tex index 136fd35d725..2d1014a1cb1 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-18.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-18.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |8````````````````````````````0| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |4````````````````````````````0| % *------------------------------* \pmdDiagram{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-19.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-19.tex index 14b31e82111..32c24bcf23d 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-19.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-19.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |7````````````````````````````6| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |7````````````````````````````3| % *------------------------------* \pmdDiagram[grid]{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-2.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-2.tex index 3b72c7bf01d..c80de8e5a3f 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-2.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-2.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |0````````````````````````````5| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |0````````````````````````````3| % *------------------------------* \pmdBrick[ % Options diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-20.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-20.tex index f6f179ff5ab..8d0bc25cb3c 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-20.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-20.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |0````````````````````````````9| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |3````````````````````````````8| % *------------------------------* \usetikzlibrary{patterns} diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-21.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-21.tex index 3c97be7e11f..e4bd9556cc5 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-21.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-21.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |8````````````````````````````7| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |7````````````````````````````3| % *------------------------------* \usetikzlibrary{patterns} diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-22.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-22.tex index 1f551db62bb..c7aa5c4cba1 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-22.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-22.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |7````````````````````````````9| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |6````````````````````````````5| % *------------------------------* \usetikzlibrary{patterns} diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-23.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-23.tex index 016bee3c5c3..d2ae85c4e72 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-23.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-23.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |6````````````````````````````5| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |4````````````````````````````3| % *------------------------------* \usetikzlibrary{patterns} diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-24.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-24.tex index a4169912f79..7b93adc805d 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-24.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-24.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |6```````````````````````````0| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |9````````````````````````````8| % *------------------------------* \pmdProduct[ % Options diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-25.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-25.tex index b3ae92b5460..bea76db2f3c 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-25.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-25.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |9````````````````````````````1| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |4````````````````````````````2| % *------------------------------* \pmdDiagram{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-3.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-3.tex index 56545534057..09a5256eac9 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-3.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-3.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |6````````````````````````````2| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |9````````````````````````````4| % *------------------------------* \pmdDiagram{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-4.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-4.tex index 953fec4e420..bbbf5bd819d 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-4.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-4.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |1````````````````````````````1| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |8````````````````````````````3| % *------------------------------* \pmdDiagram{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-5.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-5.tex index 5e5f7529d8e..e7a9c63e96f 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-5.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-5.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |1````````````````````````````2| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |2````````````````````````````8| % *------------------------------* \pmdProduct{ % Added edges diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-6.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-6.tex index 6061318eb26..18a47a794c8 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-6.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-6.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |4````````````````````````````5| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |1````````````````````````````9| % *------------------------------* \pmdProduct[ % Options diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-7.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-7.tex index 50d66775ca8..171bf113a47 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-7.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-7.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |3````````````````````````````6| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |3````````````````````````````2| % *------------------------------* \pmdDiagram{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-8.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-8.tex index 61e9ef6457c..6ed2f2cf5c4 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-8.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-8.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |0````````````````````````````7| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |7````````````````````````````9| % *------------------------------* \pmdDiagram{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/examples/example-9.tex b/Master/texmf-dist/doc/latex/pmdraw/examples/example-9.tex index 39d5cc33196..8e7d87023fb 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/examples/example-9.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/examples/example-9.tex @@ -1,7 +1,7 @@ %!TEX root = ../pmdraw.tex % *------------------------------* -% |`````````````````````````````x| +% |1````````````````````````````1| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |``````````````````````````````| +% |7````````````````````````````4| % *------------------------------* \pmdDiagram{ diff --git a/Master/texmf-dist/doc/latex/pmdraw/pmdraw.pdf b/Master/texmf-dist/doc/latex/pmdraw/pmdraw.pdf Binary files differindex 4f598dde7e6..6335dcefb53 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/pmdraw.pdf +++ b/Master/texmf-dist/doc/latex/pmdraw/pmdraw.pdf diff --git a/Master/texmf-dist/doc/latex/pmdraw/pmdraw.tex b/Master/texmf-dist/doc/latex/pmdraw/pmdraw.tex index a3c9a93fb7c..48518dba791 100644 --- a/Master/texmf-dist/doc/latex/pmdraw/pmdraw.tex +++ b/Master/texmf-dist/doc/latex/pmdraw/pmdraw.tex @@ -1,7 +1,7 @@ \documentclass{ltxdoc} % *------------------------------* -% |2````````````````````````````7| +% |2````````````````````````````4| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -13,7 +13,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |8````````````````````````````2| +% |2````````````````````````````2| % *------------------------------* \usepackage{pmdraw} @@ -26,13 +26,13 @@ \hypersetup{colorlinks, linkcolor=blue, urlcolor=blue} \title{The \textsf{pmdraw} package\thanks{This document - corresponds to \textsf{pmdraw}~v1.0, 2023-11-08.}} + corresponds to \textsf{pmdraw}~v1.1, 2023-11-14.}} \author{Matthias Fresacher \\ \texttt{matthias.ypg37@slmail.me}} \maketitle \begin{abstract} -The \texttt{pmdraw} package allows you to draw elements of the Partition Monoids, commonly referred to diagrams. The package provides a lot of flexibility to draw most diagrams and can be customised as needed. +The \texttt{pmdraw} package allows you to draw elements of the Partition Monoids, commonly referred to as diagrams. The package provides a lot of flexibility to draw most diagrams and can be customised as needed. \end{abstract} \tableofcontents @@ -2392,6 +2392,84 @@ The following options can be used for both diagrams (\verb`\pmdDiagram`) and pro \DescribeMacro{row sep} same as \texttt{row sep} option in bricks but applied to all bricks within (product) diagram. +\DescribeMacro{tikz} +passes through options to \texttt{tikz} environment. Specifically, the options in \verb`\begin{tikzpicture}[<options>]`. The default is no argument. However there are some default options passed to \texttt{tikz} automatically. This are \texttt{scale=.5}, and an adjustment to the \texttt{baseline} depending on the current typesetting mode and a \texttt{grid} key if the grid is activated. +\begin{center} + \begin{minipage}{\dimexpr0.85\textwidth-2\fboxrule-2\fboxsep\relax} + \begin{minipage}[c]{0.4\linewidth} +\begin{verbatim} +\pmdDiagram[ % Options + tikz={scale=2} +]{ + { % Brick 1 + [ % Options + degree=2, + brace={ + left=1, + right=4, + label={n} + } + ]{ % Upper non-transversal edges + \pmdEmpty + }{ % Lower non-transversal edges + \pmdEmpty + }{ % Transversal edges + {1}{1} + {2}{2} + } + }{ % Brick 2 + [ % Options + degree=1 + ]{ % Upper non-transversal edges + \pmdEmpty + }{ % Lower non-transversal edges + \pmdEmpty + }{ % Transversal edges + {1}{1} + } + } +} +\end{verbatim} + \end{minipage} + \hfill + \begin{minipage}[c]{0.4\linewidth} + \end{minipage} + \end{minipage}% +\end{center} +\begin{center} +\pmdDiagram[ % Options + tikz={scale=2} +]{ + { % Brick 1 + [ % Options + degree=2, + brace={ + left=1, + right=4, + label={n} + } + ]{ % Upper non-transversal edges + \pmdEmpty + }{ % Lower non-transversal edges + \pmdEmpty + }{ % Transversal edges + {1}{1} + {2}{2} + } + }{ % Brick 2 + [ % Options + degree=1 + ]{ % Upper non-transversal edges + \pmdEmpty + }{ % Lower non-transversal edges + \pmdEmpty + }{ % Transversal edges + {1}{1} + } + } +} +\end{center} + \DescribeMacro{dots options} allows for the redefinition of the command that draws dots between bricks. It has two arguments, the \( x \) and \( y \)-position of the dots. The default is \begin{verbatim} @@ -2790,8 +2868,7 @@ The following are some of the aims for the future for this package: \item Add warning and error messages to log. \item Allow all brick keys to work as diagram keys that apply to all bricks in a diagram. This will require setting up a flag for each key so that the diagram key sets the brick key but the brick key is not reset after drawing the first brick. This process also will need to be able to handle when a single brick has a custom special different key value and that this is reset to the digram key value and not the global default key value. \item Allow appropriate diagram keys to work as brick keys. Notably the \texttt{grid} key. - \item Create a \texttt{tikz} key for passing options to the \texttt{tikz} environment. Have as an example a different scale for diagram. - \item The creation of user profiles that allows for fast and efficient setting of default key values that are different to the package defaults. Hence within a diagram, there can be a number of differetn diagram styles that can be accessed with one command. + \item The creation of user profiles that allows for fast and efficient setting of default key values that are different to the package defaults. Hence within a diagram, there can be a number of different diagram styles that can be accessed with one command. \item Allow for adjusting the horizontal spacing of vertices. Need to think about making that a simple scale factor so that integer interface for edge positions is the same but then hooks will have very messy coordinates or keep it as absolute coordinates with messy edges. Alternatively, do both, allowing the user to choose which option to do and somehow distinguish between the two in the background. \end{enumerate} diff --git a/Master/texmf-dist/tex/latex/pmdraw/pmdraw.sty b/Master/texmf-dist/tex/latex/pmdraw/pmdraw.sty index 9799aa628ba..fb2c77e70c7 100644 --- a/Master/texmf-dist/tex/latex/pmdraw/pmdraw.sty +++ b/Master/texmf-dist/tex/latex/pmdraw/pmdraw.sty @@ -1,8 +1,8 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{pmdraw}[2023-11-08 v1.0 pmdraw] +\ProvidesPackage{pmdraw}[2023-11-14 v1.1 pmdraw] % *------------------------------* -% |4````````````````````````````9| +% |0````````````````````````````4| % |`````____````____`````````````| % |````|MFMF\ /MFMF|````````````| % |````|MF|MF\/MF|MF|````````````| @@ -14,7 +14,7 @@ % |``````````````|MF|````````````| % |``````````````|MF|````````````| % |``````````````|MF|````````````| -% |9````````````````````````````6| +% |9````````````````````````````0| % *------------------------------* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -165,6 +165,7 @@ \renewcommand{\pmdraw@ifGrid}{0}% Hides grid \renewcommand{\pmdraw@ifDiagWDots}{0}% Reset if drawing a diagram with dots \renewcommand{\pmdraw@rowSep}{2}% Resets vertical separation between rows of vertices in brick + \renewcommand{\pmdraw@tikz}{} % Resets tikz options \setcounter{pmdraw@blankB}{0}% Resets number of blank vertices in bottom row to the left of brick \setcounter{pmdraw@blankT}{0}% Resets number of blank vertices in top row to the left of brick \setcounter{pmdraw@bottomShift}{0}% Resets shift on right end of bottom row of brick @@ -174,6 +175,8 @@ \newcommand{\pmdraw@rowSep}{2} % Vertical separation between rows of vertices in brick +\newcommand{\pmdraw@tikz}{} % Tikz options + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % Counters % @@ -445,6 +448,9 @@ \define@key{pmdraw@diagram}{row sep}{ % Sets vertical separation between rows of vertices in diagram \renewcommand{\pmdraw@rowSep}{#1} } +\define@key{pmdraw@diagram}{tikz}{ % Sets the tikz options + \renewcommand{\pmdraw@tikz}{#1} +} \define@key{pmdraw@diagram}{dots options}{ % Sets the draw command of dots between bricks \renewcommand{\pmdraw@drawDots}[2]{#1} } @@ -489,9 +495,9 @@ \ifmmode% If drawing diagram in a maths equation \,% Add space \ifnum\pmdraw@ifGrid=1% If displaying helper grid - \begin{tikzpicture}[scale=.5,baseline=0.405cm,show grid=true]% + \begin{tikzpicture}[scale=.5,baseline=0.405cm,show grid=true,apply style/.expand once=\pmdraw@tikz]% \else% If not displaying helper grid - \begin{tikzpicture}[scale=.5,baseline=0.405cm]% + \begin{tikzpicture}[scale=.5,baseline=0.405cm,apply style/.expand once=\pmdraw@tikz]% \fi% \pmdraw@hookBeforeDiagram% Hook before drawing diagrams \pmdraw@bricksLoop% Commences loop for each brick to be drawn @@ -503,9 +509,9 @@ \else% If drawing diagram in normal text \raisebox{0.5cm}{% Raise diagram so bottom row is on text baseline \ifnum\pmdraw@ifGrid=1% If displaying helper grid - \begin{tikzpicture}[scale=.5,baseline=0.405cm,show grid=true]% + \begin{tikzpicture}[scale=.5,baseline=0.405cm,show grid=true,apply style/.expand once=\pmdraw@tikz]% \else% If not displaying helper grid - \begin{tikzpicture}[scale=.5,baseline=0.405cm]% + \begin{tikzpicture}[scale=.5,baseline=0.405cm,apply style/.expand once=\pmdraw@tikz]% \fi% \pmdraw@hookBeforeDiagram% Hook before drawing diagrams \pmdraw@bricksLoop% Commences loop for each brick to be drawn @@ -529,9 +535,9 @@ \ifmmode% If drawing diagram in a maths equation \,% Add space \ifnum\pmdraw@ifGrid=1% If displaying helper grid - \begin{tikzpicture}[scale=.5,baseline=-.3475cm,show grid=true]% + \begin{tikzpicture}[scale=.5,baseline=-.3475cm,show grid=true,apply style/.expand once=\pmdraw@tikz]% \else% If not displaying helper grid - \begin{tikzpicture}[scale=.5,baseline=-.3475cm]% + \begin{tikzpicture}[scale=.5,baseline=-.3475cm,apply style/.expand once=\pmdraw@tikz]% \fi% \pmdraw@hookBeforeDiagram% Hook before drawing diagrams \pmdraw@AedgesLoop% Commences loop for added edges to be drawn @@ -559,9 +565,9 @@ \else% If drawing diagram in normal text \raisebox{2cm}{% Raise diagram so bottom row is on text baseline \ifnum\pmdraw@ifGrid=1% If displaying helper grid - \begin{tikzpicture}[scale=.5,baseline=0.405cm,show grid=true]% + \begin{tikzpicture}[scale=.5,baseline=0.405cm,show grid=true,apply style/.expand once=\pmdraw@tikz]% \else% If not displaying helper grid - \begin{tikzpicture}[scale=.5,baseline=0.405cm]% + \begin{tikzpicture}[scale=.5,baseline=0.405cm,apply style/.expand once=\pmdraw@tikz]% \fi% \pmdraw@hookBeforeDiagram% Hook before drawing diagrams \pmdraw@AedgesLoop% Commences loop for added edges to be drawn |