f

#### strange problem with \left, \right

Hi,

When I compile the following minimal example, for some weird
reason the closing square bracket is typeset to the right of
the opening parenthesis, overlaid on the letter A.  Any
hints why?

\documentclass{article}
\begin{document}
$f(A^{-1} x) - {} \sum_{k > 0} T_{k}{\left[ f \right]} {\left(A^{-1}\right)}$
\end{document}

(And yes, the {} *does* actually make all the difference!)

Thanks,
--
Pouya D. Tafti
p dot d dot tafti at ieee dot org

 0
p.d.tafti (40)
11/30/2006 3:08:07 PM
comp.text.tex 39029 articles. 3 followers.

6 Replies
357 Views

Similar Articles

[PageSpeed] 58

[Pouya D. Tafti<p.d.tafti@ieee.org>]
> When I compile the following minimal example, for some weird
> reason the closing square bracket is typeset to the right of
> the opening parenthesis, overlaid on the letter A.  Any
> hints why?
>
> \documentclass{article}
> \begin{document}
> $> f(A^{-1} x) - {} \sum_{k > 0} > T_{k}{\left[ f \right]} {\left(A^{-1}\right)} >$
> \end{document}
>
> (And yes, the {} *does* actually make all the difference!)

Follow-up:  This problem exists when I call latex to compile
my file, which on my installation (Mac OS X/teTeX) prints
the following welcome message:

This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
**

The problem disappears when I use pdflatex, or the version
of latex I have installed through (NetBSD's) pkgsrc, which
prints the following version info:

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
**

Thanks,
--
Pouya D. Tafti
p dot d dot tafti at ieee dot org

 0
p.d.tafti (40)
11/30/2006 3:26:38 PM
p.d.tafti@ieee.org (Pouya D. Tafti) writes:

> Hi,
>
> When I compile the following minimal example, for some weird
> reason the closing square bracket is typeset to the right of
> the opening parenthesis, overlaid on the letter A.  Any
> hints why?
>
> \documentclass{article}
> \begin{document}
> $> f(A^{-1} x) - {} \sum_{k > 0} > T_{k}{\left[ f \right]} {\left(A^{-1}\right)} >$
> \end{document}
>
> (And yes, the {} *does* actually make all the difference!)
>
Hello,
it looks fine here. Maybe you have some problem with the displayed
fonts or something else. Have you already tried it with pdflatex or
with dvips?
Did you get some warnings?
Alois

--
Alois Steindl,                           Tel.: +43 (1) 58801 / 32558
Inst. for Mechanics and Mechatronics     Fax.: +43 (1) 58801 / 32598
Vienna University of Technology,         A-1040 Wiedner Hauptstr. 8-10

 0
11/30/2006 3:29:28 PM
Pouya D. Tafti <p.d.tafti@ieee.org> wrote:

> Hi,
>
> When I compile the following minimal example, for some weird
> reason the closing square bracket is typeset to the right of
> the opening parenthesis, overlaid on the letter A.  Any
> hints why?
>
> \documentclass{article}
> \begin{document}
> $> f(A^{-1} x) - {} \sum_{k > 0} > T_{k}{\left[ f \right]} {\left(A^{-1}\right)} >$
> \end{document}
>
> (And yes, the {} *does* actually make all the difference!)
>
> Thanks,

No problem for me. Here is the banner I get:

This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)

on Mac OS 10.4.8, GW distribution (teTeX based).

I would use neither the braces nor the \left-\right pairs:

$f(A^{-1} x) - \sum_{k > 0} T_{k}[f](A^{-1})$

is fine. Don't overuse \left and \right, in that case they are not
required.

Ciao
Enrico

 0
gregorio (1367)
11/30/2006 4:25:57 PM
[Pouya D. Tafti <p.d.tafti@ieee.org>]
[...]
>> $>> f(A^{-1} x) - {} \sum_{k > 0} >> T_{k}{\left[ f \right]} {\left(A^{-1}\right)} >>$
[...]

[Enrico Gregorio  <gregorio@math.unipd.it>]
>No problem for me. Here is the banner I get:
[...]
>I would use neither the braces nor the \left-\right pairs:
>
>$> f(A^{-1} x) - \sum_{k > 0} T_{k}[f](A^{-1}) >$
>
>is fine. Don't overuse \left and \right, in that case they are not
>required.

Thanks.  The actual equation was much more elaborate, I
tried to remove whatever would not contribute to the
problem.  But don't \left and \right also affect the
spacing?

I have tested this on several installations now, and only
one of them stubbornly refuses to typeset the closing
bracket properly.  Seemingly irrelevant modifications (like
removing unnecessary braces) make the problem disappear.  It
is not very important; I just thought I had gotten something
wrong, or had perhaps stumbled over a known bug.

Thanks also to Alois Steindl.

--
Pouya D. Tafti
p dot d dot tafti at ieee dot org

 0
p.d.tafti (40)
11/30/2006 7:25:38 PM
Pouya D. Tafti wrote:
> [Pouya D. Tafti<p.d.tafti@ieee.org>]
> > When I compile the following minimal example, for some weird
> > reason the closing square bracket is typeset to the right of
> > the opening parenthesis, overlaid on the letter A.  Any
> > hints why?
> >
> > \documentclass{article}
> > \begin{document}
> > $> > f(A^{-1} x) - {} \sum_{k > 0} > > T_{k}{\left[ f \right]} {\left(A^{-1}\right)} > >$
> > \end{document}
> >
> > (And yes, the {} *does* actually make all the difference!)
>
> Follow-up:  This problem exists when I call latex to compile
> my file, which on my installation (Mac OS X/teTeX) prints
> the following welcome message:
>
>     This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
>     **
>
> The problem disappears when I use pdflatex, or the version
> of latex I have installed through (NetBSD's) pkgsrc, which
> prints the following version info:
>
>     This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
>     **

You have (apparently) two different executables named pdfetex.
latex is linked to one and pdflatex is linked to another. There
are two other players in this game: the format files latex.fmt and
pdflatex.fmt. It is quite possible (depending on what other
anomalies your system has) that the first pdfetex above is

Were it my system, I'd try to ensure that there be only one
pdfetex exexutable in use system-wide.

Dan


 0
luecking (1319)
12/1/2006 3:12:42 PM
[Dan <luecking@uark.edu>]
>You have (apparently) two different executables named pdfetex.

Thanks.  I do have two installations: one predating my use
of the machine, and the other one installed by me through
(NetBSD's) pkgsrc, as part of my efforts to (ab?)use my Mac
box as a BSD one.  I am new to OS X, and am still at a loss
as to what would be the most suitable TeX configuration for
it.

The older installation was apparently not set up properly.

>latex is linked to one and pdflatex is linked to another. There
>are two other players in this game: the format files latex.fmt and
>pdflatex.fmt. It is quite possible (depending on what other
>anomalies your system has) that the first pdfetex above is

It remains a mystery to me how these format files are
located by the binaries.

>Were it my system, I'd try to ensure that there be only one
>pdfetex exexutable in use system-wide.

--
Pouya D. Tafti
p dot d dot tafti at ieee dot org

 0
p.d.tafti (40)
12/2/2006 10:53:50 AM

Similar Artilces:

Text widget with mixed left-to-right and right-to-left Unicode text abilities?
Hi, is there one of these? If not I might have a go at writing a simple one of them.... Apologies if this is a FAQ, I did search the archive a bit before posting. Best, Charles. ...

Strange Text Align Right problem
I inherited this huge app that has multiple stylesheets, all interacting with one another, divs inside of divs with different classes for each, tc. - - - you get the picture. we have 3 TextAlign classes we use throughout the site (left/right/center) In some areas, Inside a table we have a strange anomoly - if I hardcode style="text-align:center" for a paragraph inside a Table cell, it works. However - if I assign our TextAlignRight class in which the only line is "text-align:center", the text align directive is totally ignored (it aligns left). To ad...

textarea: get text left and right from selected text
Hello everybody, I am looking for a method to get the text on the left and the right side if a user selects some text in a textarea. Regards Mario *** mariomueller escribi�/wrote (23 Aug 2006 12:31:43 -0700): > I am looking for a method to get the text on the left and the right > side if a user selects some text in a textarea. This article may help: http://www.quirksmode.org/js/selected.html -- -+ http://alvaro.es - �lvaro G. Vicario - Burgos, Spain ++ Mi sitio sobre programaci�n web: http://bits.demogracia.com +- Mi web de humor con rayos UVA: http://www.demogracia.com -- Hi ...

what does SHIFT-left-or-right of up-down-left-right do?
Well, I know about shift up-and-down: shift-right ("red" or whatever) up and down on choose-box, HIST, things like that, take the cursor all the way to the beginning or the end. shift-left ("white") on up and down scroll the screen-full up or down (the FIRST such click *stupidly* goes to the final CURRENTLY-ON-SCREEN choice or whatever (meaning TWO double-button-pushes to scroll-down that FIRST time.) What are some of the OTHER possibilities, ie with the left and right arrows? Oh, apparantely undocumented, I've found (via mistaken key-pushes) that RIGHT-arrow will do a SWAP (on stack), and that an UP-arrow gets you into HIST (that HIST is *one nice feature*!) Other tricks with those arrows? Thanks! David David Combs wrote: > Well, I know about shift up-and-down: > > shift-right ("red" or whatever) up and down on > choose-box, HIST, things like that, take the > cursor all the way to the beginning or the end. > > shift-left ("white") on up and down scroll the > screen-full up or down (the FIRST such click > *stupidly* goes to the final CURRENTLY-ON-SCREEN > choice or whatever (meaning TWO double-button-pushes > to scroll-down that FIRST time.) > > > What are some of the OTHER possibilities, ie with the > left and right arrows? > > > Oh, apparantely undocumented,...

LEFT + LEFT vs LEFT + RIGHT
In order to do a full outer join in MySQL one must use a union. Is there any good reason to do SELECT ... LEFT JOIN UNION SELECT ... RIGHT JOIN rather than SELECT ... LEFT JOIN UNION SELECT ... LEFT JOIN with the tables swapped on the latter LEFT JOIN? Paul Lautman wrote: > In order to do a full outer join in MySQL one must use a union. > Is there any good reason to do > > SELECT ... > LEFT JOIN > > UNION > > SELECT ... > RIGHT JOIN > > rather than > > SELECT ... > LEFT JOIN > > UNION > > SELECT ... > LEFT JOIN > ...

does PHP read left to right or right to left?
I've two functions. currentHeadline looks in $_GET for a variable called 'image' and prints what it finds. showThumbnail takes an image for a parameter and resizes it before sending it to the screen. But when I do this: <?php showThumbnail(currentImage(), 20, 20); ?> showThumbnail is telling me that it is not being given a file name, and currentImage is printing the file name to the screen. How is that possible? What is the right way to do this? lawrence k wrote: > I've two functions. currentHeadline looks in$_GET for a variable > called 'image' and pr...

Right-to-left text
I come back to right-to-left text such as Arabic and Hebrew. (Previous thread was "non-Latin-1 in iCab 3".) My test page http://www.unics.uni-hannover.de/nhtcapri/right-to-left.html lists all HTML and CSS constructs for bidirectional text. It uses only ASCII digits! You do not need to know Arabic or Hebrew; you don't even need fonts with Arabic or Hebrew letters. If your browser passes this test, it is likely to display Arabic and Hebrew pages correctly. ...

Text and Image inside table <td> Alight Text Left and Image right in same cell ??
Is that possible? How? <td > <asp:Label ID="StartDateLabel" runat="server" Text="Start Date:"> <asp:imagebutton ID="Imagebutton1" width=18 Height=18 CommandName=SetDate imageUrl="../cal.jpg" runat=server /> </asp:Label> </td> <td > On 2006-10-24, Jason <jason@cyberpine.com> wrote: > Is that possible? How? Set text-align: left on the cell as usual (it's likely to be the default), and make the image float: right. To work around a Firefox float bug, better to put the image befor...

Right to left text area
Hi, I have been trying to get right to left text working for a while now. What I want is a JTextArea, with my own very specific font (for a middle-eastern language that is RTL). I have the TTF font, and I can get the JTextArea to type with this font. I have even devised a way to map key strokes on the keyboard to the glyphs from the font that I want. What I cannot figure out is how to make this text start and flow from the right to the left. I have tried all variations of setComponentOrientation() and setAlignmentX(). I have even tried creating my own DefaultKeyTypedAction() that...

Changing x-axis plot from right to left to left to right
Hi, For mathematical reasons, I need to change the way that gnuplots my data along the X axis from right to left to left to right (that is, at the minute it plots from 20 down to 1, not from 1 to 20) I am aware of set xrange reverse but this just inverts the whole graph and displays from 17 .... 1 down along the x-axis rather than plotting the other way round. I'm rather stuck and would appreciate some advice. Regards Jamie On 14.08.2012 17:52, Jamie Rees wrote: > For mathematical reasons, I need to change the way that gnuplots my > data along the X axis from right to left to left to right (that is, > at the minute it plots from 20 down to 1, not from 1 to 20) That makes no sense whatsoever. gnuplot generates some kind of picture. It makes absolutely no difference whatsoever whether a line was drawn from left to right or right to left --- it'll be the same line in the end, consisisting of exactly the same pixels being coloured. So since this doesn't make sense, maybe you should tell us what your actual problem is, so we can find out how that might be solved. On Tuesday, August 14, 2012 6:12:33 PM UTC+1, Hans-Bernhard Br=F6ker wrote: > On 14.08.2012 17:52, Jamie Rees wrote: >=20 >=20 >=20 > > For mathematical reasons, I need to change the way that gnuplots my >=20 > > data along the X axis from right to left to left to right (that is, >=20 > > at the minute it plots from...

input text right to left
Hi, I am new to java. Am creating a math page for teachers. I have math problems where the input needs to be right to left (e.g. adding two several digit numbers in a column). Is there an easy way to specify that the text insertion point needs to move from right to left instead on the standard left to right? I tried the direction property, but that doesn't seem to work. kd ROBT NISHIDA <kddran.6.26.83@verizon.net> wrote: > I am new to java. Am creating a math page for teachers. I have math > problems where the input needs to be right to left (e.g. adding two several > digit numbers in a column). Is there an easy way to specify that the text > insertion point needs to move from right to left instead on the standard > left to right? I tried the direction property, but that doesn't seem to > work. What kind of "math page" do you mean? HTML as part of a web application? Part of an applet? Please specify, as the answer depends on this. The possibilities I can think of are: - Part of an HTML page: Look at the HTML specification, or one of the dozens reference manuals on HTML. - Part of a Swing interface (either an application or an applet): Have a look at the Java API for ypou input elements. Especially alignment. -- Oscar Kind http://home.hccnet.nl/okind/ Software Developer for contact information, see website PGP Key fingerprint: 91F3 6C72 F465 5E98 C246 61...

problem with right justified text
Dear Everybody, I'm incapable of solving the scrollbar problem with right justified text... I spent a lot of time to do several experiments, with different approaches, but there isn't any usable code. My aim is to make a right to left writing text widget, which is none wrapping, but I need the scrollbar, Lord... Please help if somebody has experiences in this subject. Any suggestion will be appreciated. here is the problem: use Tk; use Tk::Text; use strict; my $mw = MainWindow->new; my$t = mw->Scrolled('Text', -scrollbars=> 'se', -height... right to left text field just i want to change the direction of the writing in the text field to be from right to left. I tried Font.layoutGlyphVector but I don't know how to set the arguments especailly the first and the second arguments. Am i in the right way or there is another way? pls help. polaris wrote: > just i want to change the direction of the writing in the text field > to be from right to left. I tried Font.layoutGlyphVector but I don't > know how to set the arguments especailly the first and the second > arguments. Am i in the right way or there is another way? pls help. > Mayb... right-to-left text entry I am modifying an application that uses OpenMotif 2.2.3 on Red Hat EL 3.0 I need to allow a user to enter text into a single line text entry field in right-to-left order (for Arabic input). Is this at all possible? Is there any documentation anywhere about it? I have scoured Google, to no avail. I have tried playing with a verification callback on the text entry widget, but can't seem to get the cursor to behave in a sensible fashion. Please, can anyone help? Thanks. ... Equation with right or left flushed text I want to have some "standard" equations, possible within gather or similar environments, with centered formula bodies but want to have a zero width box containing text at the extreme left. For example I would like output to look like this: Einstein's Formula E = mc^2 (23) where (23) is the equation number, E=mc^2 is centered (or positioned as it should be within given environment) without regard to widths of Einstein's Formula or (23). \shoveleft seems only to go back to the left most part of series of equations rather than the left margin. Any suggestions or help gratefully appreciated. ds david.mrlucky.schwartz@gmail.com wrote: > I want to have some "standard" equations, possible within gather or > similar environments, with centered formula bodies but want to have a > zero width box containing text at the extreme left. For example I > would like output to look like this: > > Einstein's Formula E = mc^2 (23) > > where (23) is the equation number, E=mc^2 is centered (or positioned > as it should be within given environment) without regard to widths of > Einstein's Formula or (23). \shoveleft seems only to go back to the > left most part of series of equations rather than the left margin. > > Any suggestions or help gratefully appreciated. ds \begin{flalign} \text{Einstein's Formula} & E &= mc^2 && \end{flalign} untested /daleif ... problem with left+right mouse down+up on Mac I'm having an issue with right and left mouse button events on OSX. I use a two button mouse, and when both buttons are down at the same time, the subsequent button up events get mangled. I looked at the code in src/mac/carbon/toplevel.cpp, specifically the SetupMouseEvent method, and see that there's a snippet in there that is trying to adjust for control-clicks that are interpreted as right-clicks. this appears to be by design but is causing me problems... I would even call it a bug perhaps void SetupMouseEvent( wxMouseEvent &wxevent , wxMacCarbonEvent... Konqueror fails on right-to-left text Support for right-to-left text in Konqueror is not as good as in Firefox 2 or in Internet Explorer 7. FYI, this is my bug report: https://bugs.kde.org/show_bug.cgi?id=165509 The test page (which displays OK in Firefox and IE 7) is http://freenet-homepage.de/prilop/right-to-left.html http://www.unics.uni-hannover.de/nhtcapri/right-to-left.html -- I used to believe in reincarnation in a former life. ... Problem in ETeX with right to left typesetting. Hello, I use ETeX with plain TeX. Since I print documents in a semitic language, I use the right to left features of ETeX. I have discovered a thing that sounds like a bug: To write a document from right to left, I do not know another mean that typing: \everypar={\beginR}. But then, when a display math formula appears, ETeX is no more able to compute the difference between short lines and long ones before the display formula; that is, \abovedisplayskip is always used even if the line is short and \abovedisplayshortskip has to be used. To give an example, compare theses two codes, the one usin... Arabic (right-to-left) TeX (not arabtex) Hi there, I'm looking for a TeX package that will allow entry of arabic (right-to-left) text. A know of arabTeX, but this apparently only accepts ascii left-to-right transliterated text rather than 'the real thing'. I hear e-TeX can do it. Can anyone suggest where I can obtain this, or any other suitable package? Many thanks Waleed On Mon, 29 Nov 2004 10:18:36 -0000, Waleed <wax@liv.ac.uk> wrote: > Hi there, > > I'm looking for a TeX package that will allow entry of arabic > (right-to-left) text. > > A know of arabTeX, but this apparently onl... text box orientation right to left Hi, I am new to java. Am creating a math webpage for teachers. I have math problems where the input needs to be right to left (e.g. adding two multi-digit numbers in a column). Is there an easy way to specify that the caret position needs to move from right to left instead of the standard left to right? kd "kd dolezal/rob nishida" <kddran.6.26.83@verizon.net> wrote in message news:<QGtgd.926vJ.799@trnddc02>... > Hi, > > I am new to java. Am creating a math webpage for teachers. I have math > problems where the input needs to be right to left (e....

How to have left and right aligned text on same line?
Hi, I wish to have text both left and right aligned on the same line. This is so appropriate bits of text will fall under either of a pair of images floated left and right. I have tried something like: CSS file: span.right {text-align: right} HTML file: <p> The Isle of Man, where I was born and grew up. <span class="right">Canada, where I choose to live.</span> </p> but it doesn't appear to work. I guess this is because 'text-align' applies to block containers, and so to the whole paragraph (not p...

how to let the text align to the left and right
well, I am writing my Acknowledgements for my thesis work, and at last, I will write the date and my name, like (let xxx represents the text) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx. Frankfurt, May 02 Bill Gates the "Frankfurt, May 02 should be at the very left side", and "Bill Gates" should be at the very right side, how? Am 2 May 2007 02:12:28 -0700 schrieb hallohallo2002@hotmail.com: > well, I am writing my Acknowledgements for my thesis work, and at > last, I will write the date and my name, like (let xxx represents the > text) > > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > xxxxxxxxxxxxxxxx. > > Frankfurt, May 02 Bill Gates > > the "Frankfurt, May 02 should be at the very left side", and "Bill > Gates" should be at the very right side, how? \noindent Frankfurt \hfill Bill -- Ulrike Fischer hallohallo2002@hotmail.com writes: > Frankfurt, May 02 Bill Gates > > the "Frankfurt, May 02 should be at the very left side", and "Bill > Gates" should be at the very right side, how? \hfill: --8<---------------cut here---------------start------------->8--- \documentclass{article} \begin{document} Frankfurt, M...

Right to left writing in text widget
Hi Everybody, I have a request concerning to typing text right to left in a text widget. I have no idea how to solve this problem. Is there anybody hwo has an answer? With the Best: Zsolt -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to majordomo@lists.stanford.edu ...

Problem to get text right aligned
Hi, My problem with this code is that I cannot make the following text: Enter numerator | Enter denominator and press Enter | RESULT:| align in the above way. I have to use GridBagLayout. Any hints? Cheers, //mikael Code ==== ublic Lab2View() { super("Exercise 2"); GridBagLayout gridbag = new GridBagLayout(); this.setLayout(gridbag); // Add Panel with numerator text GridBagConstraints numeratorTextConstraints = new GridBagConstraints(); numeratorTextConstraints.gridx = 0; numeratorTextConstraints.gridy = 0; numer...

Web resources about - strange problem with \left, \right - comp.text.tex

Strange - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Garbage announce new album, 'Strange Little Birds,' and tour dates
Shirley Manson said in a press release that this album "has the most to do with the first record than any of the previous records."

The strange love-hate relationship between Bill Gates and Steve Jobs
Bill Gates and Steve Jobs never quite got along. Over the course of 30-plus years, the two went from cautious allies to bitter rivals to something ...

How well do you know your strange Oscars moments? Take our quiz
The Academy Awards can get pretty long and tedious, which is why unexpected moments stand out so much. See how well you remember the most bizarre ...

Trump confronts protester in strange encounter
Donald Trump on Friday had an unusual encounter with a protester.

Alleged Terrorist’s Strange Surveillance Video Has Authorities Thinking Nuclear Reactors Are Next
Alleged Terrorist’s Strange Surveillance Video Has Authorities Thinking Nuclear Reactors Are Next

Midday open thread: Claire McCaskill has breast cancer, TV news' loves The Donald and strange music
Nevada Republicans are holding their presidential caucuses tonight , and we'll be liveblogging the results at Daily Kos Elections . The caucuess ...

Pachuca Commemorated Pokémon's 20th Anniversary With Some Great, Strange Tweeting
Look, I’m just gonna cut straight to the chase. Pachuca played Dorados de Sinaloa in some Saturday night Liga MX action, and they went all in ...

Take a peek at 'Life is Strange' studio's next game, 'Vampyr'
Gaze into the darkness long enough and a reluctant British vampire will gaze back at you. Sure, that's not quite what Nietzsche said, but it's ...