LaTeX Tutorial 10 inserting images into your document

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

ความคิดเห็น • 121

  • @zkt4269
    @zkt4269 2 ปีที่แล้ว +10

    it's 2022, in the middle of the night and you just saved the life of a student. thank you good sir

    • @mathteacher1729
      @mathteacher1729  2 ปีที่แล้ว +2

      I'm so glad that this video was useful! I made it all these years ago on a whim, and every now and then people will comment and it absolutely makes my day. Hope you rest well and have happy dreams of beautifully formatted documents.

    • @zkt4269
      @zkt4269 2 ปีที่แล้ว +1

      @@mathteacher1729 so simple yet so useful indeed, as I'm sure there are lots of students just like me glad that it makes your day! wishing the same, thank you lots!

  • @ShinyJewels04
    @ShinyJewels04 11 ปีที่แล้ว +3

    i literally have been trying to figure out how to do this (along with figuring out latex in general) for 3 hours. it is now after 4 am and i have my first college language exam tomorrow at 8 am, and i watched this and literally almost screamed for joy. thank you so much for helping me figure this out!!!!!!!

  • @primalDust
    @primalDust 12 ปีที่แล้ว +1

    I... I can't believe... I never... I'm speechless. I never, ever knew it was this easy. The sheer agony I've gone through in the past and you solve it all so easily

  • @estebanlopez1701
    @estebanlopez1701 4 ปีที่แล้ว +2

    wow this was almost 10 years ago but it continues to be very helpful, thanks a lot

  • @daisymaexoxo2181
    @daisymaexoxo2181 3 หลายเดือนก่อน +1

    saving my heart, soul, life and sanity. your good deed will go history books sir I salute you

    • @mathteacher1729
      @mathteacher1729  3 หลายเดือนก่อน +1

      @@daisymaexoxo2181 Thank you kindly, I'm always happy when I receive comments like this on my old videos!

  • @abdullatifziblim5762
    @abdullatifziblim5762 5 ปีที่แล้ว +9

    God bless you for this video, in fact you have wipe my tears.

  • @mathteacher1729
    @mathteacher1729  11 ปีที่แล้ว

    Thank you for watching, I'm glad it helped. :) Out of curiosity, are you in any way related to Dr. Marlene Soulsby of PSU Worthington Scranton?

  • @ArturoDezaPeru
    @ArturoDezaPeru 12 ปีที่แล้ว

    What setting should I use if I want the image to occupy both double column's, it seems to only fit in one column and the second one overwrites on top of it. thanks! (For IEEE conference paper standards)

  • @NoFantasy
    @NoFantasy 11 ปีที่แล้ว

    Thank you very much. It would've taken me days to figure this out by myself. You just saved me loads of time so I can study for other subjects :D

  • @mathteacher1729
    @mathteacher1729  11 ปีที่แล้ว +1

    Could you post your source on pastebin or sharelatex ?

  • @EleftheriaBatsou
    @EleftheriaBatsou 11 ปีที่แล้ว

    i have it in the same file...
    when i write \includegraphics it comes with [scale ]{ }
    so for scale i use 0.75 (as i saw in some other replay, and i use that code) but i still can t do it...
    also when i use \include { }, i can compile but i can t see my image!
    (maybe there is a problem with the images ?!)
    anyway thanks for the quick replay, i ll try to figure it out

  • @nirmalgaikwad9465
    @nirmalgaikwad9465 6 ปีที่แล้ว +1

    I hav inserted image into my report but the image dosen't appear where it is suppose to what should i do

  • @StompDeni42
    @StompDeni42 12 ปีที่แล้ว

    Hey!
    I tried to do what I have seen in your video, but it just didn't work. The pic didn't show up in the .pdf document. I did everything as you told. What's the problem? I use MikTex and TeXnicCenter, and I have Win 7.

  • @mathteacher1729
    @mathteacher1729  12 ปีที่แล้ว

    I'm not sure. Can you take a screenshot? Is the pic in the same folder as the .tex file?

  • @mathteacher1729
    @mathteacher1729  12 ปีที่แล้ว

    Thank you! It's great to hear comments like this. :) I'm glad you found my video helpful.

  • @Shuliyey
    @Shuliyey 12 ปีที่แล้ว

    How did you get editing effect in the program. I downloaded latex on Mac, and use TeXworks editor. Which i think is exactly the same one as the one you are using in this video. However my TeXworks editor doesn't have a nice editing effecting like yours! i mean when you type a comment the color is red.

  • @EleftheriaBatsou
    @EleftheriaBatsou 11 ปีที่แล้ว

    i see that everybody manage to insert images with your tutorial but i still can t...
    this is my code:
    \documentclass{article}
    \usepackage{amsmath}
    \usepackage{amssymb}
    \usepackage{graphicx}
    \begin{document}
    \title{images}
    \author{eleftheria}
    \maketitle
    \includegraphics{image.PNG}
    \end{document}
    do i do anything wrong? (i use winXP)
    thanks

  • @WesselsReaper
    @WesselsReaper 11 ปีที่แล้ว

    My image comes from adobe illustrator and it doesn't give me the option of saving it as .PNG :( I have mine saved as .eps but when I type it in:
    \includegraphics{Fig2.eps} I get an error that says "unknown graphics extension: .eps" How can I fix it?

  • @MultiMarkar
    @MultiMarkar 8 ปีที่แล้ว

    pretty basic question. writing "... use .PNG image... " what sign is that is in front of use. Can't find it

  • @SpencerRaybourne
    @SpencerRaybourne 5 ปีที่แล้ว +1

    I'm getting the name of the file.png under the image is there a way to get rid of this

    • @mathteacher1729
      @mathteacher1729  5 ปีที่แล้ว

      Could you paste the full code you're using on pastebin?

    • @SpencerRaybourne
      @SpencerRaybourne 5 ปีที่แล้ว

      @@mathteacher1729 I'm not familiar with that can you elucidate?

    • @SpencerRaybourne
      @SpencerRaybourne 5 ปีที่แล้ว +1

      \includegraphics[scale=.5]{gloria patri.png}

    • @mathteacher1729
      @mathteacher1729  5 ปีที่แล้ว

      @@SpencerRaybourne The space between gloria and patri is the problem. Try gloria_patri.png as the file name. :)

    • @SpencerRaybourne
      @SpencerRaybourne 5 ปีที่แล้ว

      @@mathteacher1729 That was it. Thanks. so now onto bibliographys I'm begging you.

  • @StompDeni42
    @StompDeni42 12 ปีที่แล้ว

    Thank you for your answer!
    Yes, I put the pic in the same folder. How can I send the screenshot to you?
    Is it possible that I don't have the necessary packages in my TeX program?

  • @anushkaa0025
    @anushkaa0025 8 ปีที่แล้ว +7

    Probably stress on using the "\usepackage{graphicx}" command, too. I am only a few hours old to Latex and took me good 20 minutes to figure out why my image wasn't being inserted. Rest all was very helpful :)

    • @mathteacher1729
      @mathteacher1729  8 ปีที่แล้ว +3

      Good point! The code must be copied exactly as it appears. If one character is off (missing backslash, unclosed brace, etc.) LaTeX will not be happy. :-p Glad you found the video helpful!

  • @ComtedeMonteC
    @ComtedeMonteC 6 ปีที่แล้ว

    Obtained error message "No Boundingbox". The video is inadequate. Searched on the internet and found this for using graphic package:
    www.kwasan.kyoto-u.ac.jp/solarb6/usinggraphicx.pdf
    Have not yet found how to display the image in the correct position but at least I no longer get the "No Boundingbox" error message.

  • @leekatielee
    @leekatielee 11 ปีที่แล้ว

    Hey great video. Except when I do it this way, I get a caption but no image?

  • @ritwikkulkarni8702
    @ritwikkulkarni8702 9 ปีที่แล้ว

    No matter how much I try, I am unable to insert a graphic on to the first page of my document. Error: File not found. See the manual for further information
    All this inspite creating a new folder, keeping the image file and saving the Latex file in the same folder. . .

    • @mathteacher1729
      @mathteacher1729  9 ปีที่แล้ว

      +RITWIK KULKARNI Set up an account on sharelatex.com and make it public, then I or someone else can look at it and offer feedback. :)

  • @sanamali1989
    @sanamali1989 12 ปีที่แล้ว

    how can i insert a caption underneath the image?

  • @miriamokolosi8455
    @miriamokolosi8455 10 ปีที่แล้ว

    Hi Joe. Please i need your help. how do I include in my sharelatex project, the symbol for "converges in probability" i.e the arrow with a p on top? Thank you

    • @mathteacher1729
      @mathteacher1729  10 ปีที่แล้ว

      Try this: $a \overset{p}{\to} b$

    • @miriamokolosi8455
      @miriamokolosi8455 10 ปีที่แล้ว

      thank you, it worked.

    • @miriamokolosi8455
      @miriamokolosi8455 10 ปีที่แล้ว

      Hi Joe. Hope you are fine. Please how do I insert an upward facing arrow in sharelatex? Thank you

    • @mathteacher1729
      @mathteacher1729  10 ปีที่แล้ว

      Miriam Okolosi
      See this video here: LaTeX Tutorial 11 finding and inserting various symbols There is a website which lets you draw a symbol and it will suggest which symbols math your drawing. detexify.kirelabs.org/classify.html

  • @mathteacher1729
    @mathteacher1729  11 ปีที่แล้ว

    Aww, thanks! It is always nice to hear positive feedback. Good luck on your project! :)

  • @scugglebottom
    @scugglebottom 10 ปีที่แล้ว

    Hi could you tell me how to re position an image? I have a template im using for a thesis and on the title page it places the university logo in the middle of the page.
    It uses the following
    \crest{includegraphics[width=7cm]{centre_UL_logo.jpg}}
    I would like to move this to the top of the title page, and put a picture related to my project in its place in the centre of the page, underneath my heading, which in turn would be underneath the University logo.
    Thanks for any input.

    • @mathteacher1729
      @mathteacher1729  10 ปีที่แล้ว

      I would ask the person who is advising your thesis 1. Whether you are allowed to alter the template or not and 2. how best to do so. I could speculate wildly about the nature and origin of the "crest" command (is it in the preamble or in a style file... how is it defined, what dependencies does it have, etc.) or the format of the image (is it just the logo or is it a long white rectangle with the logo centered so it "appears" to be centered when you align it left, etc.) but that probably won't be helpful. :-p Good luck!

  • @usmanshahzad2919
    @usmanshahzad2919 8 ปีที่แล้ว

    Hi i am using \usepackage{graphicx}
    in latex. for jpg pics. but this package removes page numbers of my latex file. Any solution?
    i need urgently.

    • @mathteacher1729
      @mathteacher1729  8 ปีที่แล้ว

      Hi, please share your code on www.sharelatex.com or pastebin. Without seeing it, it is next to impossible to pin down what exactly is happening.

  • @felipemmarcico
    @felipemmarcico 4 หลายเดือนก่อน +1

    2024 and you helped me! Hugs from Brazil!

    • @mathteacher1729
      @mathteacher1729  4 หลายเดือนก่อน

      @@felipemmarcico Thank you, I'm so glad that this video helped!

  • @SwilXi
    @SwilXi 11 ปีที่แล้ว

    I watched this video, got my figure working, and shouted "BAM". Thank you!

  • @musicADDICTEDS
    @musicADDICTEDS 11 ปีที่แล้ว

    How can I resize an image by fixing its width?

  • @jameshussey2243
    @jameshussey2243 12 ปีที่แล้ว

    carnt get it to work not sure what im missing

  • @miriamokolosi8455
    @miriamokolosi8455 10 ปีที่แล้ว

    Hi Joe. Thank you for your videoes on LaTex tutorials. I successfully inserted an image on my LaTex document, however it created a large space between the image and the text that follows in my document. How do I delete the space?

    • @mathteacher1729
      @mathteacher1729  10 ปีที่แล้ว

      Immediate thought: You inserted an image that was too big. Adjust the scale to make it smaller \includegraphics[scale=0.5]{image.png}
      Failing that, create a public project on sharelatex send me the link and I can look at it.

    • @miriamokolosi8455
      @miriamokolosi8455 10 ปีที่แล้ว

      Hi, I tried to adjust the scale of the image to 0.5 instead of 0.75 that I was using. But a still have a little space in between.

    • @miriamokolosi8455
      @miriamokolosi8455 10 ปีที่แล้ว

      I'm also having difficulty creating a sharelatex project

    • @miriamokolosi8455
      @miriamokolosi8455 10 ปีที่แล้ว

      Miriam Okolosi Hi, please use the link below to view the project in share latex. thank you
      www.sharelatex.com/project/53cd231106cf2524420412ab

    • @mathteacher1729
      @mathteacher1729  10 ปีที่แล้ว

      Miriam Okolosi I cannot view this project because it is restricted. On the left click the gear icon for settings, then on the bottom menu "Public access" select "public, read only".

  • @bhanutejaiit
    @bhanutejaiit 11 ปีที่แล้ว

    The quality of image is bad , is there anyway to improve quality ?

  • @Istherefive
    @Istherefive 9 ปีที่แล้ว +1

    How do you add captions to your image this way?

    • @mathteacher1729
      @mathteacher1729  9 ปีที่แล้ว

      This is a helpful guide: www.sharelatex.com/learn/Captioning_Figures See the link at the top for an example of a document with different caption options. www.sharelatex.com/project/515c83650651e57e1975aeb2 Thanks for watching!

    • @brandomiranda6703
      @brandomiranda6703 8 ปีที่แล้ว

      +Joe DiNoto Why is it that whenever I write \begin{figure}[h] \end{figure} that my image picture changes location without me telling it to?
      even with [h] or [h!] it moves around and not in the location of the text that I want it.
      Btw, thnx for the video.

  • @valeriaaliaga9051
    @valeriaaliaga9051 7 ปีที่แล้ว +1

    I've been looking everywhere for an explanation as easy to follow and that actually works!, thanks a lot!! ^^

    • @mathteacher1729
      @mathteacher1729  7 ปีที่แล้ว

      Thank you for your kind words and thank you for watching! I'm glad these videos are helpful. :)

  • @mathteacher1729
    @mathteacher1729  11 ปีที่แล้ว

    Try inserting the .jpgs directly. Remember to have the image files in the same folder as the .tex file. Also, depending on how big your images are (in terms of pixel dimensions) they may be too large to be showing up on the page. You can also open the .jpg in MS Paint (if you have windows) and save it as a .png from there. Hope this helps. :)

    • @geelbooikeletso3135
      @geelbooikeletso3135 4 ปีที่แล้ว

      Hello
      How do you move the inserted picture to the top of the page?

  • @mishak3520
    @mishak3520 11 ปีที่แล้ว

    hi...thank you for such a wonderful tutorial..plz help me in my problem..i am inserting my image in the same way as u described in the middle of my document.. but the problem is when i run the program the image shows at the end of the document and also it is not centered. plz help

  • @mathteacher1729
    @mathteacher1729  11 ปีที่แล้ว

    Make sure that you have a file named "image.png" in the exact same folder as your .tex file. I just copy/pasted your code and it works fine.

  • @KirtiJoy
    @KirtiJoy 11 ปีที่แล้ว +1

    That's awesome, thank you so much! Very clear and straight to the point!
    Thumbs up! x

    • @mathteacher1729
      @mathteacher1729  10 ปีที่แล้ว +1

      Thanks, I'm glad you found this helpful!

  • @astralchan
    @astralchan 8 ปีที่แล้ว

    Which program do you use to make the graphs? Is it GeoGebra?

    • @mathteacher1729
      @mathteacher1729  8 ปีที่แล้ว

      For the graphic in this video I used wolframalpha.com. As of now, geogebra does support 3d graphics. :)

    • @astralchan
      @astralchan 8 ปีที่แล้ว

      i can't figure out how to do 3d in geogebra.... that's why i asked lol

  • @mathteacher1729
    @mathteacher1729  11 ปีที่แล้ว

    It all depends on what your code looks like. Go to pastebin and copy/paste your code there. Reply back not with the full URL (TH-cam won't allow that) but with the random letters and numbers in the URL and I can take a look when I have time.

  • @asishaap4956
    @asishaap4956 4 ปีที่แล้ว +2

    Very good video..... Clearly explained...

    • @mathteacher1729
      @mathteacher1729  4 ปีที่แล้ว

      Thank you for watching. I'm glad that you found this video helpful!

  • @kpippink
    @kpippink 10 ปีที่แล้ว +2

    Thank you so much for posting this video. It really help me to figure it out :D

    • @mathteacher1729
      @mathteacher1729  10 ปีที่แล้ว

      I'm glad you found my video helpful! :)

  • @SwilXi
    @SwilXi 11 ปีที่แล้ว

    Hm, not that I'm aware of! But with a title like Dr, I'd bet she's smart enough to know how to put an image into Latex!

  • @amirmendes9128
    @amirmendes9128 11 ปีที่แล้ว

    Hi there, first of all thank you for the awesome tutorial. I have been trying to figure out how to insert image in latex and I finally found a helpful guide in the form of this video. However I have another concern, which is how do I type a command to allow text wrapping around the image. In other words, I would like to type my paragraph next to the image. Thank you in advance for your help.

  • @mathteacher1729
    @mathteacher1729  12 ปีที่แล้ว

    From the menu bar click "Format" > "Syntax Coloring" > "LaTeX". That should give you the different colors. Hope you found these videos helpful. :)

  • @kim15742
    @kim15742 7 ปีที่แล้ว

    In what program did you make the image? I like those Win97 graphics!

    • @mathteacher1729
      @mathteacher1729  7 ปีที่แล้ว +1

      I made it with gnuplot.info/
      Thanks for watching and I hope you have fun using LaTeX! :)

  • @mathteacher1729
    @mathteacher1729  11 ปีที่แล้ว

    It all depends on what your code looks like. Go to pastebin and send me the random letters & numbers in the URL of your copy/paste and I'll look at it when I have time.

  • @mathteacher1729
    @mathteacher1729  11 ปีที่แล้ว

    Save your image as a .pdf instead of an .eps. Hope this helps and thank you for watching. :)

  • @leekatielee
    @leekatielee 11 ปีที่แล้ว

    Also - wow thank you for getting back to me so quickly :)

  • @Shuliyey
    @Shuliyey 12 ปีที่แล้ว

    Worked perfect. Thanks so much. a lot easier to program now. Video is great. :-)

  • @edgarmichelmarinballon4513
    @edgarmichelmarinballon4513 7 ปีที่แล้ว +1

    Thanks, it really helped me.

  • @mufrh833
    @mufrh833 8 ปีที่แล้ว

    Thank you so much, this lesson helps me more.

  • @derasor
    @derasor 11 ปีที่แล้ว

    Thank you for this post. Clear and concise.

  • @shifagoyal8221
    @shifagoyal8221 3 ปีที่แล้ว +1

    Thanks,it was indeed helpful

    • @mathteacher1729
      @mathteacher1729  3 ปีที่แล้ว +1

      Thank you, I'm glad you found it helpful!

  • @leekatielee
    @leekatielee 11 ปีที่แล้ว

    Umm, yes, yes I can. I just registered with sharelatex so not exactly sure what I'm doing. I have made a public file for now - project/515f79516724619d2b2b31bf

  • @54KF0007
    @54KF0007 9 ปีที่แล้ว +3

    You save my life, thanks a lot!! :)(Y)

  • @juancarlosregaladovillegas608
    @juancarlosregaladovillegas608 6 ปีที่แล้ว

    grande tio eres un chuchas excelente video man

  • @psuedointellectualhunters2206
    @psuedointellectualhunters2206 6 ปีที่แล้ว +1

    God bless you sir, thanks

  • @12nites
    @12nites 11 ปีที่แล้ว +1

    THE perfect tutorial

  • @xiaofanzhou8000
    @xiaofanzhou8000 8 ปีที่แล้ว

    thx! it's very clear and useful!

  • @mathteacher1729
    @mathteacher1729  12 ปีที่แล้ว

    Replace the code in the video with the following
    \begin{figure}[h!]
    \centering
    \includegraphics[scale=0.75]{graph.png}
    \caption{this is my caption}
    \end{figure}

  • @Thiago-fx4eo
    @Thiago-fx4eo 4 ปีที่แล้ว +1

    Thank you!!

  • @najibchaib5868
    @najibchaib5868 10 ปีที่แล้ว +1

    Good one! Thanks!

  • @Ironmillos
    @Ironmillos 12 ปีที่แล้ว

    Took me 30 minutes to find the answer, but you need to take off the draft from your document class. (I am a begginer so i will let someone else explain)

  • @FireSwordOfMagic
    @FireSwordOfMagic 4 ปีที่แล้ว

    Super helpful!

  • @christophermaronga5677
    @christophermaronga5677 7 ปีที่แล้ว

    Thank you very much!

  • @syedwasay3087
    @syedwasay3087 6 ปีที่แล้ว +1

    tysm mate

  • @jfl2139
    @jfl2139 3 ปีที่แล้ว +1

    Here's a quick demonstration on how to add a table in LaTeX: th-cam.com/video/mxivKQK-FGw/w-d-xo.html. Hope it helps!

  • @padmapriyap9341
    @padmapriyap9341 7 ปีที่แล้ว

    thank you

  • @pratyushrathore
    @pratyushrathore 12 ปีที่แล้ว

    Thanks

  • @musicADDICTEDS
    @musicADDICTEDS 11 ปีที่แล้ว

    nvm, i think i got it.

  • @mathteacher1729
    @mathteacher1729  12 ปีที่แล้ว

    I don't know off the top of my head. I would ask here tex (dot) stackexchange (dot) com If anyone knows, it would be someone there. :)

  • @alexj6935
    @alexj6935 10 ปีที่แล้ว

    I tried to do the same, I have the image in the same Latex folder, but it says ''File not found''. Why is it like that?

    • @mathteacher1729
      @mathteacher1729  10 ปีที่แล้ว

      Create a project in sharelatex and make it public then message me the URL. There could be any number of reasons why things are going wrong. Typo, missing package, wrong image type, etc.

    • @alexj6935
      @alexj6935 10 ปีที่แล้ว +1

      Joe DiNoto Thank you for answering. It finally worked! I don't know why but maybe the name of the file was too long, I have changed it and then suddenly it worked. Thank you again.