Why won't my LaTeX images show up in the PDF?

  • Context: LaTeX 
  • Thread starter Thread starter Nusc
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary

Discussion Overview

The discussion revolves around issues related to LaTeX, specifically the inability to display images in a PDF and formatting challenges with text. The scope includes technical explanations and troubleshooting related to LaTeX packages and commands.

Discussion Character

  • Technical explanation, Debate/contested, Homework-related

Main Points Raised

  • One participant inquires about the installation of specific LaTeX packages needed for including images and formatting text.
  • Another participant mentions that images in .eps format will not work with pdflatex, suggesting that images must be in pdf or png format instead.
  • A participant suggests using ctan.org to find and install LaTeX packages if they are missing.
  • There are suggestions for handling special characters in LaTeX, such as using \sim for the tilde and placing text in a verbatim environment to avoid formatting issues.
  • One participant notes the occurrence of a "missing $ inserted" error when trying to format text, indicating a potential misunderstanding of LaTeX syntax.

Areas of Agreement / Disagreement

Participants express differing views on the handling of image formats and the correct usage of LaTeX commands, indicating that the discussion remains unresolved regarding the best practices for these issues.

Contextual Notes

Limitations include potential dependencies on specific LaTeX distributions and the need for clarity on the proper commands for inserting special characters and links.

Nusc
Messages
752
Reaction score
2
Hi experts, I am having the following problems with LaTeX.

Where can I quickly install these packages:

\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{epstopdf}
\usepackage{epsf}
\usepackage{fancyhdr}


I enable them but my images won't appear in the pdf.

What's wrong? My image files are in .eps
 
Physics news on Phys.org
Also I want to have insert this text in latex

[2] http://www-groups.dcs.st-and.ac.uk/~history/Biographies/Russell_Scott.html



But the ~ won't show and the ll_S will create a subscript s which I don't want

how do I fix it? It says missing $ inserted
 
Those should all be in any modern (i.e. post 1996) distro. If you've really not got them, then you can always use ctan.org where all tex packages are kept.

The hack is to use \sim in mathmode for the tilde, though you should just put the whole thing in a verbatim environment. There are also \textunderscore commands too. And I forget the proper command for ~ in text mode. Try googling for how to insert html links into latex.
 
Last edited:
Also, for pdflatex, images must be in pdf or png, no eps.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 8 ·
Replies
8
Views
13K
  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
3
Views
5K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 3 ·
Replies
3
Views
6K