subscript for a join (\bowtie) operation in LyX/LaTeX

Posted by Amir Rachum on Stack Overflow See other posts from Stack Overflow or by Amir Rachum
Published on 2010-05-24T23:02:21Z Indexed on 2010/05/24 23:21 UTC
Read the original article Hit count: 321

Filed under:
|
|

I'm using LyX to write some Relational Algebra queries. I'm using the \bowtie symbol for the join operation but when I try to put a text in subscript directly under the symbol, I get the following error:

...a_{\t{pId}}\t{person}\right)\bowtie\limits {\t{pId}{1}=\t{pId}_{2}... I'm ignoring this misplaced \limits or \nolimits command.

Anyone knows how to do what I want? Preferably in LyX, but ERT code snippets will also be appreciated. Thanks!

Edit: \t is a macro for \text.

© Stack Overflow or respective owner

Related posts about latex

Related posts about lyx