Implementation of “clouds” for notes in the text [duplicate] Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Rectanglar cloud shaped node in TikZAlign text and logoPosition margin notes relative to left margin in plain TeXHorizontal alignment of margin notes in nested enumitem listunderbrace and notes in the center environmentText too long for the cell?Center the text in whole pageHow to align the baseline of margin notes in LaTeX with the main text?centering the textHow to specify variable padding for tikz node text?Cascading text formating for theatre

Doubts about chords

What is this single-engine low-wing propeller plane?

How do I stop a creek from eroding my steep embankment?

When -s is used with third person singular. What's its use in this context?

Java 8 stream max() function argument type Comparator vs Comparable

Why are there no cargo aircraft with "flying wing" design?

Should I call the interviewer directly, if HR aren't responding?

How widely used is the term Treppenwitz? Is it something that most Germans know?

Is the address of a local variable a constexpr?

Is there a documented rationale why the House Ways and Means chairman can demand tax info?

Why does Python start at index 1 when iterating an array backwards?

Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?

Stars Make Stars

Can a non-EU citizen traveling with me come with me through the EU passport line?

Did Kevin spill real chili?

Is high blood pressure ever a symptom attributable solely to dehydration?

Bonus calculation: Am I making a mountain out of a molehill?

Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?

How to bypass password on Windows XP account?

Is it true that "carbohydrates are of no use for the basal metabolic need"?

How discoverable are IPv6 addresses and AAAA names by potential attackers?

How do I keep my slimes from escaping their pens?

When is phishing education going too far?

Antler Helmet: Can it work?



Implementation of “clouds” for notes in the text [duplicate]



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Rectanglar cloud shaped node in TikZAlign text and logoPosition margin notes relative to left margin in plain TeXHorizontal alignment of margin notes in nested enumitem listunderbrace and notes in the center environmentText too long for the cell?Center the text in whole pageHow to align the baseline of margin notes in LaTeX with the main text?centering the textHow to specify variable padding for tikz node text?Cascading text formating for theatre










3
















This question already has an answer here:



  • Rectanglar cloud shaped node in TikZ

    4 answers



It is hard to describe what I want in a setence, better take a look on how I usually write down (lecture) notes.



enter image description here



I want to point your attention to these little "clouds" which contain some useful, but not necessary information about a sentence, for example.



It is important to me that I have these notes in the text and not "outside" (as a footnote or so).



Also notice that notes are placed wherever there is enough space.



We already have examples of such clouds here on TEX.SX:
cloud examples



So I search for something like a stackrel or overbrace command that does all the alignment and spacing for me (obviously it would take ages to align manually with all those clouds otherwise).










share|improve this question















marked as duplicate by subham soni, Phelype Oleinik, JouleV, Stefan Pinnow, Raaja Apr 10 at 16:42


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






















    3
















    This question already has an answer here:



    • Rectanglar cloud shaped node in TikZ

      4 answers



    It is hard to describe what I want in a setence, better take a look on how I usually write down (lecture) notes.



    enter image description here



    I want to point your attention to these little "clouds" which contain some useful, but not necessary information about a sentence, for example.



    It is important to me that I have these notes in the text and not "outside" (as a footnote or so).



    Also notice that notes are placed wherever there is enough space.



    We already have examples of such clouds here on TEX.SX:
    cloud examples



    So I search for something like a stackrel or overbrace command that does all the alignment and spacing for me (obviously it would take ages to align manually with all those clouds otherwise).










    share|improve this question















    marked as duplicate by subham soni, Phelype Oleinik, JouleV, Stefan Pinnow, Raaja Apr 10 at 16:42


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




















      3












      3








      3









      This question already has an answer here:



      • Rectanglar cloud shaped node in TikZ

        4 answers



      It is hard to describe what I want in a setence, better take a look on how I usually write down (lecture) notes.



      enter image description here



      I want to point your attention to these little "clouds" which contain some useful, but not necessary information about a sentence, for example.



      It is important to me that I have these notes in the text and not "outside" (as a footnote or so).



      Also notice that notes are placed wherever there is enough space.



      We already have examples of such clouds here on TEX.SX:
      cloud examples



      So I search for something like a stackrel or overbrace command that does all the alignment and spacing for me (obviously it would take ages to align manually with all those clouds otherwise).










      share|improve this question

















      This question already has an answer here:



      • Rectanglar cloud shaped node in TikZ

        4 answers



      It is hard to describe what I want in a setence, better take a look on how I usually write down (lecture) notes.



      enter image description here



      I want to point your attention to these little "clouds" which contain some useful, but not necessary information about a sentence, for example.



      It is important to me that I have these notes in the text and not "outside" (as a footnote or so).



      Also notice that notes are placed wherever there is enough space.



      We already have examples of such clouds here on TEX.SX:
      cloud examples



      So I search for something like a stackrel or overbrace command that does all the alignment and spacing for me (obviously it would take ages to align manually with all those clouds otherwise).





      This question already has an answer here:



      • Rectanglar cloud shaped node in TikZ

        4 answers







      tikz-pgf horizontal-alignment formatting vertical-alignment






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 10 at 13:50







      Aericura

















      asked Apr 10 at 13:23









      AericuraAericura

      526




      526




      marked as duplicate by subham soni, Phelype Oleinik, JouleV, Stefan Pinnow, Raaja Apr 10 at 16:42


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









      marked as duplicate by subham soni, Phelype Oleinik, JouleV, Stefan Pinnow, Raaja Apr 10 at 16:42


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






















          2 Answers
          2






          active

          oldest

          votes


















          4














          Unless you want to spend all your time manually placing text so as to wrap around your clouds, I suggest combining it with a marginpar mechanism. The only change to the layout I did was to decrease the textwidth to leave room for the clouds.



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes

          newcommandmargincloud[1]%
          tabtotextwidth%
          llap%
          rule[-dpstrutbox].5ptdpstrutbox%
          rule[-dpstrutbox]dimexprtextwidth-TabPrevPosrelax.5pt%
          kern-3pt
          smashrlaprotatebox[origin=lb]45rule[-dpstrutbox]60pt.5pt%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %


          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here



          At the OP's request, a version with dotted connectors:



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes
          defdotfill#1cleadershbox to #1scalebox1.4.hfill
          newcommanddotline[2][.5em]leavevmodehbox to #2dotfill#1hfil
          newcommandmargincloud[1]%
          tabtotextwidth%
          llapraisebox-dpstrutbox%
          dotlinedimexprtextwidth-TabPrevPosrelax%
          kern-3pt
          smashrlaprotatebox[origin=lb]45dotline[.7em]60pt%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %

          sloppy
          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here



          Better yet, a version with bubbles:



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes
          defdotfill#1#2cleadershbox to #1scalebox#2$circ$hfill
          newcommanddotline[3][.6em]leavevmodehbox to #2dotfill#1#3hfil
          newcommandmargincloud[1]%
          tabtotextwidth%
          llapraisebox-dpstrutbox%
          dotlinedimexprtextwidth-TabPrevPosrelax.6%
          kern-3pt
          smashrlaprotatebox[origin=lb]45dotline[.8em]60pt1%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %

          sloppy
          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here






          share|improve this answer

























          • That is a good idea. Can I make the line dotted like in my picture?

            – Aericura
            Apr 10 at 14:11











          • @Aericura Please see my edit.

            – Steven B. Segletes
            Apr 10 at 14:20











          • Huge thank you!

            – Aericura
            Apr 10 at 14:23











          • @Aericura Wait for it... a version with bubbles!

            – Steven B. Segletes
            Apr 10 at 14:25











          • It gets better and better :) Thank you :)

            – Aericura
            Apr 10 at 14:31


















          5














          With tikz and tikzmark you can do such things.



          documentclassarticle
          usepackageamsmath
          usepackagetikz
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 0.95 step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate
          begindocument
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$
          begintikzpicture[overlay,remember picture]
          path[thought dots] (n) -- ++(0.5,-1) node[below,cloud,draw,align=center,aspect=2,inner sep=0pt]study structure\
          of sets by studying\ maps between them;
          endtikzpicture
          enddocument


          enter image description here



          You can address the alignment problem with either shapepar or wrapfig or something along those lines. Which of these options suits you best may only be gauged once you provide us with an MWE, from which we can see which packages you are using and so on. The following is to give you an idea.



          documentclassarticle
          usepackageamsmath
          usepackagewrapfig
          usepackagelipsum
          usepackagetikz
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 0.95 step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate,iCloud/.style=cloud,draw,align=center,aspect=2,inner sep=0pt
          begindocument
          setcountersection3
          sectionMeasurable maps
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$

          beginwrapfigure[10]r[10pt]6cm
          tikzmarknode[iCloud]nnstudy structure\
          of sets by studying\ maps between them
          begintikzpicture[overlay,remember picture]
          path[thought dots] (n) -- (nn);
          endtikzpicture
          endwrapfigure
          $triangleright$ measurable maps

          a map $f:Mto N$ is called measurable if dots lipsum[1]

          enddocument


          enter image description here



          If you want them in the margin, then I'd use tikzpagenodes.



          documentclassarticle
          usepackage[left=1in,top=1.5in,bottom=1.5in,right=2in]geometry
          usepackageamsmath
          usepackagelipsum
          usepackagetikz
          usepackagetikzpagenodes
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 1-4pt step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate,iCloud/.style=cloud,draw,align=center,aspect=2,inner sep=0pt
          newcounterclouds
          newcommandAddThought[3][]current page text area.east)
          #3;
          path[thought dots] (#2) -- (cloud-numbervalueclouds);
          endtikzpicture
          begindocument
          setcountersection3
          sectionMeasurable maps
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$
          AddThoughtnstudy structure\
          of sets by studying\ maps between them

          $triangleright$ measurable maps

          a map $f:Mto N$ is called measurable if dots lipsum[1]

          Something about tikzmarknodedducks
          AddThought[yshift=-1cm]dWhy always\
          ducks? Don't we\ have enough\ ducks?

          enddocument


          enter image description here






          share|improve this answer

























          • Okay, but now I have a problem: When putting dummy text after your example, the text.gets placed over the cloud (study nervously :))) Can I place the text around the cloud?

            – Aericura
            Apr 10 at 14:05












          • @Aericura Your comment was 23 seconds early, I added an example addressing this.

            – marmot
            Apr 10 at 14:06











          • Ah, I see, that's a great way of doing it (I was looking for something like this)! Thank you!

            – Aericura
            Apr 10 at 14:11


















          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          4














          Unless you want to spend all your time manually placing text so as to wrap around your clouds, I suggest combining it with a marginpar mechanism. The only change to the layout I did was to decrease the textwidth to leave room for the clouds.



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes

          newcommandmargincloud[1]%
          tabtotextwidth%
          llap%
          rule[-dpstrutbox].5ptdpstrutbox%
          rule[-dpstrutbox]dimexprtextwidth-TabPrevPosrelax.5pt%
          kern-3pt
          smashrlaprotatebox[origin=lb]45rule[-dpstrutbox]60pt.5pt%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %


          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here



          At the OP's request, a version with dotted connectors:



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes
          defdotfill#1cleadershbox to #1scalebox1.4.hfill
          newcommanddotline[2][.5em]leavevmodehbox to #2dotfill#1hfil
          newcommandmargincloud[1]%
          tabtotextwidth%
          llapraisebox-dpstrutbox%
          dotlinedimexprtextwidth-TabPrevPosrelax%
          kern-3pt
          smashrlaprotatebox[origin=lb]45dotline[.7em]60pt%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %

          sloppy
          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here



          Better yet, a version with bubbles:



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes
          defdotfill#1#2cleadershbox to #1scalebox#2$circ$hfill
          newcommanddotline[3][.6em]leavevmodehbox to #2dotfill#1#3hfil
          newcommandmargincloud[1]%
          tabtotextwidth%
          llapraisebox-dpstrutbox%
          dotlinedimexprtextwidth-TabPrevPosrelax.6%
          kern-3pt
          smashrlaprotatebox[origin=lb]45dotline[.8em]60pt1%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %

          sloppy
          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here






          share|improve this answer

























          • That is a good idea. Can I make the line dotted like in my picture?

            – Aericura
            Apr 10 at 14:11











          • @Aericura Please see my edit.

            – Steven B. Segletes
            Apr 10 at 14:20











          • Huge thank you!

            – Aericura
            Apr 10 at 14:23











          • @Aericura Wait for it... a version with bubbles!

            – Steven B. Segletes
            Apr 10 at 14:25











          • It gets better and better :) Thank you :)

            – Aericura
            Apr 10 at 14:31















          4














          Unless you want to spend all your time manually placing text so as to wrap around your clouds, I suggest combining it with a marginpar mechanism. The only change to the layout I did was to decrease the textwidth to leave room for the clouds.



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes

          newcommandmargincloud[1]%
          tabtotextwidth%
          llap%
          rule[-dpstrutbox].5ptdpstrutbox%
          rule[-dpstrutbox]dimexprtextwidth-TabPrevPosrelax.5pt%
          kern-3pt
          smashrlaprotatebox[origin=lb]45rule[-dpstrutbox]60pt.5pt%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %


          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here



          At the OP's request, a version with dotted connectors:



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes
          defdotfill#1cleadershbox to #1scalebox1.4.hfill
          newcommanddotline[2][.5em]leavevmodehbox to #2dotfill#1hfil
          newcommandmargincloud[1]%
          tabtotextwidth%
          llapraisebox-dpstrutbox%
          dotlinedimexprtextwidth-TabPrevPosrelax%
          kern-3pt
          smashrlaprotatebox[origin=lb]45dotline[.7em]60pt%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %

          sloppy
          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here



          Better yet, a version with bubbles:



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes
          defdotfill#1#2cleadershbox to #1scalebox#2$circ$hfill
          newcommanddotline[3][.6em]leavevmodehbox to #2dotfill#1#3hfil
          newcommandmargincloud[1]%
          tabtotextwidth%
          llapraisebox-dpstrutbox%
          dotlinedimexprtextwidth-TabPrevPosrelax.6%
          kern-3pt
          smashrlaprotatebox[origin=lb]45dotline[.8em]60pt1%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %

          sloppy
          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here






          share|improve this answer

























          • That is a good idea. Can I make the line dotted like in my picture?

            – Aericura
            Apr 10 at 14:11











          • @Aericura Please see my edit.

            – Steven B. Segletes
            Apr 10 at 14:20











          • Huge thank you!

            – Aericura
            Apr 10 at 14:23











          • @Aericura Wait for it... a version with bubbles!

            – Steven B. Segletes
            Apr 10 at 14:25











          • It gets better and better :) Thank you :)

            – Aericura
            Apr 10 at 14:31













          4












          4








          4







          Unless you want to spend all your time manually placing text so as to wrap around your clouds, I suggest combining it with a marginpar mechanism. The only change to the layout I did was to decrease the textwidth to leave room for the clouds.



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes

          newcommandmargincloud[1]%
          tabtotextwidth%
          llap%
          rule[-dpstrutbox].5ptdpstrutbox%
          rule[-dpstrutbox]dimexprtextwidth-TabPrevPosrelax.5pt%
          kern-3pt
          smashrlaprotatebox[origin=lb]45rule[-dpstrutbox]60pt.5pt%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %


          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here



          At the OP's request, a version with dotted connectors:



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes
          defdotfill#1cleadershbox to #1scalebox1.4.hfill
          newcommanddotline[2][.5em]leavevmodehbox to #2dotfill#1hfil
          newcommandmargincloud[1]%
          tabtotextwidth%
          llapraisebox-dpstrutbox%
          dotlinedimexprtextwidth-TabPrevPosrelax%
          kern-3pt
          smashrlaprotatebox[origin=lb]45dotline[.7em]60pt%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %

          sloppy
          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here



          Better yet, a version with bubbles:



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes
          defdotfill#1#2cleadershbox to #1scalebox#2$circ$hfill
          newcommanddotline[3][.6em]leavevmodehbox to #2dotfill#1#3hfil
          newcommandmargincloud[1]%
          tabtotextwidth%
          llapraisebox-dpstrutbox%
          dotlinedimexprtextwidth-TabPrevPosrelax.6%
          kern-3pt
          smashrlaprotatebox[origin=lb]45dotline[.8em]60pt1%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %

          sloppy
          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here






          share|improve this answer















          Unless you want to spend all your time manually placing text so as to wrap around your clouds, I suggest combining it with a marginpar mechanism. The only change to the layout I did was to decrease the textwidth to leave room for the clouds.



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes

          newcommandmargincloud[1]%
          tabtotextwidth%
          llap%
          rule[-dpstrutbox].5ptdpstrutbox%
          rule[-dpstrutbox]dimexprtextwidth-TabPrevPosrelax.5pt%
          kern-3pt
          smashrlaprotatebox[origin=lb]45rule[-dpstrutbox]60pt.5pt%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %


          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here



          At the OP's request, a version with dotted connectors:



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes
          defdotfill#1cleadershbox to #1scalebox1.4.hfill
          newcommanddotline[2][.5em]leavevmodehbox to #2dotfill#1hfil
          newcommandmargincloud[1]%
          tabtotextwidth%
          llapraisebox-dpstrutbox%
          dotlinedimexprtextwidth-TabPrevPosrelax%
          kern-3pt
          smashrlaprotatebox[origin=lb]45dotline[.7em]60pt%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %

          sloppy
          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here



          Better yet, a version with bubbles:



          documentclassarticle
          textwidth=dimexprtextwidth-1inrelax
          usepackagetikz,tabto,lipsum
          usetikzlibraryshapes
          defdotfill#1#2cleadershbox to #1scalebox#2$circ$hfill
          newcommanddotline[3][.6em]leavevmodehbox to #2dotfill#1#3hfil
          newcommandmargincloud[1]%
          tabtotextwidth%
          llapraisebox-dpstrutbox%
          dotlinedimexprtextwidth-TabPrevPosrelax.6%
          kern-3pt
          smashrlaprotatebox[origin=lb]45dotline[.8em]60pt1%
          tabto*TabPrevPos%
          marginpar%
          smashbegintikzpicture
          node [cloud, fill=blue!5, draw,cloud puffs=10,cloud puff arc=120,
          aspect=1.5, inner ysep=1em]parbox1inraggedright#1;
          endtikzpicture%
          %

          sloppy
          begindocument
          This is a testmargincloudMy marginnote of some length of a cloudy
          marginpar. I will continue to write so as to make sure that the line
          is appropriately set at the right height. lipsum[1]

          Now I get to try it again, to see if it still works. Let us do it here%
          margincloudI would like a longer marginnote to see how this works
          and see. lipsum[2]

          Finally, we get to try it one last time on the page. I will work
          my way a bit into the paragraph, in order to see if that makes any
          difference at all. Ok, we prepare for this final test of the page.
          Here goes...margincloudBoo! lipsum[3]
          enddocument


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 10 at 14:26

























          answered Apr 10 at 14:06









          Steven B. SegletesSteven B. Segletes

          162k9206418




          162k9206418












          • That is a good idea. Can I make the line dotted like in my picture?

            – Aericura
            Apr 10 at 14:11











          • @Aericura Please see my edit.

            – Steven B. Segletes
            Apr 10 at 14:20











          • Huge thank you!

            – Aericura
            Apr 10 at 14:23











          • @Aericura Wait for it... a version with bubbles!

            – Steven B. Segletes
            Apr 10 at 14:25











          • It gets better and better :) Thank you :)

            – Aericura
            Apr 10 at 14:31

















          • That is a good idea. Can I make the line dotted like in my picture?

            – Aericura
            Apr 10 at 14:11











          • @Aericura Please see my edit.

            – Steven B. Segletes
            Apr 10 at 14:20











          • Huge thank you!

            – Aericura
            Apr 10 at 14:23











          • @Aericura Wait for it... a version with bubbles!

            – Steven B. Segletes
            Apr 10 at 14:25











          • It gets better and better :) Thank you :)

            – Aericura
            Apr 10 at 14:31
















          That is a good idea. Can I make the line dotted like in my picture?

          – Aericura
          Apr 10 at 14:11





          That is a good idea. Can I make the line dotted like in my picture?

          – Aericura
          Apr 10 at 14:11













          @Aericura Please see my edit.

          – Steven B. Segletes
          Apr 10 at 14:20





          @Aericura Please see my edit.

          – Steven B. Segletes
          Apr 10 at 14:20













          Huge thank you!

          – Aericura
          Apr 10 at 14:23





          Huge thank you!

          – Aericura
          Apr 10 at 14:23













          @Aericura Wait for it... a version with bubbles!

          – Steven B. Segletes
          Apr 10 at 14:25





          @Aericura Wait for it... a version with bubbles!

          – Steven B. Segletes
          Apr 10 at 14:25













          It gets better and better :) Thank you :)

          – Aericura
          Apr 10 at 14:31





          It gets better and better :) Thank you :)

          – Aericura
          Apr 10 at 14:31











          5














          With tikz and tikzmark you can do such things.



          documentclassarticle
          usepackageamsmath
          usepackagetikz
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 0.95 step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate
          begindocument
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$
          begintikzpicture[overlay,remember picture]
          path[thought dots] (n) -- ++(0.5,-1) node[below,cloud,draw,align=center,aspect=2,inner sep=0pt]study structure\
          of sets by studying\ maps between them;
          endtikzpicture
          enddocument


          enter image description here



          You can address the alignment problem with either shapepar or wrapfig or something along those lines. Which of these options suits you best may only be gauged once you provide us with an MWE, from which we can see which packages you are using and so on. The following is to give you an idea.



          documentclassarticle
          usepackageamsmath
          usepackagewrapfig
          usepackagelipsum
          usepackagetikz
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 0.95 step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate,iCloud/.style=cloud,draw,align=center,aspect=2,inner sep=0pt
          begindocument
          setcountersection3
          sectionMeasurable maps
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$

          beginwrapfigure[10]r[10pt]6cm
          tikzmarknode[iCloud]nnstudy structure\
          of sets by studying\ maps between them
          begintikzpicture[overlay,remember picture]
          path[thought dots] (n) -- (nn);
          endtikzpicture
          endwrapfigure
          $triangleright$ measurable maps

          a map $f:Mto N$ is called measurable if dots lipsum[1]

          enddocument


          enter image description here



          If you want them in the margin, then I'd use tikzpagenodes.



          documentclassarticle
          usepackage[left=1in,top=1.5in,bottom=1.5in,right=2in]geometry
          usepackageamsmath
          usepackagelipsum
          usepackagetikz
          usepackagetikzpagenodes
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 1-4pt step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate,iCloud/.style=cloud,draw,align=center,aspect=2,inner sep=0pt
          newcounterclouds
          newcommandAddThought[3][]current page text area.east)
          #3;
          path[thought dots] (#2) -- (cloud-numbervalueclouds);
          endtikzpicture
          begindocument
          setcountersection3
          sectionMeasurable maps
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$
          AddThoughtnstudy structure\
          of sets by studying\ maps between them

          $triangleright$ measurable maps

          a map $f:Mto N$ is called measurable if dots lipsum[1]

          Something about tikzmarknodedducks
          AddThought[yshift=-1cm]dWhy always\
          ducks? Don't we\ have enough\ ducks?

          enddocument


          enter image description here






          share|improve this answer

























          • Okay, but now I have a problem: When putting dummy text after your example, the text.gets placed over the cloud (study nervously :))) Can I place the text around the cloud?

            – Aericura
            Apr 10 at 14:05












          • @Aericura Your comment was 23 seconds early, I added an example addressing this.

            – marmot
            Apr 10 at 14:06











          • Ah, I see, that's a great way of doing it (I was looking for something like this)! Thank you!

            – Aericura
            Apr 10 at 14:11
















          5














          With tikz and tikzmark you can do such things.



          documentclassarticle
          usepackageamsmath
          usepackagetikz
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 0.95 step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate
          begindocument
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$
          begintikzpicture[overlay,remember picture]
          path[thought dots] (n) -- ++(0.5,-1) node[below,cloud,draw,align=center,aspect=2,inner sep=0pt]study structure\
          of sets by studying\ maps between them;
          endtikzpicture
          enddocument


          enter image description here



          You can address the alignment problem with either shapepar or wrapfig or something along those lines. Which of these options suits you best may only be gauged once you provide us with an MWE, from which we can see which packages you are using and so on. The following is to give you an idea.



          documentclassarticle
          usepackageamsmath
          usepackagewrapfig
          usepackagelipsum
          usepackagetikz
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 0.95 step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate,iCloud/.style=cloud,draw,align=center,aspect=2,inner sep=0pt
          begindocument
          setcountersection3
          sectionMeasurable maps
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$

          beginwrapfigure[10]r[10pt]6cm
          tikzmarknode[iCloud]nnstudy structure\
          of sets by studying\ maps between them
          begintikzpicture[overlay,remember picture]
          path[thought dots] (n) -- (nn);
          endtikzpicture
          endwrapfigure
          $triangleright$ measurable maps

          a map $f:Mto N$ is called measurable if dots lipsum[1]

          enddocument


          enter image description here



          If you want them in the margin, then I'd use tikzpagenodes.



          documentclassarticle
          usepackage[left=1in,top=1.5in,bottom=1.5in,right=2in]geometry
          usepackageamsmath
          usepackagelipsum
          usepackagetikz
          usepackagetikzpagenodes
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 1-4pt step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate,iCloud/.style=cloud,draw,align=center,aspect=2,inner sep=0pt
          newcounterclouds
          newcommandAddThought[3][]current page text area.east)
          #3;
          path[thought dots] (#2) -- (cloud-numbervalueclouds);
          endtikzpicture
          begindocument
          setcountersection3
          sectionMeasurable maps
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$
          AddThoughtnstudy structure\
          of sets by studying\ maps between them

          $triangleright$ measurable maps

          a map $f:Mto N$ is called measurable if dots lipsum[1]

          Something about tikzmarknodedducks
          AddThought[yshift=-1cm]dWhy always\
          ducks? Don't we\ have enough\ ducks?

          enddocument


          enter image description here






          share|improve this answer

























          • Okay, but now I have a problem: When putting dummy text after your example, the text.gets placed over the cloud (study nervously :))) Can I place the text around the cloud?

            – Aericura
            Apr 10 at 14:05












          • @Aericura Your comment was 23 seconds early, I added an example addressing this.

            – marmot
            Apr 10 at 14:06











          • Ah, I see, that's a great way of doing it (I was looking for something like this)! Thank you!

            – Aericura
            Apr 10 at 14:11














          5












          5








          5







          With tikz and tikzmark you can do such things.



          documentclassarticle
          usepackageamsmath
          usepackagetikz
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 0.95 step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate
          begindocument
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$
          begintikzpicture[overlay,remember picture]
          path[thought dots] (n) -- ++(0.5,-1) node[below,cloud,draw,align=center,aspect=2,inner sep=0pt]study structure\
          of sets by studying\ maps between them;
          endtikzpicture
          enddocument


          enter image description here



          You can address the alignment problem with either shapepar or wrapfig or something along those lines. Which of these options suits you best may only be gauged once you provide us with an MWE, from which we can see which packages you are using and so on. The following is to give you an idea.



          documentclassarticle
          usepackageamsmath
          usepackagewrapfig
          usepackagelipsum
          usepackagetikz
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 0.95 step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate,iCloud/.style=cloud,draw,align=center,aspect=2,inner sep=0pt
          begindocument
          setcountersection3
          sectionMeasurable maps
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$

          beginwrapfigure[10]r[10pt]6cm
          tikzmarknode[iCloud]nnstudy structure\
          of sets by studying\ maps between them
          begintikzpicture[overlay,remember picture]
          path[thought dots] (n) -- (nn);
          endtikzpicture
          endwrapfigure
          $triangleright$ measurable maps

          a map $f:Mto N$ is called measurable if dots lipsum[1]

          enddocument


          enter image description here



          If you want them in the margin, then I'd use tikzpagenodes.



          documentclassarticle
          usepackage[left=1in,top=1.5in,bottom=1.5in,right=2in]geometry
          usepackageamsmath
          usepackagelipsum
          usepackagetikz
          usepackagetikzpagenodes
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 1-4pt step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate,iCloud/.style=cloud,draw,align=center,aspect=2,inner sep=0pt
          newcounterclouds
          newcommandAddThought[3][]current page text area.east)
          #3;
          path[thought dots] (#2) -- (cloud-numbervalueclouds);
          endtikzpicture
          begindocument
          setcountersection3
          sectionMeasurable maps
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$
          AddThoughtnstudy structure\
          of sets by studying\ maps between them

          $triangleright$ measurable maps

          a map $f:Mto N$ is called measurable if dots lipsum[1]

          Something about tikzmarknodedducks
          AddThought[yshift=-1cm]dWhy always\
          ducks? Don't we\ have enough\ ducks?

          enddocument


          enter image description here






          share|improve this answer















          With tikz and tikzmark you can do such things.



          documentclassarticle
          usepackageamsmath
          usepackagetikz
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 0.95 step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate
          begindocument
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$
          begintikzpicture[overlay,remember picture]
          path[thought dots] (n) -- ++(0.5,-1) node[below,cloud,draw,align=center,aspect=2,inner sep=0pt]study structure\
          of sets by studying\ maps between them;
          endtikzpicture
          enddocument


          enter image description here



          You can address the alignment problem with either shapepar or wrapfig or something along those lines. Which of these options suits you best may only be gauged once you provide us with an MWE, from which we can see which packages you are using and so on. The following is to give you an idea.



          documentclassarticle
          usepackageamsmath
          usepackagewrapfig
          usepackagelipsum
          usepackagetikz
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 0.95 step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate,iCloud/.style=cloud,draw,align=center,aspect=2,inner sep=0pt
          begindocument
          setcountersection3
          sectionMeasurable maps
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$

          beginwrapfigure[10]r[10pt]6cm
          tikzmarknode[iCloud]nnstudy structure\
          of sets by studying\ maps between them
          begintikzpicture[overlay,remember picture]
          path[thought dots] (n) -- (nn);
          endtikzpicture
          endwrapfigure
          $triangleright$ measurable maps

          a map $f:Mto N$ is called measurable if dots lipsum[1]

          enddocument


          enter image description here



          If you want them in the margin, then I'd use tikzpagenodes.



          documentclassarticle
          usepackage[left=1in,top=1.5in,bottom=1.5in,right=2in]geometry
          usepackageamsmath
          usepackagelipsum
          usepackagetikz
          usepackagetikzpagenodes
          usetikzlibrarytikzmark,shapes.symbols,decorations.markings
          tikzsetthought dots/.style=decoration=markings,
          mark=between positions 4pt and 1-4pt step 9pt
          with

          draw (0,0) circle[radius=2pt];

          ,decorate,iCloud/.style=cloud,draw,align=center,aspect=2,inner sep=0pt
          newcounterclouds
          newcommandAddThought[3][]current page text area.east)
          #3;
          path[thought dots] (#2) -- (cloud-numbervalueclouds);
          endtikzpicture
          begindocument
          setcountersection3
          sectionMeasurable maps
          Standard philosophy $displaystyle (M,sigma_M)
          xrightarrow[tikzmarknodenmathrmnervously]mathrmstudy(M,sigma_M)$
          AddThoughtnstudy structure\
          of sets by studying\ maps between them

          $triangleright$ measurable maps

          a map $f:Mto N$ is called measurable if dots lipsum[1]

          Something about tikzmarknodedducks
          AddThought[yshift=-1cm]dWhy always\
          ducks? Don't we\ have enough\ ducks?

          enddocument


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 10 at 14:28

























          answered Apr 10 at 13:53









          marmotmarmot

          118k6152286




          118k6152286












          • Okay, but now I have a problem: When putting dummy text after your example, the text.gets placed over the cloud (study nervously :))) Can I place the text around the cloud?

            – Aericura
            Apr 10 at 14:05












          • @Aericura Your comment was 23 seconds early, I added an example addressing this.

            – marmot
            Apr 10 at 14:06











          • Ah, I see, that's a great way of doing it (I was looking for something like this)! Thank you!

            – Aericura
            Apr 10 at 14:11


















          • Okay, but now I have a problem: When putting dummy text after your example, the text.gets placed over the cloud (study nervously :))) Can I place the text around the cloud?

            – Aericura
            Apr 10 at 14:05












          • @Aericura Your comment was 23 seconds early, I added an example addressing this.

            – marmot
            Apr 10 at 14:06











          • Ah, I see, that's a great way of doing it (I was looking for something like this)! Thank you!

            – Aericura
            Apr 10 at 14:11

















          Okay, but now I have a problem: When putting dummy text after your example, the text.gets placed over the cloud (study nervously :))) Can I place the text around the cloud?

          – Aericura
          Apr 10 at 14:05






          Okay, but now I have a problem: When putting dummy text after your example, the text.gets placed over the cloud (study nervously :))) Can I place the text around the cloud?

          – Aericura
          Apr 10 at 14:05














          @Aericura Your comment was 23 seconds early, I added an example addressing this.

          – marmot
          Apr 10 at 14:06





          @Aericura Your comment was 23 seconds early, I added an example addressing this.

          – marmot
          Apr 10 at 14:06













          Ah, I see, that's a great way of doing it (I was looking for something like this)! Thank you!

          – Aericura
          Apr 10 at 14:11






          Ah, I see, that's a great way of doing it (I was looking for something like this)! Thank you!

          – Aericura
          Apr 10 at 14:11




          Popular posts from this blog

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company