
MiKTeX의 마지막 버전을 사용하고 있습니다. 마지막 업데이트 후에 TikZ 라이브러리가 hobby
더 이상 작동하지 않는다는 것을 깨달았습니다. 의 답변에서 제안한대로이 질문, 다음에서 다시 다운로드했습니다.여기하지만 파일을 컴파일할 때 tex hobby.dtx
오류가 발생했습니다.
======================================================================
! LaTeX Error: File `l3doc.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
Enter file name:
MiKTeX를 다시 업데이트했지만 여전히 같은 오류가 발생합니다. 그리고 취미 라이브러리가 포함된 Latex 파일을 컴파일할 때 오류가 발생합니다.
!...............................................
l.185 ...riant:Nn \__msg_show_variable:Nnn { Nno }
|'''''''''''''''''''''''''''''''''''''''''''''''
| This is a coding error.
|
| LaTeX has been asked to use a control sequence '\__msg_show_variable:Nnn':
| this has not been defined yet.
|...............................................
)
.................................................
이것은 내가 컴파일한 예입니다.
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{hobby,decorations.markings}
\begin{document}
\begin{tikzpicture}[use Hobby shortcut]
% middle crossing loop
% \draw (3,-1) .. (2,0) .. (0,0.93) .. (-0.93,0) .. (0,-0.93) .. (2,0) .. (3,1);
\begin{scope}
\clip (3,-1) rectangle (2,1);
\draw[thick, blue, fill=blue!30] (3,-1) .. (2,0) .. (0,0.93) .. (-0.93,0) .. (0,-0.93) .. (2,0) .. (3,1);
\end{scope}
\begin{scope}
\clip (2,1) rectangle (-1,-1);
\draw[thick, red, fill=red!30] (3,-1) .. (2,0) .. (0,0.93) .. (-0.93,0) .. (0,-0.93) .. (2,0) .. (3,1);
\end{scope}
% filled points
\fill (0,0) circle (1pt);
\fill (2,0) circle (1pt);
\end{tikzpicture}
\end{document}