John C Frain frainj at gmail.com
Thu Oct 22 22:47:46 CEST 2020

The program pdfcrop 2012/11/02 v 1.38 was installed with the texlive
distribution on my windows 10 PC.  You can run it from the command line in
windows.  You may find the briss program (
https://sourceforge.net/projects/briss/) a little easier to use in
windows.  You use briss to reduce the margins on your pdf graphs before you
put them into Latex.  Each graph must be treated separately and this may
take some time.

To use the bris program

   1. Start the program, A narrow strip is displayed
   2. Load the pdf file to be trimmed, The image is displayed with a
   proposed trim.
   3. You can change the proposed trim by moving the top left and bottom
   right corners of the trim area, You can move the trimmed area by dragging
   any other part of the trimmed area.

The includegraphics program can enlarge, reduce, or rotate your pdf
graphics file.  If there are large margins on your pdf figures they can not
be reduced by Latex.  I would recommend that you look at the software that
produced the graphs and see if you can change the options so that the
margins are reduced.  It will probably be easier in the long run.  The
older version of the graphics software must have had different defaults.

John C Frain
3 Aranleigh Park
Dublin 14
mailto:frainj at tcd.ie
mailto:frainj at gmail.com

On Thu, 22 Oct 2020 at 18:30, Hadi Abed, Khawla <Khawla.Hadi-Abed at elekta.com>

> Hi Julius,
> Thanks so much for always support..
> I tried to install the Pdfcrop package from MiKTex , and I use \usepackage
> {pdfcrop} in the Tex file, but the results and the form of the graphics are
> same. I still have so much white space around the graphics. In addition,
> the process of converting the eps files-to-pdf are happened automatically
> during the creating of the pdf document from Texworks editor. These are not
> written in such way in Texworks editor or in Matlab, so I can include the
> suggested " pdfcrop name-of-file.pdf name-of-new-cropped-file.pdf " in the
> code. Also tried to use \fbox{\includegraphics[...]{...}} but the result
> was only that the program has added a frame around each graph and this has
> not reduced the White space around all figures.
> Sorry, this issue is an urgent case for me, and it's so important to make
> the Texworks work correctly in my Windows 10 device. In the Windows 7
> device I didn't have this problem with Texworks file, but with the Windows
> 10 the same file doesn't work correctly.
> P.S. could you please help with sending a link for the mailing list? I
> have a subscribe there and usually receive many "texworks-request at tug.org"
> but I don't know where I can find the link to access the site of list and
> see all answers from other users.
> Thanks in advance, Khawla
> Khawla Hadi Abed​
> ,
> Medical Physicist, Applied Physics Specialist
>  |
> Medical Physicist, Senior Physicist
> Elekta Instrument AB
> P.O. Box 7593,
> SE‑103 93
> Stockholm,
> Sweden
> Visiting Address:
> Kungstensgatan 18
> Office: *+46 (8) 58725464* <+46%20(8)%2058725464>
> | Mobile: *+46 (73) 0922166* <+46%20(73)%200922166>
> *Khawla.Hadi-Abed at elekta.com* <Khawla.Hadi-Abed at elekta.com>
>  |
> *www.elekta.com* <https://www.elekta.com/>
> Elekta Instrument AB
>  Reg No. 556492‑0949
> This message is confidential and may be legally privileged or otherwise
> protected from disclosure. ​If you are not the intended recipient, please
> telephone or email the sender and delete this message ​and any attachment
> from your system; you must not copy or disclose the contents of this
> message ​or any attachment to any other person.
> Any views expressed in this message are those of the individual sender,
> except where the sender specifies ​and with authority, states them to be
> the views of Elekta. Elekta may monitor email traffic data.
> -----Original Message-----
> From: Julius Müller <Julius.S.Mueller at eureca.de>
> Sent: den 21 oktober 2020 21:40
> To: Hadi Abed, Khawla <Khawla.Hadi-Abed at elekta.com>
> Subject: Re: Pdflatex
> Hi Khawla,
> Am 21.10.20 um 20:25 schrieb Hadi Abed, Khawla:
> > There are also *programs* that can clip off that white space
> pdfcrop is a program that does so. It is included in the texlive I have
> installed (linux version). I think it comes with the windows version as
> well.
> Usage:
> pdfcrop name-of-file.pdf name-of-new-cropped-file.pdf
> Best regards,
> Julius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20201022/739db0f6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image983097.jpg
Type: image/jpeg
Size: 5184 bytes
Desc: not available
URL: <https://tug.org/pipermail/texhax/attachments/20201022/739db0f6/attachment-0001.jpg>

More information about the texhax mailing list.