This is my 2nd attempt, which is a simplification of my 1st attempt which used a number of spacing-tweaks to yield all the same line breaks and page breaks as the official PDF. For the version posted here, I deleted 20-30 tweaks, then iterated the remaining to obtain a 'best fit'. There remain a few unsavory space tweaks that I'd like to get rid of but am not sure of the best way.
A couple notes:
The fonts are similar but not the same. If you know where the correct fonts are that are in a latex-ready format, please let me know.
In the body of the official PDF, the line spacing is 100% uniform. Trial and error lead to:
\section padding as 0.54\baselineskip
- word spacing as \fontdimen2\font=1.8\wrdspc
- line spacing as \setlength{\baselineskip}{4.7ex}
Take a look at the official bill on Congress.gov. Link is in the original post. In Section 2,3,6,7 the containing list is indented, with numeric indices. In Section 4,5 it starts without indention, with alphabet indicies. My solution was to create a list called enumeratetwo.
In the official PDF, many pages have 24 lines and many have 25. The reason is not obvious to me. There is a hard clearpageto begin Section 6, and probably one to begin Secion 4.
There were one or two other peculiarities that don't come to mind right now.
Comments welcome.
Alas, stack is saying i'm limited to 30,000 but had pasted in 7,000 too many.
geometrypackage there. The linenumbers can be set with thelinenopackage, it has an option\pagewiselinenumbersfor resetting numbers after each page. The rest should be pretty much straightforward. Redefining the section command should be not that difficult as well. – Uwe Ziegenhagen Mar 11 '17 at 19:19titlesecfor the various (sub-)sections (load as\usepackage[pagestyles]{titlesec}and you can also deal with the header and footer);enumitemfor the lists; and\setspacefor the line spacing. But, above all, be sure that you can submit a PDF. If they expect.docxor something, it's probably not worth the hassle (my guess is that line numbering won't convert well from TeX to Word). – jon Mar 11 '17 at 19:36