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
2 hours ago
2
Unrelated to your problem, but better uselog
instead oflog
– samcarter
2 hours ago
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
2 hours ago
1
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
58 mins ago
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 1 hour ago
J.A
New contributor
asked 2 hours ago
J.AJ.A
1084
1084
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
2 hours ago
2
Unrelated to your problem, but better uselog
instead oflog
– samcarter
2 hours ago
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
2 hours ago
1
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
58 mins ago
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
2 hours ago
2
Unrelated to your problem, but better uselog
instead oflog
– samcarter
2 hours ago
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
2 hours ago
1
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
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
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)
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');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
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)
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)
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 1 hour ago
walszjewalszje
863
863
add a comment |
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');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
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');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
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');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
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');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
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
2 hours ago
2
Unrelated to your problem, but better use
log
instead oflog
– 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 likepdf
or if you really have to use a pixelated format at least usepng
– 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, 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
58 mins ago