
일부 3D 그림에 레이블을 지정하려고 합니다. MWE는 다음과 같습니다.
\documentclass[tikz]{standalone}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\tdplotsetmaincoords{70}{110}
\begin{tikzpicture}[scale=2.54,tdplot_main_coords]
\def\a{0.5}
\draw[->] (0,0,0) -- (1,0,0) node[anchor=north east]{x};
\draw[->] (0,0,0) -- (0,1,0) node[anchor=north west]{y};
\draw[,->] (0,0,0) -- (0,0,1) node[anchor=south]{z};
\coordinate (E) at (\a,0,0);
\coordinate (A) at (0,0,0);
\coordinate (B) at (0,\a,0);
\coordinate (C) at (0,0,\a);
\tkzMarkAngle[size=0.2cm,draw=red](B,A,C);
% \tkzMarkAngle[size=0.2cm,draw=blue](C,A,E);
\end{tikzpicture}
\end{document}
이것은 내가 바라는 대로 작동합니다.
그러나 주석 처리된 줄을 발견하면 이미지 왼쪽에 추가 공백이 발생합니다. 이것을 비활성화할 수 있는 방법이 있나요? 훨씬 더 복잡한 이미지가 있고 다른 각도에 차례로 레이블을 지정하고 싶지만 매번 크기를 변경할 수는 없습니다.
답변1
CTAN의 tkz-euclide 마지막 버전 사용v 3.01c
tikz-3dplot
TikZ를 로드 하기 때문에 tkz-euclide
TikZ를 로드 할 필요가 없습니다.
\documentclass[tikz]{standalone}
\usepackage{tikz-3dplot}
\usepackage{tkz-euclide}
\begin{document}
\tdplotsetmaincoords{70}{110}
\begin{tikzpicture}[scale=2.54,tdplot_main_coords]
\def\a{0.5}
\draw[->] (0,0,0) -- (1,0,0) node[anchor=north east]{x};
\draw[->] (0,0,0) -- (0,1,0) node[anchor=north west]{y};
\draw[,->] (0,0,0) -- (0,0,1) node[anchor=south]{z};
\coordinate (E) at (\a,0,0);
\coordinate (A) at (0,0,0);
\coordinate (B) at (0,\a,0);
\coordinate (C) at (0,0,\a);
\tkzMarkAngle[size=0.2cm,draw=red](B,A,C);
\tkzMarkAngle[size=0.2cm,draw=blue](C,A,E);
\end{tikzpicture}
\end{document}