manage todonotes to insert figure in the marginHow can I get todonotes in the left marginRedefine default...

What is the offset in a seaplane's hull?

Can I make popcorn with any corn?

Is there really no realistic way for a skeleton monster to move around without magic?

Shell script not opening as desktop application

What typically incentivizes a professor to change jobs to a lower ranking university?

Why CLRS example on residual networks does not follows its formula?

The use of multiple foreign keys on same column in SQL Server

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

How can I fix this gap between bookcases I made?

Why is the design of haulage companies so “special”?

Why are only specific transaction types accepted into the mempool?

How can bays and straits be determined in a procedurally generated map?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

"which" command doesn't work / path of Safari?

declaring a variable twice in IIFE

Why is an old chain unsafe?

Representing power series as a function - what to do with the constant after integration?

Why don't electromagnetic waves interact with each other?

Are tax years 2016 & 2017 back taxes deductible for tax year 2018?

XeLaTeX and pdfLaTeX ignore hyphenation

How do I create uniquely male characters?

Continuity at a point in terms of closure

How can I hide my bitcoin transactions to protect anonymity from others?

How does one intimidate enemies without having the capacity for violence?



manage todonotes to insert figure in the margin


How can I get todonotes in the left marginRedefine default color of todonotesHow can I make todonotes use all of the margin?Extend page “width” or “margin” for todonotes comments or other package comments to sit inHow to place todonotes in left and right margin?todonotes package causes badboxesUsing hyperref's autoref function with todonotes messes up reference namesHow to insert a pdf figure at the right positiontodonotes get cut off in margin of twoside documenttodonotes breaks pgfplots and tikz spy with externalization













2















How I can use todonotes package to insert figure in the margin? I want 3 parameters:




  1. The name of the figure,

  2. the width of the figure,

  3. the caption (perhaps with tiny or footnote fonts).










share|improve this question

























  • Welcome to TeX.sx!

    – Rico
    Jan 20 '13 at 18:51
















2















How I can use todonotes package to insert figure in the margin? I want 3 parameters:




  1. The name of the figure,

  2. the width of the figure,

  3. the caption (perhaps with tiny or footnote fonts).










share|improve this question

























  • Welcome to TeX.sx!

    – Rico
    Jan 20 '13 at 18:51














2












2








2








How I can use todonotes package to insert figure in the margin? I want 3 parameters:




  1. The name of the figure,

  2. the width of the figure,

  3. the caption (perhaps with tiny or footnote fonts).










share|improve this question
















How I can use todonotes package to insert figure in the margin? I want 3 parameters:




  1. The name of the figure,

  2. the width of the figure,

  3. the caption (perhaps with tiny or footnote fonts).







graphics todonotes






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 20 '13 at 19:17









diabonas

21.5k386131




21.5k386131










asked Jan 20 '13 at 18:44









Raffaele SantoroRaffaele Santoro

13711




13711













  • Welcome to TeX.sx!

    – Rico
    Jan 20 '13 at 18:51



















  • Welcome to TeX.sx!

    – Rico
    Jan 20 '13 at 18:51

















Welcome to TeX.sx!

– Rico
Jan 20 '13 at 18:51





Welcome to TeX.sx!

– Rico
Jan 20 '13 at 18:51










2 Answers
2






active

oldest

votes


















2














As far I now, there are not an easy method to include a figure in a to do note, but there are at least two easy alternatives: the tufte-handout class and/or a marginpar with the aid of the caption package. A minimal working example (if you have also an image with the filename gravatar.png):



documentclass[justified]{tufte-handout}
usepackage{lipsum} % for dummy text
usepackage{graphicx}
usepackage{caption}

begin{document}
begin{marginfigure}
centering
includegraphics[width=textwidth]{gravatar.png}
caption{A tufte margin figure}
label{One}
end{marginfigure}

See figure ref{One} at margin. lipsum[1]

lipsum[2]

marginpar{
centering
includegraphics[width=.45textwidth]{gravatar.png}
captionof{figure}{label{Two}A marginpar figure.
Note that text width is in another scale here.}
}

lipsum[3]
end{document}





share|improve this answer
























  • Thanks. I like the second solution (marginpar): she works almost fine with book class. Any solution with the todonotes package?

    – Raffaele Santoro
    Jan 21 '13 at 4:27



















1














Apparently, all you need to do is protect the includegraphics macro. The following MWE works for me.



documentclass{article}
usepackage{todonotes}
newcommand{todoFig}[3]{
todo[noline]{
protectincludegraphics[width=#2]{#1}\
tiny #3
}
}
begin{document}
todoFig{image.png}{1cm}{Small caption}
end{document}





share|improve this answer








New contributor




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





















  • Welcome to TeX.SE!

    – Kurt
    8 hours ago












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%2f94616%2fmanage-todonotes-to-insert-figure-in-the-margin%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









2














As far I now, there are not an easy method to include a figure in a to do note, but there are at least two easy alternatives: the tufte-handout class and/or a marginpar with the aid of the caption package. A minimal working example (if you have also an image with the filename gravatar.png):



documentclass[justified]{tufte-handout}
usepackage{lipsum} % for dummy text
usepackage{graphicx}
usepackage{caption}

begin{document}
begin{marginfigure}
centering
includegraphics[width=textwidth]{gravatar.png}
caption{A tufte margin figure}
label{One}
end{marginfigure}

See figure ref{One} at margin. lipsum[1]

lipsum[2]

marginpar{
centering
includegraphics[width=.45textwidth]{gravatar.png}
captionof{figure}{label{Two}A marginpar figure.
Note that text width is in another scale here.}
}

lipsum[3]
end{document}





share|improve this answer
























  • Thanks. I like the second solution (marginpar): she works almost fine with book class. Any solution with the todonotes package?

    – Raffaele Santoro
    Jan 21 '13 at 4:27
















2














As far I now, there are not an easy method to include a figure in a to do note, but there are at least two easy alternatives: the tufte-handout class and/or a marginpar with the aid of the caption package. A minimal working example (if you have also an image with the filename gravatar.png):



documentclass[justified]{tufte-handout}
usepackage{lipsum} % for dummy text
usepackage{graphicx}
usepackage{caption}

begin{document}
begin{marginfigure}
centering
includegraphics[width=textwidth]{gravatar.png}
caption{A tufte margin figure}
label{One}
end{marginfigure}

See figure ref{One} at margin. lipsum[1]

lipsum[2]

marginpar{
centering
includegraphics[width=.45textwidth]{gravatar.png}
captionof{figure}{label{Two}A marginpar figure.
Note that text width is in another scale here.}
}

lipsum[3]
end{document}





share|improve this answer
























  • Thanks. I like the second solution (marginpar): she works almost fine with book class. Any solution with the todonotes package?

    – Raffaele Santoro
    Jan 21 '13 at 4:27














2












2








2







As far I now, there are not an easy method to include a figure in a to do note, but there are at least two easy alternatives: the tufte-handout class and/or a marginpar with the aid of the caption package. A minimal working example (if you have also an image with the filename gravatar.png):



documentclass[justified]{tufte-handout}
usepackage{lipsum} % for dummy text
usepackage{graphicx}
usepackage{caption}

begin{document}
begin{marginfigure}
centering
includegraphics[width=textwidth]{gravatar.png}
caption{A tufte margin figure}
label{One}
end{marginfigure}

See figure ref{One} at margin. lipsum[1]

lipsum[2]

marginpar{
centering
includegraphics[width=.45textwidth]{gravatar.png}
captionof{figure}{label{Two}A marginpar figure.
Note that text width is in another scale here.}
}

lipsum[3]
end{document}





share|improve this answer













As far I now, there are not an easy method to include a figure in a to do note, but there are at least two easy alternatives: the tufte-handout class and/or a marginpar with the aid of the caption package. A minimal working example (if you have also an image with the filename gravatar.png):



documentclass[justified]{tufte-handout}
usepackage{lipsum} % for dummy text
usepackage{graphicx}
usepackage{caption}

begin{document}
begin{marginfigure}
centering
includegraphics[width=textwidth]{gravatar.png}
caption{A tufte margin figure}
label{One}
end{marginfigure}

See figure ref{One} at margin. lipsum[1]

lipsum[2]

marginpar{
centering
includegraphics[width=.45textwidth]{gravatar.png}
captionof{figure}{label{Two}A marginpar figure.
Note that text width is in another scale here.}
}

lipsum[3]
end{document}






share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 21 '13 at 0:41









FranFran

53.6k6120183




53.6k6120183













  • Thanks. I like the second solution (marginpar): she works almost fine with book class. Any solution with the todonotes package?

    – Raffaele Santoro
    Jan 21 '13 at 4:27



















  • Thanks. I like the second solution (marginpar): she works almost fine with book class. Any solution with the todonotes package?

    – Raffaele Santoro
    Jan 21 '13 at 4:27

















Thanks. I like the second solution (marginpar): she works almost fine with book class. Any solution with the todonotes package?

– Raffaele Santoro
Jan 21 '13 at 4:27





Thanks. I like the second solution (marginpar): she works almost fine with book class. Any solution with the todonotes package?

– Raffaele Santoro
Jan 21 '13 at 4:27











1














Apparently, all you need to do is protect the includegraphics macro. The following MWE works for me.



documentclass{article}
usepackage{todonotes}
newcommand{todoFig}[3]{
todo[noline]{
protectincludegraphics[width=#2]{#1}\
tiny #3
}
}
begin{document}
todoFig{image.png}{1cm}{Small caption}
end{document}





share|improve this answer








New contributor




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





















  • Welcome to TeX.SE!

    – Kurt
    8 hours ago
















1














Apparently, all you need to do is protect the includegraphics macro. The following MWE works for me.



documentclass{article}
usepackage{todonotes}
newcommand{todoFig}[3]{
todo[noline]{
protectincludegraphics[width=#2]{#1}\
tiny #3
}
}
begin{document}
todoFig{image.png}{1cm}{Small caption}
end{document}





share|improve this answer








New contributor




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





















  • Welcome to TeX.SE!

    – Kurt
    8 hours ago














1












1








1







Apparently, all you need to do is protect the includegraphics macro. The following MWE works for me.



documentclass{article}
usepackage{todonotes}
newcommand{todoFig}[3]{
todo[noline]{
protectincludegraphics[width=#2]{#1}\
tiny #3
}
}
begin{document}
todoFig{image.png}{1cm}{Small caption}
end{document}





share|improve this answer








New contributor




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










Apparently, all you need to do is protect the includegraphics macro. The following MWE works for me.



documentclass{article}
usepackage{todonotes}
newcommand{todoFig}[3]{
todo[noline]{
protectincludegraphics[width=#2]{#1}\
tiny #3
}
}
begin{document}
todoFig{image.png}{1cm}{Small caption}
end{document}






share|improve this answer








New contributor




Sylphio 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 answer



share|improve this answer






New contributor




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









answered 9 hours ago









SylphioSylphio

111




111




New contributor




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





New contributor





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






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













  • Welcome to TeX.SE!

    – Kurt
    8 hours ago



















  • Welcome to TeX.SE!

    – Kurt
    8 hours ago

















Welcome to TeX.SE!

– Kurt
8 hours ago





Welcome to TeX.SE!

– Kurt
8 hours ago


















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%2f94616%2fmanage-todonotes-to-insert-figure-in-the-margin%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

Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...