fixed bottom custom image order
This commit is contained in:
		| @@ -6,13 +6,16 @@ | ||||
|  | ||||
| #let render(x, y, p, bottom) = { | ||||
|   let style = p.resolved-style | ||||
|   let elmts = (style.image, p.display-name) | ||||
|   if bottom { | ||||
|     elmts = elmts.rev() | ||||
|   } | ||||
|   let shape = align( | ||||
|     center, | ||||
|     stack( | ||||
|       dir: ttb, | ||||
|       spacing: normalize-units(style.spacing) * 1pt, | ||||
|       style.image, | ||||
|       p.display-name | ||||
|       ..elmts | ||||
|     ) | ||||
|   ) | ||||
|   let anchor = if bottom {"north"} else {"base"} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user