0

In latex you can add footnotes and margin annotations but...

How can you easily add notes just in the region of interest, below or above the line? Maybe it's called "inline" notes.

For example something like this: example

or this: enter image description here

I mean notes that are also going to be printed, as the rest of the document.

Something simple like "underbrace" but with an arrow instead of a brace would be great. How?

a\cdot \underbrace{a}_{b\text{ times}}\cdots a  

$a\cdot \underbrace{a}_{b\text{ times}}\cdots a$
  • It's not solved, nobody replied. Any way to do it with Latex or Luatex or with an additional package?. More information? Just try to reproduce the sentese above. – skan Oct 16 '15 at 8:59
  • 2
    Have you a Idea why nobody replied? Show a compilable, small code (called minimal working example) showing what you have tried so far. Then you will get answers, I guess! And have you searched this side (try arrow equation)? Check for example tex.stackexchange.com/questions/145670/… – Mensch Oct 16 '15 at 13:53
  • That link is interesting, I'll try to find the simplest and more general solution . – skan Oct 16 '15 at 19:31
  • Something simple like "underbrace" but with an arrow instead of a brace would be great: a\cdot \underbrace{a}_{b\text{ times}}\cdots a – skan Oct 18 '15 at 11:17
  • Do you need these notes in a display or a text context? In a text context I would recommend margin notes as otherwise notes would destroy the line spacing. – Christian Lindig Oct 18 '15 at 11:22
2

Such things are difficult. Out of the box solution with the todonote package:

\documentclass[]{article}

\usepackage{todonotes}

\begin{document}

Example for a phrase  1 + 1 =\todo[fancyline]{Equal}\hspace{1ex} 2 


\end{document}

Which renders:

Arrow with todonotes

Of course, there are many other ways to put whichever annotations. But the easier way is to use make you annotations into the pdf. For example, under Windows the software »PDF Xchange Viewer« allows to add annotations. There are many others, Master-PDF, PDF-Editor, I stopped following the developments...

  • Can you place that note just above the equal sign? – skan Oct 19 '15 at 17:04
  • @skan Sorry, no idea. And the whole thing won't work in math mode. – Keks Dose Oct 20 '15 at 20:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.