GeneralAdding inline notes?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
skan
Posts: 2
Joined: Thu Feb 02, 2017 9:30 pm

Adding inline notes?

Post by skan »

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

How can you easily add inline notes or comments just in the region of interest, below or above the line?

Something like this:
notes-2.jpg
notes-2.jpg (46.42 KiB) Viewed 4395 times
or this:
notes-1.png
notes-1.png (31.06 KiB) Viewed 4395 times
I mean notes that are also going to be printed, as the rest of the document.

Some package or command with simple syntax like underbrace or hcancel but with an arrow would be great.

I don't mind if the line spacing changes or if the annotation partially overlaps with other text lines in a different color.

So far I've only heard about graphical solutions created with TikZ or PSTricks but they are quite complex.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Adding inline notes?

Post by Stefan Kottwitz »

Hi skan,

welcome to the forum!

The package todonotes is a very nice tool for adding inline notes and it looks great.

Stefan
LaTeX.org admin
skan
Posts: 2
Joined: Thu Feb 02, 2017 9:30 pm

Adding inline notes?

Post by skan »

As far as I know the todonotes package isn't able to create annotations as I show in my example.
They call it inline but they are written on the margins like this:
Image

That way is good to write text but in my opinion my way is better if you want to make small corrections or annotations on equations.
Post Reply