2

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

\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{graphicx} 
\graphicspath{{Images/}} 

\title{
        {Thesis Title}\\
        {\large Old Dominion University}\\
        {\includegraphics{UniversityLogo.png}}
}
\author{My Name}
\date{Day Month Year}

\begin{document}

\maketitle 

\end{document}

enter image description here

enter image description here

Torbjørn T.
  • 206,688
  • Hi, welcome. Do you mean Texmaker? I think it only shows files that are included in your main file with \include or \input. – Torbjørn T. 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. :/ – Martin Liza 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. – Torbjørn T. 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. – Torbjørn T. Mar 15 '18 at 21:55
  • Fixed the spaced and still didnt work :/ its good no worries! I will figured it out! thanks though – Martin Liza Mar 16 '18 at 00:55

1 Answers1

1

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.