Includegraphics doesn't show the figure. Overleaf v2












1















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









New contributor




J.A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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
    2 hours ago






  • 2





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

    – samcarter
    2 hours ago











  • 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
    2 hours ago






  • 1





    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
    58 mins ago


















1















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









New contributor




J.A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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
    2 hours ago






  • 2





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

    – samcarter
    2 hours ago











  • 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
    2 hours ago






  • 1





    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
    58 mins ago
















1












1








1








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









New contributor




J.A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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









New contributor




J.A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




J.A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 1 hour ago







J.A













New contributor




J.A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 hours ago









J.AJ.A

1084




1084




New contributor




J.A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





J.A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






J.A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 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
    2 hours ago






  • 2





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

    – samcarter
    2 hours ago











  • 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
    2 hours ago






  • 1





    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
    58 mins ago
















  • 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
    2 hours ago






  • 2





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

    – samcarter
    2 hours ago











  • 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
    2 hours ago






  • 1





    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
    58 mins ago










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
2 hours ago





(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
2 hours ago




2




2





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

– samcarter
2 hours ago





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

– samcarter
2 hours ago













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
2 hours ago





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
2 hours ago




1




1





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
58 mins ago







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
58 mins ago












1 Answer
1






active

oldest

votes


















4














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























    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
    });


    }
    });






    J.A is a new contributor. Be nice, and check out our Code of Conduct.










    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









    4














    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




























      4














      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


























        4












        4








        4







        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 1 hour ago









        walszjewalszje

        863




        863






















            J.A is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            J.A is a new contributor. Be nice, and check out our Code of Conduct.













            J.A is a new contributor. Be nice, and check out our Code of Conduct.












            J.A is a new contributor. Be nice, and check out our Code of Conduct.
















            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

            Polycentropodidae

            Magento 2 Error message: Invalid state change requested

            Paulmy