How do you make folders in a latex project ? I created a folder inside my main folder but my structure window doesn't show it. I am using OSX and Texmaker latest version?

This is the folder that I created (figure 1), and I am trying to add UniversityLogo.png on my main text file but I get this error (figure 2).

The code that I am using is


        {Thesis Title}\\
        {\large Old Dominion University}\\
\author{My Name}
\date{Day Month Year}




enter image description here

enter image description here

  • Hi, welcome. Do you mean Texmaker? I think it only shows files that are included in your main file with \include or \input. Mar 15 '18 at 12:52
  • Yes I mean textmaker. I created a folder inside my main folder called Images. I tried to call this folder from the preamble graphicspath{{Images/}} then i use \insertgraphics{logo.png} and there is a message that saying that the file is not being found. :/ Mar 15 '18 at 12:57
  • Texmaker != Textmaker. What you describe should work I think, and indeed it does work here (Linux). Can you edit your question with more detail about your file and folder structure, and perhaps also include a minimal working example to make it clear what you did in the code. Mar 15 '18 at 13:03
  • Hard to say, that setup works fine here. The only thing that catches my eye is that there seems to be a space at the end of the name of the Thesis folder, i.e. Thesis<space>. Spaces in paths have a tendency to not work well, though I cannot say if it would be a problem in this case. Mar 15 '18 at 21:55
  • Fixed the spaced and still didnt work :/ its good no worries! I will figured it out! thanks though Mar 16 '18 at 0:55

I do not have enough reputation to comment so I write it into an answer. Maybe it works if you use \graphicspath{{./Images/}} as in this post.

  • Welcome to TeX.SX!
    – Bobyandbob
    Mar 15 '18 at 22:25
  • Hi EuklidAlexandria I tried this too and it didnt work :( Mar 16 '18 at 12:29
  • Hm, does it work with \includegraphics{Images/UniversityLogo}? Mar 16 '18 at 13:22
  • @MartinLiza See above comment. (EuklidAlexandria: Hi, welcome. Note that other users are in general not notified of comments, so use an at-sign followed by the username to ping them, as I did with Martin here. Only other commenters can be pinged though, and maximum one user per comment. You as the owner of the post are always notified of comments.) Mar 16 '18 at 20:04
  • @EuklidAlexandria, I tried that too and it didnt work :( Mar 17 '18 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.