Package todonotes: Display a todo only the listoftodoslistoftodos is empty for the document with...

Why is consensus so controversial in Britain?

Why is the 'in' operator throwing an error with a string literal instead of logging false?

How can I make my BBEG immortal short of making them a Lich or Vampire?

Today is the Center

Stopping power of mountain vs road bike

What about the virus in 12 Monkeys?

Why does Arabsat 6A need a Falcon Heavy to launch

Will google still index a page if I use a $_SESSION variable?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

I'm flying to France today and my passport expires in less than 2 months

What is going on with Captain Marvel's blood colour?

What is the word for reserving something for yourself before others do?

How do I write bicross product symbols in latex?

Blender 2.8 I can't see vertices, edges or faces in edit mode

How is it possible to have an ability score that is less than 3?

Can a rocket refuel on Mars from water?

How to say in German "enjoying home comforts"

What to put in ESTA if staying in US for a few days before going on to Canada

Brothers & sisters

Did Shadowfax go to Valinor?

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

In a Spin are Both Wings Stalled?

What killed these X2 caps?

Is it unprofessional to ask if a job posting on GlassDoor is real?



Package todonotes: Display a todo only the listoftodos


listoftodos is empty for the document with todotodonotes' listoftodos with multi-paragraph todo{}sHow does one create a counted command (e.g. TODO) for use in a list?Change header of listoftodossiamltex + todonotes packagetodonotes: How to make multiple listoftodos?todonotes: custom sort of listoftodos entriesHow use todonotes without adding items to Todo listtodonotes: Use only left or only right margin?Adding timestamps in latex documents to mark when document was written, not compiled?













1















I know the todonotes package gives me nolist option when calling todo in order to hide a given entry from the listoftodos.



However, I can't find a way in the documentation to do the opposite of this. I'd like to add an entry to the list without having something appear later on where I place the todo itself. Is this possible?










share|improve this question





























    1















    I know the todonotes package gives me nolist option when calling todo in order to hide a given entry from the listoftodos.



    However, I can't find a way in the documentation to do the opposite of this. I'd like to add an entry to the list without having something appear later on where I place the todo itself. Is this possible?










    share|improve this question



























      1












      1








      1


      1






      I know the todonotes package gives me nolist option when calling todo in order to hide a given entry from the listoftodos.



      However, I can't find a way in the documentation to do the opposite of this. I'd like to add an entry to the list without having something appear later on where I place the todo itself. Is this possible?










      share|improve this question
















      I know the todonotes package gives me nolist option when calling todo in order to hide a given entry from the listoftodos.



      However, I can't find a way in the documentation to do the opposite of this. I'd like to add an entry to the list without having something appear later on where I place the todo itself. Is this possible?







      todonotes






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 3 mins ago









      Kurt

      40.7k850164




      40.7k850164










      asked 5 hours ago









      Brennon BortzBrennon Bortz

      1654




      1654






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You have two possibilitys:





          1. You can print all text in the margin completely in white with



            newcommand{mytodo}[1]{%
            todo[linecolor=white, backgroundcolor=white,bordercolor=white, textcolor=white]{#1}%
            }



          2. You can fool todonotes and create the entry in the list of to dos by your own:



            newcommand{mysectodo}[1]{%
            addcontentsline{tdo}{todo}{#1}%
            }



          With the following complete code



          documentclass{article}

          usepackage[utf8]{inputenc}
          usepackage{todonotes}
          usepackage{blindtext}

          newcommand{mytodo}[1]{% <==========================================
          todo[linecolor=white, backgroundcolor=white,bordercolor=white, textcolor=white]{#1}%
          }

          newcommand{mysectodo}[1]{% <=======================================
          addcontentsline{tdo}{todo}{#1}%
          }

          begin{document}

          listoftodos

          test todo[inline]{some fixme notes about this text 1}
          blindtext
          todo{some fixme notes about this text 2}
          blindtext
          textbf{test}
          mytodo{some fixme notes about this text 3} % <================
          textbf{test} blindtext
          emph{test}
          mysectodo{some fixme notes about this text 4} % <=============
          emph{test} blindtext
          todo{some fixme notes about this text 5}
          blindtext

          end{document}


          you get the result:



          result



          As you can see in the image above (yellow part, marked with 3) the mytodo is not visable, but it tooks place (*could be a problem with more todos). Marked with 4 you can see the place where I added command mysectodo. It needs no place in the margin, but writes the entry in the list of todos ...





          share
























            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%2f483263%2fpackage-todonotes-display-a-todo-only-the-listoftodos%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









            0














            You have two possibilitys:





            1. You can print all text in the margin completely in white with



              newcommand{mytodo}[1]{%
              todo[linecolor=white, backgroundcolor=white,bordercolor=white, textcolor=white]{#1}%
              }



            2. You can fool todonotes and create the entry in the list of to dos by your own:



              newcommand{mysectodo}[1]{%
              addcontentsline{tdo}{todo}{#1}%
              }



            With the following complete code



            documentclass{article}

            usepackage[utf8]{inputenc}
            usepackage{todonotes}
            usepackage{blindtext}

            newcommand{mytodo}[1]{% <==========================================
            todo[linecolor=white, backgroundcolor=white,bordercolor=white, textcolor=white]{#1}%
            }

            newcommand{mysectodo}[1]{% <=======================================
            addcontentsline{tdo}{todo}{#1}%
            }

            begin{document}

            listoftodos

            test todo[inline]{some fixme notes about this text 1}
            blindtext
            todo{some fixme notes about this text 2}
            blindtext
            textbf{test}
            mytodo{some fixme notes about this text 3} % <================
            textbf{test} blindtext
            emph{test}
            mysectodo{some fixme notes about this text 4} % <=============
            emph{test} blindtext
            todo{some fixme notes about this text 5}
            blindtext

            end{document}


            you get the result:



            result



            As you can see in the image above (yellow part, marked with 3) the mytodo is not visable, but it tooks place (*could be a problem with more todos). Marked with 4 you can see the place where I added command mysectodo. It needs no place in the margin, but writes the entry in the list of todos ...





            share




























              0














              You have two possibilitys:





              1. You can print all text in the margin completely in white with



                newcommand{mytodo}[1]{%
                todo[linecolor=white, backgroundcolor=white,bordercolor=white, textcolor=white]{#1}%
                }



              2. You can fool todonotes and create the entry in the list of to dos by your own:



                newcommand{mysectodo}[1]{%
                addcontentsline{tdo}{todo}{#1}%
                }



              With the following complete code



              documentclass{article}

              usepackage[utf8]{inputenc}
              usepackage{todonotes}
              usepackage{blindtext}

              newcommand{mytodo}[1]{% <==========================================
              todo[linecolor=white, backgroundcolor=white,bordercolor=white, textcolor=white]{#1}%
              }

              newcommand{mysectodo}[1]{% <=======================================
              addcontentsline{tdo}{todo}{#1}%
              }

              begin{document}

              listoftodos

              test todo[inline]{some fixme notes about this text 1}
              blindtext
              todo{some fixme notes about this text 2}
              blindtext
              textbf{test}
              mytodo{some fixme notes about this text 3} % <================
              textbf{test} blindtext
              emph{test}
              mysectodo{some fixme notes about this text 4} % <=============
              emph{test} blindtext
              todo{some fixme notes about this text 5}
              blindtext

              end{document}


              you get the result:



              result



              As you can see in the image above (yellow part, marked with 3) the mytodo is not visable, but it tooks place (*could be a problem with more todos). Marked with 4 you can see the place where I added command mysectodo. It needs no place in the margin, but writes the entry in the list of todos ...





              share


























                0












                0








                0







                You have two possibilitys:





                1. You can print all text in the margin completely in white with



                  newcommand{mytodo}[1]{%
                  todo[linecolor=white, backgroundcolor=white,bordercolor=white, textcolor=white]{#1}%
                  }



                2. You can fool todonotes and create the entry in the list of to dos by your own:



                  newcommand{mysectodo}[1]{%
                  addcontentsline{tdo}{todo}{#1}%
                  }



                With the following complete code



                documentclass{article}

                usepackage[utf8]{inputenc}
                usepackage{todonotes}
                usepackage{blindtext}

                newcommand{mytodo}[1]{% <==========================================
                todo[linecolor=white, backgroundcolor=white,bordercolor=white, textcolor=white]{#1}%
                }

                newcommand{mysectodo}[1]{% <=======================================
                addcontentsline{tdo}{todo}{#1}%
                }

                begin{document}

                listoftodos

                test todo[inline]{some fixme notes about this text 1}
                blindtext
                todo{some fixme notes about this text 2}
                blindtext
                textbf{test}
                mytodo{some fixme notes about this text 3} % <================
                textbf{test} blindtext
                emph{test}
                mysectodo{some fixme notes about this text 4} % <=============
                emph{test} blindtext
                todo{some fixme notes about this text 5}
                blindtext

                end{document}


                you get the result:



                result



                As you can see in the image above (yellow part, marked with 3) the mytodo is not visable, but it tooks place (*could be a problem with more todos). Marked with 4 you can see the place where I added command mysectodo. It needs no place in the margin, but writes the entry in the list of todos ...





                share













                You have two possibilitys:





                1. You can print all text in the margin completely in white with



                  newcommand{mytodo}[1]{%
                  todo[linecolor=white, backgroundcolor=white,bordercolor=white, textcolor=white]{#1}%
                  }



                2. You can fool todonotes and create the entry in the list of to dos by your own:



                  newcommand{mysectodo}[1]{%
                  addcontentsline{tdo}{todo}{#1}%
                  }



                With the following complete code



                documentclass{article}

                usepackage[utf8]{inputenc}
                usepackage{todonotes}
                usepackage{blindtext}

                newcommand{mytodo}[1]{% <==========================================
                todo[linecolor=white, backgroundcolor=white,bordercolor=white, textcolor=white]{#1}%
                }

                newcommand{mysectodo}[1]{% <=======================================
                addcontentsline{tdo}{todo}{#1}%
                }

                begin{document}

                listoftodos

                test todo[inline]{some fixme notes about this text 1}
                blindtext
                todo{some fixme notes about this text 2}
                blindtext
                textbf{test}
                mytodo{some fixme notes about this text 3} % <================
                textbf{test} blindtext
                emph{test}
                mysectodo{some fixme notes about this text 4} % <=============
                emph{test} blindtext
                todo{some fixme notes about this text 5}
                blindtext

                end{document}


                you get the result:



                result



                As you can see in the image above (yellow part, marked with 3) the mytodo is not visable, but it tooks place (*could be a problem with more todos). Marked with 4 you can see the place where I added command mysectodo. It needs no place in the margin, but writes the entry in the list of todos ...






                share











                share


                share










                answered 9 mins ago









                KurtKurt

                40.7k850164




                40.7k850164






























                    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%2f483263%2fpackage-todonotes-display-a-todo-only-the-listoftodos%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 /...