PDFにページ数を挿入する場合
PDFにページ数を挿入する場合
PDFのファイル名はNo1,No2,No3の三枚
同じフォルダに入れる
\documentclass[uplatex,11pt]{jsarticle} \usepackage[top=15truemm,bottom=15truemm,left=15truemm,right=15truemm]{geometry} %余白 %図 \usepackage[dvipdfmx]{graphicx} %図の位置調整 改行後に[H] \usepackage{here} % 章が進むごとに図番号をリセットする \makeatletter% プリアンブルで定義開始 \renewcommand{\thefigure}{\arabic{figure}} \@addtoreset{figure}{section} \makeatother % プリアンブルで定義終了 %図とキャプションを狭くする \setlength\abovecaptionskip{5pt} %---------------------------------------------------% \begin{document} %---------- 1 ----------% \begin{figure}[H] %現在の位置に \centering \includegraphics[width=17cm]{No1.pdf} %図の挿入 \end{figure} %---------- 2 ----------% \newpage \begin{figure}[H] %現在の位置に \centering \includegraphics[width=17cm]{No2.pdf} %図の挿入 \end{figure} %---------- 3 ----------% \newpage \begin{figure}[H] %現在の位置に \centering \includegraphics[width=17cm]{No3.pdf} %図の挿入 \end{figure} \end{document}