I have some books and .pdf files that I would like to make some notes (particularly adding equations with LaTeX). I have seen the following post:
Overlay LaTeX/TeX coding easily on PDF with 300 pages
But, one thing which I am looking for a method around is that the answer posted some notes in a .pdf with some generous spacing. Sometimes I may not have that much space (i.e.: just adding a sample picture below - to give an idea)
So how could I do it without overwriting some text? For instance, in the following code:
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}
\setlength{\parindent}{1in}
\makeatother
\usepackage{babel}
\documentclass{article}
\usepackage{pdfpages}% http://ctan.org/pkg/pdfpages
\usepackage{eso-pic}% http://ctan.org/pkg/eso-pic
\pagestyle{empty}
\begin{document}
% Add pages before
\AddToShipoutPictureFG*{%
\AtPageCenter{%
\vspace{2cm}
\makebox[0pt][c]{\Huge HERE IS SOME TEXT aasdfasdfadsfasd.}
}
}%
\includepdf[pages=1]{hw1.pdf}
% Add pages after
\end{document}
Which creates:
But how would this work if I were to add multiple notes (which I would imagine to be quite messy) so is this a way to organize such that it is similar to \pdfcomment but still be able to type math equations (I am not fully sure about this feature so if someone could explain or provide some advice that would be great). Also, if someone could provide an example of how I could use the pdfpages package to write on the next line and specify how exactly to layout the box would also be nice.
Lastly, just to provide an example of what I had in mind, I was thinking of something along the lines of this
which then shrinks to this when I click it
But I am also open to other alternatives as well.





\AddToShipoutPictureFG*you can add any box to any place, and you can decide which size and form has the added box, so what's the problem? – Ignasi Mar 23 '16 at 07:42tex.stackexchange.com/a/164186, could you provide an example of using such a method on a pdf document that is already written (ie: a book or something). I seem to be having a trouble of exactly implementing it on some already finished pdf page that I dont have the .tex file to. But this is exactly what im looking for – PutsandCalls Mar 23 '16 at 19:22