From 7836b788095b3de152fe3b3aa95879feabbba8a4 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 7 Mar 2016 19:35:01 -0500 Subject: [PATCH] scribble/jfp: affiliation-mark example --- scribble-doc/scribblings/scribble/jfp.scrbl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/scribble-doc/scribblings/scribble/jfp.scrbl b/scribble-doc/scribblings/scribble/jfp.scrbl index da23c2eb..938d8e43 100644 --- a/scribble-doc/scribblings/scribble/jfp.scrbl +++ b/scribble-doc/scribblings/scribble/jfp.scrbl @@ -55,3 +55,19 @@ If different authors have different affiliations, use use @racket[affiliation-mark] before each different affiliation within a single @racket[affiliation], using @racket[(affiliation-sep)] to separate affiliations.} + +Examples: +@codeblock|{ +#lang scribble/jfp + +@title{My First Love Story} + +@((author/short "Romeo M. and Juliet C.") + "ROMEO" (affiliation-mark "1") + " and " + "JULIET" (affiliation-mark "2") + @affiliation[ + "House Montague" (affiliation-mark "1") + (affiliation-sep) + "House Capulet" (affiliation-mark "2")]) +}|