Math & Science ⇒ Weird included Graphics Output
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Re: Weird included Graphics Output
\raisebox{1.75ex}{\parbox[t]{2in}{\null\includegraphics[width=\linewidth]{Diagram.pdf}}}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Weird included Graphics Output
Code: Select all
\raisebox{1.75ex}{\parbox[t]{2in}{\null\includegraphics[width=\linewidth]{Diagram.pdf}}}
Code: Select all
\raisebox{1.75ex}{% % raise the following content by the given height
\parbox[t]{2in}{% % create a box of the given width with alignment to the top
\null% % create a kind of anchor to fool LaTeX
\includegraphics[width=\linewidth]{Diagram.pdf}% % include external graphics file
}
}
[1] View topic: LaTeX Resources for Beginners
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10