
セクションでラベルを使用した後に発生するインデントを削除したいです。どうすれば削除できますか?
text2
では、 PDF で作成されたインデント (スペース) を削除するにはどうすればよいでしょうか。
\documentclass{article}
\begin{document}
\section{test1}
Text1
\section{test2}~\label{test2}
Text2
\end{document}
章と節についてもこれと同じです。
答え1
~
間の部分を削除し\section
て\label
不要なインデントを削除すると、次のようになります。
\documentclass{article}
\begin{document}
\section{test1}
Text1
\section{test2}\label{test2}
Text2
\end{document}
と\ref
:
\documentclass{article}
\begin{document}
\section{test1}
Text1
\section{test2}\label{test2}
Text2 Reference to the second section's label: \ref{test2}
\end{document}