Q: How to make Twoside's Book in the left side of the odd page and the left side of the even page, and this margin also has a header line, and uses the small page (MiniPage) to take up the entire TextWidth Margin, That is, the left or right side of the body? A: Leave Margin on the left side of the odd page and the even page, this is relatively simple
Modify text size in TEX
"Modify / ODDSIDEMARGIN and / EVENSIDEMARGIN can use the FancyHDR macro package, then add / addTolength {/ headwidth} {2cm}% 2cm for minipage," I defined a problem with the mark of MINIPAGE, in the betrature area. Command / preminipage / def / preminipage {% / ifodd / thepage / else /hspace {-2.54cm} / fi / noindent}% then call /begin (minipage} /Headwidth} .::/head; Call / preminipage before, this method exists: When some minipage needs to be re-opened, the phenomenon of parity is wrong, in which case can only be manually coupled before / preminipage, / NewPage In order to solve this bug, I borrow the definition of / PageRef command to re-improve / preminipage / maketletter / def / @ set @ ref # 1 # 2 # 3 {% / IFX # 1 / relax / Thepage / Else / ExpandaFter # 2 # 1 / null / fi} / def / Page @ @ @ ref / csname r @ # 1 / endcsname / @ secondwo {# 1}} / def /nessdddd # 1 {% / iFodd / page @ ref {# 1} / else /Hspace {-2.54cm} / fi% / noindent} / maketother Usage: / preminipage {aa} / begin {minipage} {/ headwidth} / label {aa} ... / END {minipage} Note: Due to the reason for cross-reference, it is necessary to compile twice.