X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftufte-book.layout;h=80c01cf3e1fbeacb618e10a0a4f43abf4be8e298;hb=bab184e49e4420ad5277eacd45f2447727f55bbd;hp=8e268b3209c56d37c03b6906b6b123247d566ef9;hpb=ff0db7452ee9a5b6e954626e0476f08945081b9b;p=lyx.git diff --git a/lib/layouts/tufte-book.layout b/lib/layouts/tufte-book.layout index 8e268b3209..80c01cf3e1 100644 --- a/lib/layouts/tufte-book.layout +++ b/lib/layouts/tufte-book.layout @@ -5,7 +5,7 @@ # Jason Waskiewicz , 2009/10/18 # Modified by Uwe Stöhr , 2009/11/15 -Format 67 +Format 80 Provides geometry 1 Provides natbib-internal 1 @@ -17,6 +17,20 @@ ClassOptions Other nohyper end +# Tufte uses \cite for margin note citations +AddToCiteEngine authoryear + cite[][] +End + +CiteFormat authoryear + _sidenote Sidenote + _side sidenote + _fullcite bibl. entry + _bibentry Full bibliography entry. + # "Margin: Full bibliography entry." (dialog) / "Margin: Key (bibliography entry)" + cite {%dialog%[[%_sidenote%]][[%_side%]]}: {%dialog%[[%_bibentry%]][[{%label%[[%!fullcite%]][[%key%%!nextkey% (%_fullcite%)]]}]]} +End + Style Standard Margin Static LatexType Paragraph