From 86c343532e299a2f08232e2f39a081676698eed5 Mon Sep 17 00:00:00 2001 From: Joshua Lucas Date: Tue, 29 Jul 2025 22:27:11 -0500 Subject: [PATCH] Add syntax comment to \marginfig. --- MarginNotes.sty | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/MarginNotes.sty b/MarginNotes.sty index 4fd3681..ed824c7 100644 --- a/MarginNotes.sty +++ b/MarginNotes.sty @@ -38,6 +38,19 @@ \RequirePackage{ifthen} \newcommand{\marginfig}[5][0pt]{% + % Syntax: + % \marginfig[ + % vertical_offset + % ]{ + % graphic_file_name + % }{ + % (width|height)=lengthvalue + % }{ + % label + % }{ + % caption + % } + % % This strut ensures that the margin figure is counted as part of the % following paragraph and is vertically aligned with it. \strut%