I wanted to apply  but since I'm using fractions it's all crowded and messy. Is there a way to leave more space between the lines?  \begin{equation*}     \begin{array}{c|c c c|c}         &amp;1 &amp;-2  &amp;1 &amp;-\frac{4}{27}\\         \frac{1}{3} &amp; &amp;\frac{1}{3} &amp;-\frac{5}{9} &amp;\frac{4}{27}\\         \hline         &amp; 1 &amp;-\frac{5}{3} &amp;\frac{4}{9} &amp;0\\     \end{array} \end{equation*}
122147
I am trying to code a command in LaTeX to type the . You can see in the Wikipedia link above that these are rather simple tables. There is a vertical line at the beginning, after the first column, and there is a horizontal line at the end, before the last row.   I would like to have a command that I can pass the numerical entries of the table and ir draw the rest.   How to do this?  I would like something like \ruffini{...} and in entries we either enter the list of numbers, perhaps separated by commas. Or maybe even entering the numbers with the separators &amp; and \\ to format in what position the go in the table. But I wouldn't want to be thinking about the lines in the table. I would like the command to take care of the line.
117481
The spacing between the 3rd and 4th stars is non-existent. Anyone know what's up?    \documentclass[11pt]{article}  \usepackage{amsmath}  \begin{document}  \begin{gather*} \star\star\star\star \\ \star\star\star\,\star \\ \star\star\star\star\star \end{gather*}  \end{document}
40561
Have a look at the following code:  \documentclass[letterpaper]{article} \usepackage{amsmath,amssymb} \begin{document}  $2-\frac{2}{1-\left(\frac{2}{2-\frac{2}{x^2}}\right)}$\quad  $2-\dfrac{2}{1-\left(\dfrac{2}{2-\dfrac{2}{x^2}}\right)}$\quad  $2-\cfrac{2}{1-\left(\cfrac{2}{2-\cfrac{2}{x^2}}\right)}$\quad  $2-\dfrac{2}{1-\left(\cfrac{2}{2-\dfrac{2}{x^2}}\right)}$ \end{document}   This gives:    Evidently, the first display is not the proper way. The second and last are the same I guess. The third has a better display but there is too much space above the 2 in \left(\cfrac{2}{2-\cfrac{2}{x^2}}\right). Essentially, non of the above displays satisfies, for me, a good Mathematical typsetting. Although, it may be argued that it is the default in LaTeX. I just can't get it right? Any insights? In a book I got this example from it looks like this without the excessive bold (this is a scanned image):
111714
I am so bad aligning... Anyone see why there is a big space in the function?  Thanks for your help!    begin{alignat*}{2}  \tau\colon G\times k[V]&amp;\longrightarrow&amp;k[V] \\  (x,f)&amp;\longmapsto&amp;\tau_{x}(f)=x\cdot f:V&amp;\longrightarrow k \\  &amp;&amp;v&amp;\longmapsto\tau_{x}(f)(v):=f(x^{-1}\cdot v)  \end{alignat*}
80167
I am trying to align a multiline equation using array within the equation but it turns out it doesn't do very well. The code I am using is as follows:  \begin{equation}    \begin{array}{lcl} \mathcal{L}^{-1}\left\{f(d)\right\} &amp;= \mathcal{L}^{-1}\left\{f_1(\delta).f_2(\delta)\right\} \\ &amp; = exp(mt) \star \left\{\frac{l}{2\sqrt{\pi t^3}} exp(-l^2/{4t})\right\} \\ &amp; = F_1 * F_2 \end{array} \end{equation}   Can anyone suggest better way to deal with it ?
67825
I want to get the following:    I tried the following  \[    a(i,k) \leftarrow     \min\Big\{0, r(k,k) + \sum_{i^{'} | i^{'}\notin \{i,k\}}\max\{0, r(i{'},k)\}\Big\} \]   and got    How can I make the part under the summation extend to left and right without making a space between plus and max as in the first figure?
101401
I have complicated math expression:    Vertical spacing between text and fraction line is too small. I tried to define new \frac command (with amsmath package) with adjustable vertical spaces. As you can see, the result is not satisfying:    \documentclass[a4paper,fleqn,leqno]{article} \usepackage{polyglossia} \usepackage{color,pifont,fontspec} \usepackage[top=2.54cm,bottom=2.54cm,left=2.54cm,right=2.54cm]{geometry} \usepackage{tikz,tikz-3dplot,graphicx} \usepackage{mathtools,breqn,amsmath} \usepackage[fontsize=12]{scrextend} \usepackage{array,multirow} \usepackage{pgfplots} \DeclareMathSizes{12}{14}{14}{10} \newcommand{\myfrac}[3][0pt]{\genfrac{}{}{}{}{\raisebox{#1}{$#2$}}{\raisebox{-#1}{$#3$}}} \begin{document} \begin{dmath*}[breakdepth={0},style={\mathindent=0pt},spread={10pt}] {n=\myfrac[3pt]{\myfrac[3pt]{0,0625N+0,0215}{2}-0,043}{\myfrac[3pt]{\myfrac[3pt]{\scriptstyle 0,0625N+0,0215}{\scriptstyle 2}-0,043}{\myfrac[3pt]{\scriptstyle N}{\scriptstyle 2}-1}+0,0215}} \end{dmath*} \end{document}   How can I enlarge verticall spacing in whole fraction?
110046
Even though this is a 3rd-grade math problem, people found it extremely hard. Any people have a solution, or algorithm is welcome. I'll try make a program base on the algorithm and see if it's correct. And, people are welcome to provide the best solution (least loop, recursion)  Enough said, here's the original: Fill in the blank the number from 1-9 to complete the equation. (probably distinct numbers each blank)    PS: Help me with tags. I'm not sure which tags should I use.  EDIT 1: After a few shortened, here's what I've got:  a + d - f + 12*e + 13*b/c + g*h/j = 87.   So, as you see, the priority does matter.  EDIT 2: Maybe my description is not clear enough, but I think it require to use every number   Like this: an array from [1:9], each fill in the blank remove one component. As Martigan point out, it's like: fill in the blanks using once and only once each number from 1 to 9. Simple math here: There are 9*8*7*6*5*4*3*2 = 362880 possibilitities. (You may correct this simple math if I'm wrong).  And b mod c should = 0 (as only integers appear.)  EDIT 3: I just asked my mom (who's an elementary teacher). She's confirmed that 3rd grade has studied about mathematic priority, so sorry Hagen von Eitzen. Your answer is half right, she'd give you an 7/10.  PS2: People, please share your wisdom and provide the math algorithm.  Sorry for my bad English.
36550
\documentclass[preview,border=12pt,varwidth]{standalone} \usepackage{amsmath} \begin{document} \abovedisplayskip=0pt\relax \begin{gather*} 6x^2-30x+36=0\\ 6(x^2-5x+6)=0\\ 6(x-2)(x-3)=0\\ x-2=0 \quad \text{or} \quad x-3=0\\ x=2 \quad \text{or} \quad x=3 \end{gather*} \end{document}   Is it ?
124013
How can I stretch the spacing between consecutive lines in an align* environment? I have a few lines with \fracs in which both the numerator and the denominator consist of textual phrases, not math symbols, and the result looks too cluttered.  \begin{align*} X &amp;= \frac{\textit{Some text here}}{\textit{And some text here}}\\ Y &amp;= \frac{\textit{Will make everything}}{\textit{Look too close together}} \end{align*}
92148
I have this really long equation and I have used multline to break it up. I also want to align the broken bits of the equation to the left. When I use  align, for some reasons it aligns to the right when I want it to be on the left. How can I align to the left?  \begin{multline} \begin{align} \mathcal{H}_{q1} \mathcal{H}_{q2} \mathcal{H}_{q3}...\mathcal{H}_{qn}0=\frac{1}{2}H_{q1}\{\mathcal{H}_{q2}\mathcal{H}_{q3}...\mathcal{H}_{qn}0\}+\frac{1}{2} h_{q1} \\ =\frac{1}{2}H_{q1}\{\frac{1}{2} H_{q2}[\mathcal{H}_{q3}...\mathcal{H}_{qn} 0]+\frac{1}{2}h_{q2}\} +\frac{1}{2}h_{q1}=\\ \frac{1}{2}H_{q1} \frac{1}{2} H_{q2} [\frac{1}{2}H_{q3}(\mathcal{H}_{q4}..\mathcal{H}_{qn}0)+\frac{1}{2}h_{q3}]+ \frac{1}{2}h_{q2}+\frac{1}{2}h_{q1}=...\\          =(\frac{1}{2^n})H_{q1}H_{q2}H_{q3}..H_{qn}0+ (\frac{1}{2^n})H_{q1}H_{q2}H_{q3}..H_{qn-1}h_{q1}\\+(\frac{1}{2^n})H_{q1}H_{q2}H_{q3}..H_{qn-2}h_{qn-1}+.. \\+ (\frac{1}{2})h_{q1}=\sum^n_{j=1} (\frac{1}{2^j}) H_{qo}H_{q1} H_{q2}H_{q3}..H_{qj-1} h_{qj} \end{align} \end{multline}
12149
How can I make these types of lines?
74951
I am trying to produce 3 matrices on the same line. And on top of the each matrix, there is a name. I tried using tabular for the names and then I use align for the matrices. However, this creates some kind of space between the names and the matrices, which I do not want. Is there a better way to do this ? I have seen other posts but they do not seem to solve my problem. Please note that I need to use bordermatrix because I need to label the rows and columns as well.   \begin{center} \begin{tabular}{ccc} Kay &amp; Brian &amp;  Edwin \\ \end{tabular} \end{center} \begin{align*} \bordermatrix{ &amp; I &amp; A \cr I &amp;1 &amp; 2 \cr A &amp; 3 &amp; 4 }  &amp; \bordermatrix{ &amp; I &amp; A \cr I &amp;5 &amp; 6 \cr A &amp; 7 &amp; 8 }  &amp; \bordermatrix{ &amp; I &amp; A \cr I &amp;9 &amp; 10 \cr A &amp; 11 &amp; 12 }  \end{align*}
5446
How could I go about setting the 'above' and 'below' vspaces around the equation environment?  If the same could be done for the subequations or gather environments, this would be a bonus.
108696
I notice that the space between each column of a table in LaTeX is not quite wide (at least for me). Is there any way to set this? I found the \hspace, but I don't get how to use this in the table.
61964
Sometimes I want to describe portions of an equation using \underbrace and \overbrace in such a way that the portions are not completely distinct, for example:          /-------\ x = A + B + C + D + E     \-------/   \---/      What is the best way to do this?
11939
Why blank lines between equation makes error? there are a lot of commands in latex and almost for all of them these blank lines are not important,  but why in this case is important and is there any similar function?