summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-03-28 21:49:41 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-03-28 21:49:41 +0000
commit8f44dd2b72fd9b537512fece7bf13c5fe286d39c (patch)
tree36721d9d09080d5c071a513e468a6803dea5e4b2 /manual
parentf68147e5eb21157a9835195c0f0778cf515fe73a (diff)
downloadrockbox-8f44dd2b72fd9b537512fece7bf13c5fe286d39c.tar.gz
rockbox-8f44dd2b72fd9b537512fece7bf13c5fe286d39c.tar.bz2
rockbox-8f44dd2b72fd9b537512fece7bf13c5fe286d39c.zip
Make the image tags examples nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16869 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual')
-rw-r--r--manual/appendix/wps_tags.tex15
1 files changed, 8 insertions, 7 deletions
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{