From 942e427ef00acd38e0657d82b4c52188a1fd0b76 Mon Sep 17 00:00:00 2001 From: Alexander Levin Date: Mon, 28 Jun 2010 22:39:45 +0000 Subject: [PATCH] Simplify the 'blind' macro and imrove spacing where it's used git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27166 a1c6a512-1295-4272-9138-f99709370657 --- manual/preamble.tex | 6 ++---- manual/rockbox_interface/main.tex | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/manual/preamble.tex b/manual/preamble.tex index 8bcb8aca6a..ef31dde850 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex @@ -197,10 +197,8 @@ % command to mark a text block as intended especially for blind people % Usage: \blind{text} \ifpdfoutput{ -\newcommand{\blind}[1]{ - \ifinner\else\par\noindent\fi - \ifinner#1\else\marginpar{\raisebox{-6pt}{\Huge\ForwardToEnd}}#1\par\fi% -}} +\newcommand{\blind}[1]{\mbox{}\marginpar{\raisebox{-1ex}{\Huge{\ForwardToEnd}}}#1} +} {\newcommand{\blind}[1]{\ifinner\else\par\noindent\fi#1}} % make table floats use "H" (as for screenshots) as default positioning diff --git a/manual/rockbox_interface/main.tex b/manual/rockbox_interface/main.tex index 16a6d539d4..507255bcf3 100644 --- a/manual/rockbox_interface/main.tex +++ b/manual/rockbox_interface/main.tex @@ -39,8 +39,7 @@ The areas of the touchscreen in the 3$\times$3 grid mode are in turn referred as Whenever a button name is prefixed by ``Long'', a long press of approximately one second should be performed on that button. The buttons are described in detail in the following paragraph. - -\blind{ +\blind{% Additional information for blind users is available on the Rockbox website at \wikilink{BlindFAQ}.