cloudgoon / latex-lab

Automatically exported from code.google.com/p/latex-lab
0 stars 0 forks source link

Including graphics help #291

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Describe the requested feature:

If you have had success seeing a graphic file in the output of latexlab would 
you please send the details (file type, usepackage statements, etc) of how you 
made it work?  

I would really like to start using latexlab but I need some way to include 
graphics and see them in the output.

I have tried many different graphic file formats.  I have tried using many 
different packages and nothing seems to work.  The output has a placeholder for 
the graphic but the graphic itself does not appear in the output.

Original issue reported on code.google.com by jdwright...@gmail.com on 29 Aug 2011 at 11:16

GoogleCodeExporter commented 8 years ago
I did this to get the graphic to show up. (only shows up on the exported pdf, 
the html display doesn't have it).

1. Import the image I wish to include into docs.google.com. I imported mine as 
test.jpg. I believe, only png, gif, and jpgs will work.

2. Tell the project to use it. Go to Project->Project Resources. Select the 
checkbox next to the image file you uploaded in step #1.

2. Add: \usepackage{graphicx} to your document

3. Insert the image into your document with this directive: 
\includegraphics{test.jpg}

4. Select Compiler->Compile. Note that you won't see the graphic in the html 
rendered output. 

5. Select "exporting to PDF" at the top of the html rendered. it's part of the 
first line that says: "Preview may not match the intended output exactly. View 
the rendered document by exporting to PDF"

6. View the PDF to see the rendered LaTeX with your graphic hopefully inserted.

Original comment by ken.br...@redfin.com on 2 Sep 2011 at 6:24