I don't want these to be typical marginal notes, though, because these documents have a small marginal space that wouldn't accommodate; they also consist of more than outlines, so if I change the margin size to accommodate there would be a ton of margin space for no reason in everything else. Plus, I want them on the exact line, not floating.
This is what I've come up with so far (borrowing an example from another topic):
Code: Select all
\documentclass{article}
\usepackage[letterpaper,margin=0.75in]{geometry}
\usepackage{lipsum}
\usepackage{tabularx}
\usepackage[sharp]{easylist}
\ListProperties(Indent=2em,Hang=true,FinalMark2=,%
Margin2=2em,Margin3=4.9em,%
Align=move,FinalSpace=1em,%
Hide3=2,%
Style1=\bfseries\scshape)
\makeatletter
\newcommand\currlinewidth{\dimexpr\textwidth-\el@TotalMargin\relax}
\newcommand\notewidth{\dimexpr\textwidth-\el@TotalMargin-1in\relax}
\makeatother
\begin{document}
\lipsum[1]\bigskip
\begin{easylist}
# Section
## \renewcommand{\tabcolsep}{2pt}
\begin{tabularx}{\currlinewidth}{ p{\notewidth} >{\raggedleft\arraybackslash}X }
A really long note that might take several lines to explain because, you know, information and stuff. But no, seriously, sometimes there's like a whole paragraph here with all kinds of crazy things. & DN 2.10.1
\end{tabularx}
### \renewcommand{\tabcolsep}{2pt}
\begin{tabularx}{\currlinewidth}{ p{\notewidth} >{\raggedleft\arraybackslash}X }
But not always. & AC 1.5.6
\end{tabularx}
### \renewcommand{\tabcolsep}{2pt}
\begin{tabularx}{\currlinewidth}{ p{\notewidth} >{\raggedleft\arraybackslash}X }
Some don't need a reference, but without a tabularx environment it overflows into the reference space. &
\end{tabularx}
\end{easylist}
\end{document}
- The outline numbers are being vertically aligned in the center, not the top.
- Line spacing in outline seems to get confused? (see lack of space below "Section")
- Just for my own sanity, the source is pretty hard to read with the repeated begin/end tabularx, and God forbid pages into it I realize I need to make a change in all of those.