summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/profcollege/latex/PfCSolides.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-08-01 03:01:19 +0000
committerNorbert Preining <norbert@preining.info>2023-08-01 03:01:19 +0000
commit84777905249300f2ab97a23141e31f952bceb865 (patch)
tree5621415ee6ecbcbe62e4c500977af3c41aeebd9c /macros/latex/contrib/profcollege/latex/PfCSolides.tex
parent17d547a1effe2cafcdfbf704bdf8cb0484790ef2 (diff)
CTAN sync 202308010301
Diffstat (limited to 'macros/latex/contrib/profcollege/latex/PfCSolides.tex')
-rw-r--r--macros/latex/contrib/profcollege/latex/PfCSolides.tex12
1 files changed, 10 insertions, 2 deletions
diff --git a/macros/latex/contrib/profcollege/latex/PfCSolides.tex b/macros/latex/contrib/profcollege/latex/PfCSolides.tex
index ef0829af90..7ae73c4b00 100644
--- a/macros/latex/contrib/profcollege/latex/PfCSolides.tex
+++ b/macros/latex/contrib/profcollege/latex/PfCSolides.tex
@@ -8,8 +8,9 @@
\newcommand\MPSolideCylindre[3]{%
\ifluatex
- \mplibforcehmode
- \begin{mplibcode}
+ \mplibnumbersystem{double}
+ \mplibforcehmode
+ \begin{mplibcode}
input PfCSolid;
boolean NommeSommets,Code,Sections,Axes,RemplisSection;
@@ -213,6 +214,7 @@
\newcommand\MPSolidePyramide[4]{%
\ifluatex
+ \mplibnumbersystem{double}
\mplibforcehmode
\begin{mplibcode}
@@ -384,6 +386,7 @@
\newcommand\MPSolideCone[3]{%
\ifluatex
+ \mplibnumbersystem{double}
\mplibforcehmode
\begin{mplibcode}
boolean NommeSommets,Code,Sections,Axes,RemplisSection;
@@ -534,6 +537,7 @@
\newcommand\MPSolidePave[5]{%
\ifluatex
+ \mplibnumbersystem{double}
\mplibforcehmode
\begin{mplibcode}
input PfCSolid;
@@ -710,6 +714,7 @@
\newcommand\MPSolideSphere[3]{%
\ifluatex
+ \mplibnumbersystem{double}
\mplibforcehmode
\begin{mplibcode}
boolean NommeSommets,Code,Sections,Axes,RemplisSection;
@@ -866,5 +871,8 @@
{sphere}{%
\MPSolideSphere{\useKV[ClesSolides]{ListeSommets}}{\the\toksolidelistesommets}{\useKV[ClesSolides]{PointsSection}}%
}%
+ {boule}{%
+ \MPSolideSphere{\useKV[ClesSolides]{ListeSommets}}{\the\toksolidelistesommets}{\useKV[ClesSolides]{PointsSection}}%
+ }%
}%
}% \ No newline at end of file