Includegraphics doesn't show the figure. Overleaf v2












2















I'm working on overleaf v2.



I wrote :



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[utf8]{inputenc} % Accents codés dans la fonte
usepackage[frenchb]{babel} % Les traductions françaises
usepackage{amsmath}
usepackage{graphicx}
graphicspath{ {./images/} }
usepackage{amsfonts}
usepackage{biblatex}
begin{document}
....
begin{figure}
centering
includegraphics{comp_W_log.jpg}
caption{textit{On compare la fonction de Lambert à $log(x)-1$ dans un certain interval}}
label{fig:my_label}
end{figure}
....
end{document}


But I just get, after compiling :
enter image description here



Can you help me plz ?



Edit: png didn't work either










share|improve this question




















  • 6





    (1) welcome, (2) always post full code, not sniplets. (3) It seems you have draft mode enabled, either as a class option or option to graphicx

    – daleif
    Jan 18 at 11:55






  • 2





    Unrelated to your problem, but better use log instead of log

    – samcarter
    Jan 18 at 12:00











  • I don't know how exactly your image looks like, but from the caption I would guess that jpg is not a good file type for it. Better use a vector format like pdf or if you really have to use a pixelated format at least use png

    – samcarter
    Jan 18 at 12:02






  • 2





    Again unrelated to your problem, but don't load the same package multiple times and the option frenchb is deprecated, use french instead. For a French text it would probably also be good to load usepackage[T1]{fontenc}. You probably want to give some floating specifier to your figure, e.g. begin{figure}[htbp] for a better placement. And instead of manually changing the font family of your caption to italic, have a look at the caption package to make this automatically.

    – samcarter
    Jan 18 at 13:08


















2















I'm working on overleaf v2.



I wrote :



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[utf8]{inputenc} % Accents codés dans la fonte
usepackage[frenchb]{babel} % Les traductions françaises
usepackage{amsmath}
usepackage{graphicx}
graphicspath{ {./images/} }
usepackage{amsfonts}
usepackage{biblatex}
begin{document}
....
begin{figure}
centering
includegraphics{comp_W_log.jpg}
caption{textit{On compare la fonction de Lambert à $log(x)-1$ dans un certain interval}}
label{fig:my_label}
end{figure}
....
end{document}


But I just get, after compiling :
enter image description here



Can you help me plz ?



Edit: png didn't work either










share|improve this question




















  • 6





    (1) welcome, (2) always post full code, not sniplets. (3) It seems you have draft mode enabled, either as a class option or option to graphicx

    – daleif
    Jan 18 at 11:55






  • 2





    Unrelated to your problem, but better use log instead of log

    – samcarter
    Jan 18 at 12:00











  • I don't know how exactly your image looks like, but from the caption I would guess that jpg is not a good file type for it. Better use a vector format like pdf or if you really have to use a pixelated format at least use png

    – samcarter
    Jan 18 at 12:02






  • 2





    Again unrelated to your problem, but don't load the same package multiple times and the option frenchb is deprecated, use french instead. For a French text it would probably also be good to load usepackage[T1]{fontenc}. You probably want to give some floating specifier to your figure, e.g. begin{figure}[htbp] for a better placement. And instead of manually changing the font family of your caption to italic, have a look at the caption package to make this automatically.

    – samcarter
    Jan 18 at 13:08
















2












2








2








I'm working on overleaf v2.



I wrote :



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[utf8]{inputenc} % Accents codés dans la fonte
usepackage[frenchb]{babel} % Les traductions françaises
usepackage{amsmath}
usepackage{graphicx}
graphicspath{ {./images/} }
usepackage{amsfonts}
usepackage{biblatex}
begin{document}
....
begin{figure}
centering
includegraphics{comp_W_log.jpg}
caption{textit{On compare la fonction de Lambert à $log(x)-1$ dans un certain interval}}
label{fig:my_label}
end{figure}
....
end{document}


But I just get, after compiling :
enter image description here



Can you help me plz ?



Edit: png didn't work either










share|improve this question
















I'm working on overleaf v2.



I wrote :



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[utf8]{inputenc} % Accents codés dans la fonte
usepackage[frenchb]{babel} % Les traductions françaises
usepackage{amsmath}
usepackage{graphicx}
graphicspath{ {./images/} }
usepackage{amsfonts}
usepackage{biblatex}
begin{document}
....
begin{figure}
centering
includegraphics{comp_W_log.jpg}
caption{textit{On compare la fonction de Lambert à $log(x)-1$ dans un certain interval}}
label{fig:my_label}
end{figure}
....
end{document}


But I just get, after compiling :
enter image description here



Can you help me plz ?



Edit: png didn't work either







overleaf includegraphics






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 18 at 12:52







J.A

















asked Jan 18 at 11:52









J.AJ.A

1134




1134








  • 6





    (1) welcome, (2) always post full code, not sniplets. (3) It seems you have draft mode enabled, either as a class option or option to graphicx

    – daleif
    Jan 18 at 11:55






  • 2





    Unrelated to your problem, but better use log instead of log

    – samcarter
    Jan 18 at 12:00











  • I don't know how exactly your image looks like, but from the caption I would guess that jpg is not a good file type for it. Better use a vector format like pdf or if you really have to use a pixelated format at least use png

    – samcarter
    Jan 18 at 12:02






  • 2





    Again unrelated to your problem, but don't load the same package multiple times and the option frenchb is deprecated, use french instead. For a French text it would probably also be good to load usepackage[T1]{fontenc}. You probably want to give some floating specifier to your figure, e.g. begin{figure}[htbp] for a better placement. And instead of manually changing the font family of your caption to italic, have a look at the caption package to make this automatically.

    – samcarter
    Jan 18 at 13:08
















  • 6





    (1) welcome, (2) always post full code, not sniplets. (3) It seems you have draft mode enabled, either as a class option or option to graphicx

    – daleif
    Jan 18 at 11:55






  • 2





    Unrelated to your problem, but better use log instead of log

    – samcarter
    Jan 18 at 12:00











  • I don't know how exactly your image looks like, but from the caption I would guess that jpg is not a good file type for it. Better use a vector format like pdf or if you really have to use a pixelated format at least use png

    – samcarter
    Jan 18 at 12:02






  • 2





    Again unrelated to your problem, but don't load the same package multiple times and the option frenchb is deprecated, use french instead. For a French text it would probably also be good to load usepackage[T1]{fontenc}. You probably want to give some floating specifier to your figure, e.g. begin{figure}[htbp] for a better placement. And instead of manually changing the font family of your caption to italic, have a look at the caption package to make this automatically.

    – samcarter
    Jan 18 at 13:08










6




6





(1) welcome, (2) always post full code, not sniplets. (3) It seems you have draft mode enabled, either as a class option or option to graphicx

– daleif
Jan 18 at 11:55





(1) welcome, (2) always post full code, not sniplets. (3) It seems you have draft mode enabled, either as a class option or option to graphicx

– daleif
Jan 18 at 11:55




2




2





Unrelated to your problem, but better use log instead of log

– samcarter
Jan 18 at 12:00





Unrelated to your problem, but better use log instead of log

– samcarter
Jan 18 at 12:00













I don't know how exactly your image looks like, but from the caption I would guess that jpg is not a good file type for it. Better use a vector format like pdf or if you really have to use a pixelated format at least use png

– samcarter
Jan 18 at 12:02





I don't know how exactly your image looks like, but from the caption I would guess that jpg is not a good file type for it. Better use a vector format like pdf or if you really have to use a pixelated format at least use png

– samcarter
Jan 18 at 12:02




2




2





Again unrelated to your problem, but don't load the same package multiple times and the option frenchb is deprecated, use french instead. For a French text it would probably also be good to load usepackage[T1]{fontenc}. You probably want to give some floating specifier to your figure, e.g. begin{figure}[htbp] for a better placement. And instead of manually changing the font family of your caption to italic, have a look at the caption package to make this automatically.

– samcarter
Jan 18 at 13:08







Again unrelated to your problem, but don't load the same package multiple times and the option frenchb is deprecated, use french instead. For a French text it would probably also be good to load usepackage[T1]{fontenc}. You probably want to give some floating specifier to your figure, e.g. begin{figure}[htbp] for a better placement. And instead of manually changing the font family of your caption to italic, have a look at the caption package to make this automatically.

– samcarter
Jan 18 at 13:08












1 Answer
1






active

oldest

votes


















5














It looks like your editor could be set to 'draft mode' on Overleaf (this skips compiling images to render a PDF faster). You can turn it off on the dropdown menu on the Recompile button:



switch to 'normal mode' on recompile menu



Hope this does the trick, if you still see issues it could be worth writing to Overleaf support, at support@overleaf.com (I work there)






share|improve this answer
























  • So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?

    – Melody
    Jan 21 at 8:44













  • @Melody Autocompile and fast mode can be turned on and off independently of each other, if that was the question? The standard compilation on v2 (with images rendered) is generally a bit faster than the same one on v1, but the caching of auxiliary files works a bit differently so some projects might be slower. If you're seeing a project compiling slower on v2 we should be able to help out if you write to us. On v1, the fast/draft setting also didn't show images. The setting is the same as passing the draft option to the documentclass.

    – walszje
    Jan 21 at 12:03











  • I'm seeing all my code compile a lot slower in V2 with the normal compile mode. I really wish I could still use V1, but it seems disabled now. At least I don't know how to access it. Maybe it's because I have a really long preamble?

    – Melody
    Jan 21 at 17:30













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f470680%2fincludegraphics-doesnt-show-the-figure-overleaf-v2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









5














It looks like your editor could be set to 'draft mode' on Overleaf (this skips compiling images to render a PDF faster). You can turn it off on the dropdown menu on the Recompile button:



switch to 'normal mode' on recompile menu



Hope this does the trick, if you still see issues it could be worth writing to Overleaf support, at support@overleaf.com (I work there)






share|improve this answer
























  • So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?

    – Melody
    Jan 21 at 8:44













  • @Melody Autocompile and fast mode can be turned on and off independently of each other, if that was the question? The standard compilation on v2 (with images rendered) is generally a bit faster than the same one on v1, but the caching of auxiliary files works a bit differently so some projects might be slower. If you're seeing a project compiling slower on v2 we should be able to help out if you write to us. On v1, the fast/draft setting also didn't show images. The setting is the same as passing the draft option to the documentclass.

    – walszje
    Jan 21 at 12:03











  • I'm seeing all my code compile a lot slower in V2 with the normal compile mode. I really wish I could still use V1, but it seems disabled now. At least I don't know how to access it. Maybe it's because I have a really long preamble?

    – Melody
    Jan 21 at 17:30


















5














It looks like your editor could be set to 'draft mode' on Overleaf (this skips compiling images to render a PDF faster). You can turn it off on the dropdown menu on the Recompile button:



switch to 'normal mode' on recompile menu



Hope this does the trick, if you still see issues it could be worth writing to Overleaf support, at support@overleaf.com (I work there)






share|improve this answer
























  • So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?

    – Melody
    Jan 21 at 8:44













  • @Melody Autocompile and fast mode can be turned on and off independently of each other, if that was the question? The standard compilation on v2 (with images rendered) is generally a bit faster than the same one on v1, but the caching of auxiliary files works a bit differently so some projects might be slower. If you're seeing a project compiling slower on v2 we should be able to help out if you write to us. On v1, the fast/draft setting also didn't show images. The setting is the same as passing the draft option to the documentclass.

    – walszje
    Jan 21 at 12:03











  • I'm seeing all my code compile a lot slower in V2 with the normal compile mode. I really wish I could still use V1, but it seems disabled now. At least I don't know how to access it. Maybe it's because I have a really long preamble?

    – Melody
    Jan 21 at 17:30
















5












5








5







It looks like your editor could be set to 'draft mode' on Overleaf (this skips compiling images to render a PDF faster). You can turn it off on the dropdown menu on the Recompile button:



switch to 'normal mode' on recompile menu



Hope this does the trick, if you still see issues it could be worth writing to Overleaf support, at support@overleaf.com (I work there)






share|improve this answer













It looks like your editor could be set to 'draft mode' on Overleaf (this skips compiling images to render a PDF faster). You can turn it off on the dropdown menu on the Recompile button:



switch to 'normal mode' on recompile menu



Hope this does the trick, if you still see issues it could be worth writing to Overleaf support, at support@overleaf.com (I work there)







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 18 at 12:46









walszjewalszje

963




963













  • So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?

    – Melody
    Jan 21 at 8:44













  • @Melody Autocompile and fast mode can be turned on and off independently of each other, if that was the question? The standard compilation on v2 (with images rendered) is generally a bit faster than the same one on v1, but the caching of auxiliary files works a bit differently so some projects might be slower. If you're seeing a project compiling slower on v2 we should be able to help out if you write to us. On v1, the fast/draft setting also didn't show images. The setting is the same as passing the draft option to the documentclass.

    – walszje
    Jan 21 at 12:03











  • I'm seeing all my code compile a lot slower in V2 with the normal compile mode. I really wish I could still use V1, but it seems disabled now. At least I don't know how to access it. Maybe it's because I have a really long preamble?

    – Melody
    Jan 21 at 17:30





















  • So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?

    – Melody
    Jan 21 at 8:44













  • @Melody Autocompile and fast mode can be turned on and off independently of each other, if that was the question? The standard compilation on v2 (with images rendered) is generally a bit faster than the same one on v1, but the caching of auxiliary files works a bit differently so some projects might be slower. If you're seeing a project compiling slower on v2 we should be able to help out if you write to us. On v1, the fast/draft setting also didn't show images. The setting is the same as passing the draft option to the documentclass.

    – walszje
    Jan 21 at 12:03











  • I'm seeing all my code compile a lot slower in V2 with the normal compile mode. I really wish I could still use V1, but it seems disabled now. At least I don't know how to access it. Maybe it's because I have a really long preamble?

    – Melody
    Jan 21 at 17:30



















So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?

– Melody
Jan 21 at 8:44







So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?

– Melody
Jan 21 at 8:44















@Melody Autocompile and fast mode can be turned on and off independently of each other, if that was the question? The standard compilation on v2 (with images rendered) is generally a bit faster than the same one on v1, but the caching of auxiliary files works a bit differently so some projects might be slower. If you're seeing a project compiling slower on v2 we should be able to help out if you write to us. On v1, the fast/draft setting also didn't show images. The setting is the same as passing the draft option to the documentclass.

– walszje
Jan 21 at 12:03





@Melody Autocompile and fast mode can be turned on and off independently of each other, if that was the question? The standard compilation on v2 (with images rendered) is generally a bit faster than the same one on v1, but the caching of auxiliary files works a bit differently so some projects might be slower. If you're seeing a project compiling slower on v2 we should be able to help out if you write to us. On v1, the fast/draft setting also didn't show images. The setting is the same as passing the draft option to the documentclass.

– walszje
Jan 21 at 12:03













I'm seeing all my code compile a lot slower in V2 with the normal compile mode. I really wish I could still use V1, but it seems disabled now. At least I don't know how to access it. Maybe it's because I have a really long preamble?

– Melody
Jan 21 at 17:30







I'm seeing all my code compile a lot slower in V2 with the normal compile mode. I really wish I could still use V1, but it seems disabled now. At least I don't know how to access it. Maybe it's because I have a really long preamble?

– Melody
Jan 21 at 17:30




















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f470680%2fincludegraphics-doesnt-show-the-figure-overleaf-v2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

File:DeusFollowingSea.jpg