Example images in LaTeX?
How to make an example image in LaTeX, a dummy image, a spot holder? I have seen it before, but I can't remember how they would made. It would be nice to be able to use example images - if you should help anyone or you need to question in this community. You might say I could easily Google it, but I tried - and are obviously too stupid to find anything.
documentclass[12pt,a4paper]{article}
usepackage[utf8]{inputenc}
usepackage[ngerman, danish]{babel}
usepackage[T1]{fontenc}
%usepackage{}
begin{document}
iffalse
begin{figure}
includegraphics[scale=1]{•}
end{figure}
fi
end{document}
Is it also possible to resize the example image? So I need a usepackage to make an image without including an immage. An placeholder so anyone can try my code without needing images - just needing my tex-code. I hope you understand?
Kind regards!
graphics
add a comment |
How to make an example image in LaTeX, a dummy image, a spot holder? I have seen it before, but I can't remember how they would made. It would be nice to be able to use example images - if you should help anyone or you need to question in this community. You might say I could easily Google it, but I tried - and are obviously too stupid to find anything.
documentclass[12pt,a4paper]{article}
usepackage[utf8]{inputenc}
usepackage[ngerman, danish]{babel}
usepackage[T1]{fontenc}
%usepackage{}
begin{document}
iffalse
begin{figure}
includegraphics[scale=1]{•}
end{figure}
fi
end{document}
Is it also possible to resize the example image? So I need a usepackage to make an image without including an immage. An placeholder so anyone can try my code without needing images - just needing my tex-code. I hope you understand?
Kind regards!
graphics
1
Related: New support package for MWEs
– Werner
Mar 6 '15 at 19:04
1
If I google "dummy images latex", I get the mwe package documentation as the 4th result.
– 1010011010
Mar 6 '15 at 19:09
1
Sounds like you want placeholder images, not examples, right?
– Cole Johnson
Mar 7 '15 at 2:15
add a comment |
How to make an example image in LaTeX, a dummy image, a spot holder? I have seen it before, but I can't remember how they would made. It would be nice to be able to use example images - if you should help anyone or you need to question in this community. You might say I could easily Google it, but I tried - and are obviously too stupid to find anything.
documentclass[12pt,a4paper]{article}
usepackage[utf8]{inputenc}
usepackage[ngerman, danish]{babel}
usepackage[T1]{fontenc}
%usepackage{}
begin{document}
iffalse
begin{figure}
includegraphics[scale=1]{•}
end{figure}
fi
end{document}
Is it also possible to resize the example image? So I need a usepackage to make an image without including an immage. An placeholder so anyone can try my code without needing images - just needing my tex-code. I hope you understand?
Kind regards!
graphics
How to make an example image in LaTeX, a dummy image, a spot holder? I have seen it before, but I can't remember how they would made. It would be nice to be able to use example images - if you should help anyone or you need to question in this community. You might say I could easily Google it, but I tried - and are obviously too stupid to find anything.
documentclass[12pt,a4paper]{article}
usepackage[utf8]{inputenc}
usepackage[ngerman, danish]{babel}
usepackage[T1]{fontenc}
%usepackage{}
begin{document}
iffalse
begin{figure}
includegraphics[scale=1]{•}
end{figure}
fi
end{document}
Is it also possible to resize the example image? So I need a usepackage to make an image without including an immage. An placeholder so anyone can try my code without needing images - just needing my tex-code. I hope you understand?
Kind regards!
graphics
graphics
asked Mar 6 '15 at 18:39
Basilius SapientiaBasilius Sapientia
1,02721127
1,02721127
1
Related: New support package for MWEs
– Werner
Mar 6 '15 at 19:04
1
If I google "dummy images latex", I get the mwe package documentation as the 4th result.
– 1010011010
Mar 6 '15 at 19:09
1
Sounds like you want placeholder images, not examples, right?
– Cole Johnson
Mar 7 '15 at 2:15
add a comment |
1
Related: New support package for MWEs
– Werner
Mar 6 '15 at 19:04
1
If I google "dummy images latex", I get the mwe package documentation as the 4th result.
– 1010011010
Mar 6 '15 at 19:09
1
Sounds like you want placeholder images, not examples, right?
– Cole Johnson
Mar 7 '15 at 2:15
1
1
Related: New support package for MWEs
– Werner
Mar 6 '15 at 19:04
Related: New support package for MWEs
– Werner
Mar 6 '15 at 19:04
1
1
If I google "dummy images latex", I get the mwe package documentation as the 4th result.
– 1010011010
Mar 6 '15 at 19:09
If I google "dummy images latex", I get the mwe package documentation as the 4th result.
– 1010011010
Mar 6 '15 at 19:09
1
1
Sounds like you want placeholder images, not examples, right?
– Cole Johnson
Mar 7 '15 at 2:15
Sounds like you want placeholder images, not examples, right?
– Cole Johnson
Mar 7 '15 at 2:15
add a comment |
2 Answers
2
active
oldest
votes
Thanks to Martin Scharrer, modern LaTeX systems offer you some ready-to-use images; the documentation for the mwe package (Section 4 Provided Images) describes all available images (initially you had to load to package to use the images, but then the images were made usable without the package):
documentclass[12pt,a4paper]{article}
usepackage{graphicx}
begin{document}
noindentincludegraphics[width=3cm]{example-image-a}qquad
includegraphics[width=3cm]{example-image-golden}qquad
includegraphics[width=3cm]{example-grid-100x100pt}
noindentincludegraphics[height=5cm]{example-image-b}
noindentincludegraphics[scale=0.5]{example-image-c}
noindentincludegraphics[width=3cm]{example-image}
end{document}

It seamsexample-imagestops atc. Is it possible to getexample-image-d?
– Viesturs
Oct 5 '18 at 11:45
2
@Viesturs There isexample-image-ducknowadays :)
– TeXnician
Oct 9 '18 at 15:33
add a comment |
The documentation folder of PStricks contains some images in a separate folder. Most notably it holds tiger (in both EPS and PDF formats):

documentclass{article}
usepackage{graphicx}
begin{document}
includegraphics[width=150pt]{c:/texlive/2014/texmf-dist/doc/generic/pstricks/images/tiger}
end{document}
As can be seen above (under TeX Live 2014 in Windows) it's not that readily accessible.
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
});
}
});
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%2f231738%2fexample-images-in-latex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks to Martin Scharrer, modern LaTeX systems offer you some ready-to-use images; the documentation for the mwe package (Section 4 Provided Images) describes all available images (initially you had to load to package to use the images, but then the images were made usable without the package):
documentclass[12pt,a4paper]{article}
usepackage{graphicx}
begin{document}
noindentincludegraphics[width=3cm]{example-image-a}qquad
includegraphics[width=3cm]{example-image-golden}qquad
includegraphics[width=3cm]{example-grid-100x100pt}
noindentincludegraphics[height=5cm]{example-image-b}
noindentincludegraphics[scale=0.5]{example-image-c}
noindentincludegraphics[width=3cm]{example-image}
end{document}

It seamsexample-imagestops atc. Is it possible to getexample-image-d?
– Viesturs
Oct 5 '18 at 11:45
2
@Viesturs There isexample-image-ducknowadays :)
– TeXnician
Oct 9 '18 at 15:33
add a comment |
Thanks to Martin Scharrer, modern LaTeX systems offer you some ready-to-use images; the documentation for the mwe package (Section 4 Provided Images) describes all available images (initially you had to load to package to use the images, but then the images were made usable without the package):
documentclass[12pt,a4paper]{article}
usepackage{graphicx}
begin{document}
noindentincludegraphics[width=3cm]{example-image-a}qquad
includegraphics[width=3cm]{example-image-golden}qquad
includegraphics[width=3cm]{example-grid-100x100pt}
noindentincludegraphics[height=5cm]{example-image-b}
noindentincludegraphics[scale=0.5]{example-image-c}
noindentincludegraphics[width=3cm]{example-image}
end{document}

It seamsexample-imagestops atc. Is it possible to getexample-image-d?
– Viesturs
Oct 5 '18 at 11:45
2
@Viesturs There isexample-image-ducknowadays :)
– TeXnician
Oct 9 '18 at 15:33
add a comment |
Thanks to Martin Scharrer, modern LaTeX systems offer you some ready-to-use images; the documentation for the mwe package (Section 4 Provided Images) describes all available images (initially you had to load to package to use the images, but then the images were made usable without the package):
documentclass[12pt,a4paper]{article}
usepackage{graphicx}
begin{document}
noindentincludegraphics[width=3cm]{example-image-a}qquad
includegraphics[width=3cm]{example-image-golden}qquad
includegraphics[width=3cm]{example-grid-100x100pt}
noindentincludegraphics[height=5cm]{example-image-b}
noindentincludegraphics[scale=0.5]{example-image-c}
noindentincludegraphics[width=3cm]{example-image}
end{document}

Thanks to Martin Scharrer, modern LaTeX systems offer you some ready-to-use images; the documentation for the mwe package (Section 4 Provided Images) describes all available images (initially you had to load to package to use the images, but then the images were made usable without the package):
documentclass[12pt,a4paper]{article}
usepackage{graphicx}
begin{document}
noindentincludegraphics[width=3cm]{example-image-a}qquad
includegraphics[width=3cm]{example-image-golden}qquad
includegraphics[width=3cm]{example-grid-100x100pt}
noindentincludegraphics[height=5cm]{example-image-b}
noindentincludegraphics[scale=0.5]{example-image-c}
noindentincludegraphics[width=3cm]{example-image}
end{document}

edited Mar 6 '15 at 18:49
answered Mar 6 '15 at 18:42
Gonzalo MedinaGonzalo Medina
401k4113131579
401k4113131579
It seamsexample-imagestops atc. Is it possible to getexample-image-d?
– Viesturs
Oct 5 '18 at 11:45
2
@Viesturs There isexample-image-ducknowadays :)
– TeXnician
Oct 9 '18 at 15:33
add a comment |
It seamsexample-imagestops atc. Is it possible to getexample-image-d?
– Viesturs
Oct 5 '18 at 11:45
2
@Viesturs There isexample-image-ducknowadays :)
– TeXnician
Oct 9 '18 at 15:33
It seams
example-image stops at c. Is it possible to get example-image-d?– Viesturs
Oct 5 '18 at 11:45
It seams
example-image stops at c. Is it possible to get example-image-d?– Viesturs
Oct 5 '18 at 11:45
2
2
@Viesturs There is
example-image-duck nowadays :)– TeXnician
Oct 9 '18 at 15:33
@Viesturs There is
example-image-duck nowadays :)– TeXnician
Oct 9 '18 at 15:33
add a comment |
The documentation folder of PStricks contains some images in a separate folder. Most notably it holds tiger (in both EPS and PDF formats):

documentclass{article}
usepackage{graphicx}
begin{document}
includegraphics[width=150pt]{c:/texlive/2014/texmf-dist/doc/generic/pstricks/images/tiger}
end{document}
As can be seen above (under TeX Live 2014 in Windows) it's not that readily accessible.
add a comment |
The documentation folder of PStricks contains some images in a separate folder. Most notably it holds tiger (in both EPS and PDF formats):

documentclass{article}
usepackage{graphicx}
begin{document}
includegraphics[width=150pt]{c:/texlive/2014/texmf-dist/doc/generic/pstricks/images/tiger}
end{document}
As can be seen above (under TeX Live 2014 in Windows) it's not that readily accessible.
add a comment |
The documentation folder of PStricks contains some images in a separate folder. Most notably it holds tiger (in both EPS and PDF formats):

documentclass{article}
usepackage{graphicx}
begin{document}
includegraphics[width=150pt]{c:/texlive/2014/texmf-dist/doc/generic/pstricks/images/tiger}
end{document}
As can be seen above (under TeX Live 2014 in Windows) it's not that readily accessible.
The documentation folder of PStricks contains some images in a separate folder. Most notably it holds tiger (in both EPS and PDF formats):

documentclass{article}
usepackage{graphicx}
begin{document}
includegraphics[width=150pt]{c:/texlive/2014/texmf-dist/doc/generic/pstricks/images/tiger}
end{document}
As can be seen above (under TeX Live 2014 in Windows) it's not that readily accessible.
answered Mar 6 '15 at 20:03
WernerWerner
448k709911697
448k709911697
add a comment |
add a comment |
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%2f231738%2fexample-images-in-latex%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
1
Related: New support package for MWEs
– Werner
Mar 6 '15 at 19:04
1
If I google "dummy images latex", I get the mwe package documentation as the 4th result.
– 1010011010
Mar 6 '15 at 19:09
1
Sounds like you want placeholder images, not examples, right?
– Cole Johnson
Mar 7 '15 at 2:15