如何关闭此行?我试过了,但失败了!
\documentclass{article}
\begin{document}
\begin{picture}(50,50)
\put(22.5,7){\oval(3,2)[lt]}
\put(22.5,7){\oval(3,2)[bl]}
\put(22.5,7){\oval(3,2)[tr]}
\put(25,7){\oval(2,2)[b]}
\put(27.5,7){\oval(3,2)[rt]}
\put(27.5,7){\oval(3,2)[br]}
\put(27.5,7){\oval(3,2)[t]}
\put(25,4.5){\oval(2,3)[b]}
\put(25,4.5){\oval(2,3)[br]}
\put(25,4.5){\oval(2,3)[bl]}
\put(23,4){\oval(2,4)[tr]}
\put(27,4){\oval(2,4)[tl]}
\end{picture}
\end{document}
答案1
答案2
除了加载之外pict2e
,您还可以添加一些小段来填补空白。
\documentclass{article}
\usepackage{pict2e}
\begin{document}
A
\begin{picture}(9,5)
\put(2,4){\oval(3,2)[lt]}
\put(2,4){\oval(3,2)[bl]}
\put(2,4){\oval(3,2)[tr]}
\put(4.5,4){\oval(2,2)[b]}
\put(7,4){\oval(3,2)[rt]}
\put(7,4){\oval(3,2)[br]}
\put(7,4){\oval(3,2)[t]}
\put(4.5,1.5){\oval(2,3)[b]}
\put(4.5,1.5){\oval(2,3)[br]}
\put(4.5,1.5){\oval(2,3)[bl]}
\put(2.5,1){\oval(2,4)[tr]}
\put(6.5,1){\oval(2,4)[tl]}
\put(2,3){\line(1,0){0.5}} % <---
\put(7,3){\line(-1,0){0.5}} % <---
\end{picture}
\end{document}
我把尺寸缩小了。