Graphics, Figures & TablesIncluded Graphics too big

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
piet86
Posts: 1
Joined: Fri Jul 12, 2013 12:30 pm

Included Graphics too big

Post by piet86 »

Hello,

I'm trying to write a protocol on writeLaTeX. In order to include a graph, I uploaded the PDF file created by Origin. The problem is that only half of the graph is shown. Is there any possibility to minimize the displayed PDF? You may check the document by yourself:
https://www.writelatex.com/262831zwlxtx

I hope you can help.
Attachments
main.tex
The source code.
(6 KiB) Downloaded 267 times
Abb1.pdf
The used graphics file.
(6.56 KiB) Downloaded 198 times
Last edited by localghost on Fri Jul 12, 2013 4:58 pm, edited 1 time in total.
Reason: Preferably no external links (see Board Rules). Attachments go onto the forum server where possible.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Included Graphics too big

Post by Johannes_B »

The command \includegraphics has several optional arguments, for example width.

Code: Select all

\includegraphics[width=\textwidth]{NameOfTheFileWithoutEnding}
Take a look at the graphicx documentation.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Included Graphics too big

Post by localghost »

The size of the graph itself is OK and it is displayed completely. But it is the table that pushes the boundaries of the text (and the page).


Remarks:
  • Equations can be cross-referenced by \eqref{‹label›} from amsmath (or mathtools from the mh bundle}.
  • The language option ngerman for babel is more suitable.
  • The encoding opton utf8 instead of utf8x for inputenc is sufficient. Think about using selinput (from the oberdiek bundle) instead.

    Code: Select all

    \usepackage{selinput}
    \SelectInputMappings{
      adieresis={ä},
      germandbls={ß}
    }
    
  • Think about using fontenc with the T1 option to enable Cork Encoding.
  • Think about using a corresponding class from KOMA-Script.
  • Think about using siunitx for physical units and proper number alignment in tables.
  • Perhaps the graphics file should be cropped by pdfcrop.

Best regards and welcome to the board
Thorsten
Post Reply