diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/appendix/wps_tags.tex | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index 487090c266..5753b1c89f 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex | |||
@@ -259,16 +259,16 @@ with image ID ``M'', and then reference the individual sub-images in a condition | |||
259 | } | 259 | } |
260 | 260 | ||
261 | \opt{albumart}{ | 261 | \opt{albumart}{ |
262 | \section{Album art} | 262 | \section{Album Art} |
263 | \begin{table} | 263 | \begin{table} |
264 | \begin{tagmap}{}{} | 264 | \begin{tagmap}{}{} |
265 | \config{\%Cl{\textbar}x{\textbar}y{\textbar}[l{\textbar}c{\textbar}r]maxwidth{\textbar}[t{\textbar}c{\textbar}b]maxheight{\textbar}} | 265 | \config{\%Cl{\textbar}x{\textbar}y{\textbar}[[l{\textbar}c{\textbar}r]maxwidth]{\textbar}[[t{\textbar}c{\textbar}b]maxheight]{\textbar}} |
266 | & Define the settings for albumart\\ | 266 | & Define the settings for albumart\\ |
267 | & \config{x}: x coordinate\\ | 267 | & \config{x}: x coordinate\\ |
268 | & \config{y}: y coordinate\\ | 268 | & \config{y}: y coordinate\\ |
269 | & \config{maxwidth}: Maximum height.\\ | 269 | & \config{maxwidth}: Maximum height.\\ |
270 | & \config{maxheight}: Maximum width.\\ | 270 | & \config{maxheight}: Maximum width.\\ |
271 | \config{\%C} & Display the album art as configured\\ | 271 | \config{\%C} & Display the album art as configured. This tag can also be used as a conditional.\\ |
272 | \end{tagmap} | 272 | \end{tagmap} |
273 | \end{table} | 273 | \end{table} |
274 | 274 | ||
@@ -290,6 +290,16 @@ configured values, the picture will be placed according to the flags to the | |||
290 | \item[\config{b}.] Align right | 290 | \item[\config{b}.] Align right |
291 | \end{description} | 291 | \end{description} |
292 | \end{itemize} | 292 | \end{itemize} |
293 | |||
294 | Examples: | ||
295 | \begin{enumerate} | ||
296 | \item Load albumart at position 20,40 and display it without resizing:\\ | ||
297 | \config{\%Cl{\textbar}20{\textbar}40{\textbar}{\textbar}{\textbar}} | ||
298 | \item Load albumart at position 0,20 and resize it to be at most 100x100 | ||
299 | pixels. If the image isn't square, align it to the bottom-right | ||
300 | corner:\\ | ||
301 | \config{\%CL{\textbar}0{\textbar}20{\textbar}r100{\textbar}b100{\textbar}} | ||
302 | \end{enumerate} | ||
293 | } | 303 | } |
294 | 304 | ||
295 | \section{Alignment} | 305 | \section{Alignment} |