Блог пользователя EROR

Автор EROR, 10 лет назад, По-английски

I am trying to create some problems in codeforces polygon system. In one of my problem i need to display some images for better understanding. I uploaded my image in the resource. But to integrate a image in the problem statement. Can any one help me by providing the answer..

Thnx in advance.

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
10 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

You should write the following code in problem statement:

\begin{center}
\includegraphics{image.png}
\end{center}

This works when you just want HTML output. But in order to make PDF output work as well, something like this is needed:

\begin{center}
\includegraphics[bb=0 0 100 200]{image.png}
\end{center}