mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Lounge (https://www.mersenneforum.org/forumdisplay.php?f=7)
-   -   Long Bars in Latex (https://www.mersenneforum.org/showthread.php?t=12680)

jinydu 2009-11-07 08:23

Long Bars in Latex
 
When making Latex documents in WinEdit, I've been using \bar{expression}. The trouble is, this only prints a short bar above the center of the expression. So unless I have a very short expression (1 or 2 characters), it looks like most of the expression is not under the bar.

Is there some command to make a bar that is as long as the entire expression?

Thanks

frmky 2009-11-07 09:08

\overline{expression}: [TEX]\overline{x^2+y^2}[/TEX]

jinydu 2009-11-07 09:15

It works, thanks

cheesehead 2009-11-08 11:02

[quote=jinydu;195110]When making Latex documents in WinEdit, I've been using \bar{expression}. The trouble is, this only prints a short bar above the center of the expression.[/quote]Perhaps \bar was intended for use only above single characters. A search on "bar" in Eric Weisstein's World of Physics ([URL]http://scienceworld.wolfram.com/search/index.cgi?sitesearch=scienceworld.wolfram.com%2Fphysics&q=bar[/URL]) finds several examples, such as \bar E and \bar N at [URL]http://scienceworld.wolfram.com/physics/GrandCanonicalEnsemble.html[/URL]

Batalov 2014-04-10 06:32

1 Attachment(s)
[QUOTE]"[B]Long Bars in Latex"[/B][/QUOTE]It surely looks from the pattern of visits that his thread is visited by all the wrong robots.


All times are UTC. The time now is 19:41.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.