グラフィックが表示されない

グラフィックが表示されない

問題は次のとおりです: グラフィック (png) を含めましたが、エラー メッセージは表示されませんが、画像が PDF に表示されません。.png ファイルは正しいのですが、何が問題なのかわかりません。

これが私のコードです:

\documentclass{book}

\usepackage[ngerman]{babel}
\usepackage{mathptmx}
\usepackage{color}
\usepackage[final]{pdfpages} 
\usepackage{xcolor,bookmark}
\usepackage{scrextend}
\usepackage{titlepic}
\usepackage{shorttoc}
\usepackage{courier}
\usepackage{type1cm}         
\usepackage{zref-abspage}
\usepackage{makeidx}         

\usepackage{graphicx}        % standard LaTeX graphics tool
                             % when including figure files
\usepackage{multicol}        % used for the two-column index
\usepackage[bottom]{footmisc}% places footnotes at page bottom
\usepackage{shadethm}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{xcolor}
\usepackage{marginnote}
\usepackage{mdframed}
\makeindex             % used for the subject index
                       % please use the style svind.ist with
                       % your makeindex program

\definecolor{shadethmcolor}{rgb}{.9,.9,.95}%
\definecolor{shadethmcolor2}{rgb}{1,.925,.545}%

\newtheoremstyle{mystyle}
  {\topsep}{\topsep}{}{}%
  {\bfseries}{:}{.5em}{}%

\theoremstyle{mystyle}

\newmdtheoremenv[hidealllines=true,backgroundcolor=shadethmcolor,skipabove=\topsep,
skipbelow=\topsep]{beispiel}{Beispiel}

\newmdtheoremenv[hidealllines=true,
backgroundcolor=shadethmcolor2,skipabove=\topsep,
skipbelow=\topsep]{formel}{Formel}


\begin{document}
\begin{figure}[H]
\includegraphics[scale=1]{Zinsrechnung.png}
\caption{geometrisches Mittel}\label{fig:zins}
\end{figure}
\end{document}

答え1

グラフィックが表示されない

グラフィックが表示されない原因は何でしょうか?

この幅広い質問の見出しを読んでいるすべての読者にとって、グラフィックが表示されない一般的な原因をすべて収集することは有益かもしれません。ぜひ、あなたの経験を追加してください。

  • グラフィックがページからはみ出している可能性があります。次の点を確認してください: グラフィックをもっと小さくしてもう一度確認する ( \includegraphics[scaled=0.1]{picture})、グラフィックを用紙の中央に配置する ( \vfill\includegraphics{picture}\vfill)、用紙を大きくする (例: 用紙 A2)。
  • graphicxパッケージはdraftまたはdemoモードにあります。またはメインの\documentclassusesdraftオプション (これはすべての に渡されます\usepackage)
  • グラフィック ファイルが見つかりませんが、ユーザーが を使用する何らかのスクリプトを使用しているため、エラーは表示されませんbatchmode。 考えられるチェック: ファイル内のエラーを探します.log

関連情報