Search found 13 matches

by jamesm
Sun Aug 18, 2013 4:37 pm
Forum: Page Layout
Topic: shaded environment "leaches" colour
Replies: 4
Views: 11970

shaded environment "leaches" colour

Thanks again - I'll have a good look at the mdframed package.

James
by jamesm
Sun Aug 18, 2013 2:22 pm
Forum: Page Layout
Topic: shaded environment "leaches" colour
Replies: 4
Views: 11970

Re: shaded environment "leaches" colour

Thanks Clemens - I didn't know about that package.

Still - I'd like to know how to fix the first problem.

James

ps I also didn't know about the parskip package!

embarrassment: title should be "leaches" not "leeches" !!
by jamesm
Sun Aug 18, 2013 12:58 pm
Forum: Page Layout
Topic: shaded environment "leaches" colour
Replies: 4
Views: 11970

shaded environment "leaches" colour

Hi

I am using the shaded environment from the framed package to produce text with a coloured background. When I use shaded on its own, everything works fine, but if I embed it in another environment then the shadecolor I defined affects the text colour after the environment closes.

A minimal ...
by jamesm
Tue Jun 25, 2013 6:43 pm
Forum: Graphics, Figures & Tables
Topic: pstricks & xdvi
Replies: 5
Views: 5413

pstricks & xdvi

Thanks for your response. That's me told!

I suppose I was looking for some agreement that this was a problem. But anyway, I'll think about contacting the xdvi(k) developers.

As for pdftricks2, how does one pass the colour options? I use

Code: Select all

\usepackage[svgnames]{pstricks}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Thanks again
James
by jamesm
Mon Jun 24, 2013 8:03 pm
Forum: Graphics, Figures & Tables
Topic: pstricks & xdvi
Replies: 5
Views: 5413

Re: pstricks & xdvi

Thorsten, thanks for your reply.

I know DVI is intermediate, and I run dvips and ps2pdf to produce the final oputput. That's fine. And works well. But I'm very happy with using auctex with xdvik and its inverse search - it's just a small issue in the scheme of things.

But anyway, just saying that ...
by jamesm
Sat Jun 22, 2013 11:39 pm
Forum: Graphics, Figures & Tables
Topic: pstricks & xdvi
Replies: 5
Views: 5413

pstricks & xdvi

I use emacs/auctex and xdvi (or rather xdvik) to process and view my LaTeX files. And I often use pstricks for figures. So far so good. And xdvi produces good figures.

However, if I use include the pst-plot package then xdvi has problems placing text in figures.

A minimal example ...
by jamesm
Mon Apr 04, 2011 3:36 pm
Forum: Document Classes
Topic: Passing Option to a new Class
Replies: 5
Views: 9444

Re: Passing Option to a new Class

Brilliant! Thanks Nicola.

James

ps Indeed, extarticle does allow the 12pt option. However, the 17pt option is only going to be used on rare occasions, so I wanted to avoid using extarticle unless necessary in case some users didn't have it installed.
by jamesm
Mon Apr 04, 2011 1:33 pm
Forum: Document Classes
Topic: Passing Option to a new Class
Replies: 5
Views: 9444

Re: Passing Option to a new Class

I had a look at the class guide but it doesn't seem to solve my problem. I can't see anywhere how to choose between two different document classes.

I want something equivalent to,

if option = large then
\LoadClass[17pt]{extarticle}
else
\LoadClass[12pt]{article}
end if

But I don't see how ...
by jamesm
Fri Apr 01, 2011 1:20 pm
Forum: Document Classes
Topic: Passing Option to a new Class
Replies: 5
Views: 9444

Passing Option to a new Class

Hi

I'm writing a new class, based on 12pt article, but with one option which I'll call [large] which will load [17pt]{extarticle}. Thus:

Near the start of my class I have
\LoadClass[12pt]{article}
followed be a load of minor modifications and new definitions.

But if I start my latex file with ...
by jamesm
Sat Oct 31, 2009 7:40 pm
Forum: Decision Guidance
Topic: comparison of tex editors
Replies: 1
Views: 6728

comparison of tex editors

The wikipedia page
http://en.wikipedia.org/wiki/Comparison_of_TeX_editors
has a table comparing features of a number of different tex editors.