20090516, 15:33  #1 
Dec 2008
7^{2}·17 Posts 
LaTeX Typesetting Question
In LaTeX, to say that a is congruent to 1 (mod b), I use the \equiv command as such:
. However, what is the LaTeX command for a is *not* congruent to 1 (mod b)? I thought it would be \nequiv, but it isn't. Also, to show that a  b in LaTeX, I use the pipe symbol. What is the LaTeX command for a is *not* a divisor of b? 
20090516, 16:02  #2 
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
2·3·23·31 Posts 
Code:
\not\equiv \not Code:
\cancel\equiv \cancel I think the difference is that \cancel can be used on any arbitrary thing, while \not is only for single characters like \equiv, , or 3. Not entirely sure about that, but it seems right from a quick test. Last fiddled with by MiniGeek on 20090516 at 16:07 
20090516, 16:18  #3 
Dec 2008
833_{10} Posts 
Code:
\not\equiv Code:
\not 
20090516, 16:20  #4 
May 2003
7·13·17 Posts 
I use \nmid, for not divides.

20090516, 16:24  #5 
Dec 2008
7^{2}·17 Posts 

20090516, 21:19  #6 
Dec 2008
833_{10} Posts 
In LaTeX, equations are autonumbered as (1), (2), (3),..., and so on. How do I make it such that every equation is labeled as such:
(a.b.c) a = section number b = subsection number c = equation number within subsection For instance, the 5th equation in the 2nd subsection of the 3rd section should be labeled as (3.2.5). I "googled" it, and it says I have to put Code:
\numberwithin{equation}{subsection} 
20090516, 21:28  #7 
Dec 2008
7^{2}·17 Posts 
Also, I have an equation that is too long. For the sake of simplicity, let's say I have the equation,
x+y=5, but that is too long. Basically, how would I do it in LaTeX such that I have, x+ y=5 In other words, how do I split an equation? Some of the guides I tried don't work.... 
20090516, 22:02  #8  
Aug 2006
5987_{10} Posts 
Quote:
\[ \begin{split} x&=b/2\pm\\ &\sqrt{(b/2)^2c} \end{split} \] 

20090516, 22:23  #9 
May 2003
7×13×17 Posts 
You can also use \begin{eqnarray}\end{eqnarray}, or \begin{multline}\end{multline}, but I also like split.

20090516, 22:43  #10 
Dec 2008
7^{2}×17 Posts 

20090516, 23:31  #11 
May 2003
7×13×17 Posts 
Yep, except it is multline, not multiline. (That, and I like split better, but with multline you get equation numbers for each line.) I'll attach some of the LaTeX help files I have on my computer later tonight.

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Latex searcher ?  science_man_88  science_man_88  2  20180721 17:11 
being able to use a latex package  wildrabbitt  Software  7  20180112 19:46 
P.C. Poops Latex  ProximaCentauri  Miscellaneous Math  7  20141205 22:28 
LATex Documents  Numbers  Lounge  8  20051231 09:33 
Could we use LaTeX in this forum some day ?  T.Rex  Forum Feedback  5  20050829 19:45 