# HG changeset patch # User Christian Urban # Date 1233873577 0 # Node ID a99aa67455f3d692eef4f9205b305bf6e845730e # Parent 018bfa71898209d70789ad3c217605b2f65eac0f changed the readmore environment diff -r 018bfa718982 -r a99aa67455f3 CookBook/document/root.tex --- 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