Texmaker and TeXstudiofullpagegraphic.sty not found

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
DirkT
Posts: 12
Joined: Tue Jul 08, 2014 11:00 am

fullpagegraphic.sty not found

Post by DirkT »

Hi, I want to include graphics which use a full page, so I use the command
\usepackage{fullpagegraphic}
..but I get the error message "fullpagegraphic.sty not found"
The package texlive-latex-extra is installed. Who can help?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

fullpagegraphic.sty not found

Post by Stefan Kottwitz »

Hi Dirk,

you need to install that package. I assume it's not in TeX Live and not in Debian packages, as it's not even on CTAN. However, you could download it from github and save it in the same folder as your document (or install it properly).

Stefan
LaTeX.org admin
DirkT
Posts: 12
Joined: Tue Jul 08, 2014 11:00 am

fullpagegraphic.sty not found

Post by DirkT »

Hi Stefan,
thank you very much, I put the fullpagegraphic.sty in the same directory as my .tex file and, in principle, it works. The only thing I had to do was to change

Code: Select all

width=\paperwidth,height=\paperheight
in

Code: Select all

width=0.65\paperwidth,height=0.65\paperheight
to get the right and lower margin as in my text pages.

One question: What do you mean with "install it properly"?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

fullpagegraphic.sty not found

Post by Stefan Kottwitz »

DirkT wrote:What do you mean with "install it properly"?
This means copying into the TeX user directory or the directory of the TeX installation and refreshing the TeX file name database so it is able to find it. This depends on the TeX installation (TeX Live, MiKTeX, MacTeX, Linux versions) so it needs time to explain and is system specific. It was easier to put that file into your document folder. Anyway, it's a simple small file with a few lines.

Stefan
LaTeX.org admin
DirkT
Posts: 12
Joined: Tue Jul 08, 2014 11:00 am

fullpagegraphic.sty not found

Post by DirkT »

What should I do to shift the picture inserted with

Code: Select all

\begin{figure}
 \includegraphicsfullpage{picture.jpg}
\end{figure}
by a certain length, e.g. 5mm, to the right?
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

fullpagegraphic.sty not found

Post by Johannes_B »

You can put \hspace{5mm} before it, but this is manual labour. I bet there is a reason for doing this, define a new command \imgshift to do the job.

Code: Select all

\documentclass{article}
\usepackage{graphicx}
\usepackage{showframe}
\newcommand{\imgshift}{\hspace{5mm}}
\begin{document}
\begin{figure}
\imgshift\includegraphics[width=.6\linewidth]{example-image}
\end{figure}
\end{document}
But that should be a new thread, we have enough space for millions of different threads.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
DirkT
Posts: 12
Joined: Tue Jul 08, 2014 11:00 am

fullpagegraphic.sty not found

Post by DirkT »

Thank you Johannes, the \hspace command is the easiest way for me.
The line in my fullpagegraphic.sty is now

Code: Select all

 \hspace{6mm}\includegraphics[width=0.65\paperwidth,height=0.65\paperheight]{#1}
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: fullpagegraphic.sty not found

Post by Johannes_B »

I don't recommend changing a package file, no matter how simple it would be.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply