Includegraphics doesn't show the figure. Overleaf v2
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 :
Can you help me plz ?
Edit: png didn't work either
overleaf includegraphics
New contributor
add a comment |
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 :
Can you help me plz ?
Edit: png didn't work either
overleaf includegraphics
New contributor
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 tographicx
– daleif
Jan 18 at 11:55
2
Unrelated to your problem, but better uselog
instead oflog
– samcarter
Jan 18 at 12:00
I don't know how exactly your image looks like, but from the caption I would guess thatjpg
is not a good file type for it. Better use a vector format likepdf
or if you really have to use a pixelated format at least usepng
– samcarter
Jan 18 at 12:02
2
Again unrelated to your problem, but don't load the same package multiple times and the optionfrenchb
is deprecated, usefrench
instead. For a French text it would probably also be good to loadusepackage[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
add a comment |
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 :
Can you help me plz ?
Edit: png didn't work either
overleaf includegraphics
New contributor
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 :
Can you help me plz ?
Edit: png didn't work either
overleaf includegraphics
overleaf includegraphics
New contributor
New contributor
edited Jan 18 at 12:52
J.A
New contributor
asked Jan 18 at 11:52
J.AJ.A
1134
1134
New contributor
New contributor
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 tographicx
– daleif
Jan 18 at 11:55
2
Unrelated to your problem, but better uselog
instead oflog
– samcarter
Jan 18 at 12:00
I don't know how exactly your image looks like, but from the caption I would guess thatjpg
is not a good file type for it. Better use a vector format likepdf
or if you really have to use a pixelated format at least usepng
– samcarter
Jan 18 at 12:02
2
Again unrelated to your problem, but don't load the same package multiple times and the optionfrenchb
is deprecated, usefrench
instead. For a French text it would probably also be good to loadusepackage[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
add a comment |
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 tographicx
– daleif
Jan 18 at 11:55
2
Unrelated to your problem, but better uselog
instead oflog
– samcarter
Jan 18 at 12:00
I don't know how exactly your image looks like, but from the caption I would guess thatjpg
is not a good file type for it. Better use a vector format likepdf
or if you really have to use a pixelated format at least usepng
– samcarter
Jan 18 at 12:02
2
Again unrelated to your problem, but don't load the same package multiple times and the optionfrenchb
is deprecated, usefrench
instead. For a French text it would probably also be good to loadusepackage[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
add a comment |
1 Answer
1
active
oldest
votes
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:
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)
So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?
– Melody
yesterday
@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
yesterday
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
yesterday
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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:
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)
So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?
– Melody
yesterday
@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
yesterday
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
yesterday
add a comment |
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:
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)
So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?
– Melody
yesterday
@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
yesterday
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
yesterday
add a comment |
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:
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)
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:
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)
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
yesterday
@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
yesterday
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
yesterday
add a comment |
So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?
– Melody
yesterday
@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
yesterday
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
yesterday
So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?
– Melody
yesterday
So in V2 we either get a fast autocompiler or an autocompiler that loads images, even though V1 could do both?
– Melody
yesterday
@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
yesterday
@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
yesterday
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
yesterday
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
yesterday
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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 oflog
– 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 likepdf
or if you really have to use a pixelated format at least usepng
– 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, usefrench
instead. For a French text it would probably also be good to loadusepackage[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