Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!rochester!pt.cs.cmu.edu!dsl.pitt.edu!pitt!cs.pitt.edu!reanor From: reanor@cs.pitt.edu Newsgroups: comp.text.tex Subject: Margin rule Keywords: latex, rules, margin notes Message-ID: <9160@pitt.UUCP> Date: 12 Nov 90 20:36:52 GMT Sender: news@pitt.UUCP Reply-To: reanor@cs.pitt.edu () Distribution: na Organization: Univ. of Pittsburgh Computer Science Lines: 23 I am trying to immitate a format I found in one of my text books, "Computer Architecture: A Quantative Approach" (Hennesay and Patterson) for my questions and solutions. A typical question would be: ---------+ How can I typeset this particular EXAMPLE | question when I can't even | post to news without difficulty? | Answer | By learning news and then asking the | TeX people how they would do it. (the dashed lines and the "+" are used to simulate rules. Further more, the horizontal rule is thicker than the vertical one) My question is, how can I do this in LaTeX? I can get the words "Example" and "Answer" easily enough using \marginpar, but how do I get the rules? I've experimented with \newenvironment, and sticking \vrule's inside, outside, and next to minpages without much success. Does anybody out there have any suggestions? Jeff