Page LayoutInclude pdf in existing latex file in same page with other content

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
nnannos
Posts: 1
Joined: Wed Oct 26, 2022 6:38 am

Include pdf in existing latex file in same page with other content

Post by nnannos »

I am trying to write an assignment in latex-even the cover page. I have solved some problems in sagemath with jupiter and downloaded as pdf. I want to put them all together in my latex document , the easiest way i found was using the command /incudepdf{name). I want to use autonumbering commands for problems like:" \begin{Problem*}\em ....\end{Problem*}", in order to have the text: Problem 7 just above the pdf and have them(text and pdf) in the same page but the pdf enters in a new page.
Is there any other way to do this in latex?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Include pdf in existing latex file in same page with other content

Post by Stefan Kottwitz »

Hi nnannos,

you can include PDF files simply with \includegraphics, so you don't get it as a new page.

Code: Select all

\begin{Problem*}
  \includegraphics{problem7.pdf}
\end{Problem*}
Stefan
LaTeX.org admin
Post Reply