Math & ScienceMake a widetext environment out of RevTeX4 for another class

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
macgyveremir
Posts: 4
Joined: Sat Jun 20, 2009 4:41 am

Make a widetext environment out of RevTeX4 for another class

Post by macgyveremir »

Hello everyone,

I'm currently preparing a two-column article using the IEEEtran class, to find that the only "simple" way to typeset long equations that span across the two columns is to use a minipage environment within a figure* one, which places the equation on the next page to which it is coded. In searching, I found a previously discussed post here:

long equation across whole page in two-column document

It treats the topic, and mentions the widetext environment within the RevTeX4 class made by the APS. I revised the files included in its distribution package, finding that the widetext environment is available only when declaring the document as using the revtex4 class, which stops me from trying to use it within my IEEEtran article.

So, after a long unfruitful search for the solution to this two-column equation problem outside of RevTeX 4, I thought of somehow adapting the code and turning it into some package loadable within any other class. So I extracted out of the revtex4.cls file the code I believe is needed for such package (which I have named "miwidetext") to work, but some undefined commands whose definition I did not find in the file prevent the intent to work. I'm attaching the miwidetext.sty file so you can have a look at it.

I have to say I'm totally unused to LaTeX inner workings, only knowing the existence of some basic commands, but never really coded any functionality. If we could have this to work, it would be great for lots of people.

Luis
Attachments
miwidetext.sty
(2.95 KiB) Downloaded 1117 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

yousif
Posts: 1
Joined: Sun Oct 11, 2009 10:13 am

Re: Make a widetext environment out of RevTeX4 for another class

Post by yousif »

Hi Luis,
i am having exactly the same problem. Were you able to solve this problem? If you did can you post your solution here please?
MasaYan
Posts: 2
Joined: Tue Dec 01, 2009 6:51 am

Re: Make a widetext environment out of RevTeX4 for another class

Post by MasaYan »

Hi macgyveremir,

So, does your modified .sty file miwidetext.sty work?
If so, that's very nice work!

I was also looking for some .sty file making widetext environment.

If you (or somebody) post the details of the miwidetext.sty,
that's very useful.
MasaYan
Posts: 2
Joined: Tue Dec 01, 2009 6:51 am

Re: Make a widetext environment out of RevTeX4 for another class

Post by MasaYan »

Hi Luis and macgyveremir,

I think I reply to macgyveremir not Luis. That's a mistake :P

I tried miwidetext.sty.

But it didn't work at least book class.

Is there any projects going on for making widetext environment?

I don't have skills to modify the miwidetext.sty now.

Anyone, let me know if there is one creat widetext environment, please.
wheely_chairs
Posts: 26
Joined: Mon Jun 16, 2008 1:22 pm

Make a widetext environment out of RevTeX4 for another class

Post by wheely_chairs »

MasaYan wrote:Anyone, let me know if there is one creat widetext environment, please.
Hey, I recently found an implementation and posted a link to it on the forum here: http://www.latex-community.org/forum/vi ... =47&t=7656 (I also had a question/suggestion for it...)

Chris
Post Reply