154 reputation
6
bio website
location
age
visits member for 2 years, 5 months
seen Jun 30 '12 at 17:45

Apr
30
comment An environment for writing regular-font pseudocode
This fixes the right margin. Thanks. However, are you sure about the spacing after the box? I've replicated this issue in a stripped down tex file: cl.ly/2C1s2s1c2c0V2f1M0K0d/texprob.tex And this is my output: cl.ly/000z193o2f2q2n2g2235
Apr
30
comment An environment for writing regular-font pseudocode
Well, just to make sure things look completely symmetric, given the provided margins.
Apr
30
comment An environment for writing regular-font pseudocode
Thanks, we're almost there! There are still two problems with this. To see them, turn all the inner margins to zero, as shown here: cl.ly/123m091T0w2y3d3g380W Next, here is an example usage: cl.ly/1O080S2E161R3o1Y162o Finally, here is the output: cl.ly/3j1l0I2N0Q47391f3T3W The first problem is that there is still an extra margin on the right side. The second problem is that there is a vertical margin after the box. Any ideas on how these problems can be fixed?
Apr
30
comment An environment for writing regular-font pseudocode
Is it possible to somehow use mdframed with your solution? Your solution is absolutely wonderful, except that it doesn't support page breaks. With that added, everything would be absolutely perfect.
Apr
30
comment An environment for writing regular-font pseudocode
Thanks, this works…almost. Is there any way to update this such that longer code can be split across pages? (Such that the vertical lines on both sides just continue from one page to the next (of course not going into the footer).)
Apr
30
comment An environment for writing regular-font pseudocode
Thanks for your efforts. However, the updated code fixes the width at 50%. It's not flexible according to the content.
Apr
30
comment An environment for writing regular-font pseudocode
Also, how do I change the top,bottom,left,right inner margins (the distances between content and box)?
Apr
30
comment An environment for writing regular-font pseudocode
That doesn't horizontally fit the box to the content - it makes the box take up the entire horizontal page no matter how narrow the content is...
Apr
30
awarded  Student
Apr
30
asked An environment for writing regular-font pseudocode