
答え1
このdash expand off
オプションは役に立つかもしれません。
TikZとPGFよりマニュアル:
/tikz/dash expand off
ダッシュ パターンの一部を拡張可能にし
off
て、伸ばせるようにします。これは、単一のフィールドがあり、ライブラリを必要とする場合にのみ機能しますon
。off
現在decorations
、このオプションは、適用される時点で が既知である必要があるため、ダッシュ パターン オプションの後に有効になるはずのパスで指定する必要がありますdash pattern
。
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations}
\begin{document}
\begin{tikzpicture}
\draw [dotted,dash expand off] (0,0.1) -- (1.02,0.1);
\draw [dotted,dash expand off] (0,0) -- (1,0);
\end{tikzpicture}
\end{document}