CookBook/document/root.tex
changeset 97 a99aa67455f3
parent 89 fee4942c4770
child 101 123401a5c8e9
--- a/CookBook/document/root.tex	Thu Feb 05 16:34:05 2009 +0000
+++ b/CookBook/document/root.tex	Thu Feb 05 22:39:37 2009 +0000
@@ -54,8 +54,14 @@
 \newcommand{\readmoremarginpar}[1]%
 {\marginpar[\raggedleft\small{#1}]{\raggedright\small{#1}}}
 
+\newenvironment{leftrightbar}{%
+\def\FrameCommand##1{\vrule width 2pt \hspace{8pt}##1\hspace{8pt}\vrule width 2pt}%
+\MakeFramed {\advance\hsize-\width \FrameRestore}}%
+{\endMakeFramed}
+
+
 \newenvironment{readmore}%
-{\hspace{-3pt}\readmoremarginpar{\fbox{\textbf{Read More}}}\it}{}
+{\begin{leftrightbar}\it{\textbf{Read More}}\\}{\end{leftrightbar}}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % this is to draw a gray box around code