
비어 있지 않은 경우에만 toc를 어떻게 인쇄할 수 있나요?
\documentclass{article}
\begin{document}
%if there is a section, toc will be printed, else it wont be
\tableofcontents
%\section%in this case it wont be printed
A
\end{document}
비어 있지 않은 경우에만 toc를 어떻게 인쇄할 수 있나요?
\documentclass{article}
\begin{document}
%if there is a section, toc will be printed, else it wont be
\tableofcontents
%\section%in this case it wont be printed
A
\end{document}