l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Mar 03 15:57

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] latex: setting rigid margin on equations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] latex: setting rigid margin on equations

Peter Jay Salzman wrote:
hi all,

                    in normal displaymath, latex


                          its equations.


    i think it's a cleaner look when all my equations are flush
    against some right margin, perhaps at a margin of about 4
    or 5 em's.

is there a way to do this?  i need for my solution to be non-invasive.
if my dissertation committee doesn't like my flush look, i need to be
able to switch back to the centered style.


I was curious about this problem and used it to learn how to program latex environments. How is this for a start?

{\addtocounter{equation}{1} \begin{flushright}%
\begin{tabular}{rrp{2em}} $\displaystyle}
{$ & \hspace{0.1\textwidth} & (\theequation)%
\end{tabular} \end{flushright}}

{\begin{flushright} \begin{tabular}{rrp{2em}} $\displaystyle}
{$ & \hspace{0.1\textwidth} & \end{tabular} \end{flushright}}

It seems to work, except for one small problem. I can't get the equation number to flush right in a column of specified width. I'd love to figure this out, but I gotta get back to working on my own paper...

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.