From 0a4d9487455fba448856237a761ba70ef68e15e1 Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Mon, 3 Jul 2023 11:29:26 -0400 Subject: [PATCH] Experimenting with margin notes (will use later) --- ssfm.tex | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/ssfm.tex b/ssfm.tex index a0cf6e9..c4bdaf6 100644 --- a/ssfm.tex +++ b/ssfm.tex @@ -7,20 +7,44 @@ \usepackage{graphicx} \usepackage[fulloldstylenums]{kpfonts} \usepackage{float} +\usepackage{layout} % Where are our images? \graphicspath{{images/}} % Let's set this as a half-letter sized sheet % https://tex.stackexchange.com/questions/338789/how-to-set-paper-size-to-half-letter-5-5-x-8-5-in-in-amsbook -\usepackage{geometry} -\geometry{ +\usepackage[ paperheight=8.5in, - paperwidth=5.5in, +% paperwidth=5.5in, +% margin=0.5in +% Experimenting with margin notes + paperwidth=7.0in, + includemp, % This command includes the marginparwidth and marginparsep into body + marginparwidth=1.5in, % width of marginal note + marginparsep=0.1in, % width of separation space margin=0.5in -} +]{geometry} \raggedbottom +% Change margin note size +\usepackage{tcolorbox} +\newcommand\mpar[1]{ +\marginpar{ + \begin{tcolorbox}[ + colframe=blue!50!white, + colback=black!03!white, + size=fbox, + bottom=-1em, + width=\marginparwidth + ] + \begin{spacing}{0.8} + {\footnotesize#1} + \end{spacing} + \end{tcolorbox}} +} + + % Adjust line spacing \usepackage{setspace} \setstretch{1.1} @@ -194,7 +218,7 @@ must be made to anticipate indirect personal gain, such as might come with enemy evacuation or destruction of the ruling government group. Gains should be stated as specifically as possible for the area addressed: simple sabotage will hasten the -day when Commissioner X and his deputies Y and Z will be +day when Commissioner X and his deputies Y and Z \mpar{This is an example of right explanatory text.} will be thrown out, when particularly obnoxious decrees and restrictions will be abolished, when food will arrive, and so on. Abstract verbalizations about personal liberty, freedom of the @@ -207,7 +231,7 @@ a large, though unseen, group of saboteurs operating against the enemy or the government of his own country and elsewhere. This can be conveyed indirectly: suggestions which he reads and hears can include observations that a particular -technique has been successful in this or that district. Even if the +technique has been successful in this or that district. \mpar{This is an example of right explanatory text.}Even if the technique is not applicable to his surroundings, another’s success will encourage him to attempt similar acts. It also can be conveyed directly: statements praising the effectiveness of