From 8f44dd2b72fd9b537512fece7bf13c5fe286d39c Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 28 Mar 2008 21:49:41 +0000 Subject: Make the image tags examples nicer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16869 a1c6a512-1295-4272-9138-f99709370657 --- manual/appendix/wps_tags.tex | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'manual') diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index 59be264fa8..30bdc04363 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex @@ -202,15 +202,16 @@ Ffwd{\textbar}Rew{\textgreater}} \end{tagmap} \end{table} -Example 1: image \fname{/.rockbox/bg.bmp} with ID ``a'' at 37, 109 would be:\\ +Examples: +\begin{enumerate} +\item Load and display the image \fname{/.rockbox/bg.bmp} with ID ``a'' at 37, 109:\\ \config{\%x{\textbar}a{\textbar}bg.bmp{\textbar}37{\textbar}109{\textbar}} - -Example 2: loads a bitmap strip containing 10 volume icon images (all the same size), -and then references the individual sub-images in a conditional:\\ -\config{\%xl{\textbar}M{\textbar}volume.bmp{\textbar}134{\textbar}153{\textbar}10{\textbar}}\\ +\item Load a bitmap strip containing 5 volume icon images (all the same size) +with image ID ``M'', and then reference the individual sub-images in a conditional:\\ +\config{\%xl{\textbar}M{\textbar}volume.bmp{\textbar}134{\textbar}153{\textbar}5{\textbar}}\\ \config{\%?pv<\%xdMa{\textbar}\%xdMb{\textbar}\%xdMc{\textbar}\%xdMd{\textbar}% -\%xdMe{\textbar}\%xdMf{\textbar}\%xdMg{\textbar}\%xdMh{\textbar}% -\%xdMi{\textbar}\%xdMj>} +\%xdMe>} +\end{enumerate} \note{ -- cgit v1.2.3