Latex help concerning array

chijioke

Full Member
Joined
Jul 27, 2022
Messages
372
I want to it rendered in array form and is not rendering. Why? I have searched kartex Latex, yet couldn't find help.

[imath]\begin{array}{cc} \frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}} \\[8pt] = \left( ( - 8 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} + \left( ( - 32 ) ^ {( - \frac{ 1 }{ 5 })} \right) ^ {( - 1 )} - \left( ( - 64 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} \end{array} [\imath][/imath]
 
Even with & it is still not rendering as I intended on
[imath]\begin{array}{cc} \frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}} \\[8pt] & = \left( ( - 8 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} + \left( ( - 32 ) ^ {( - \frac{ 1 }{ 5 })} \right) ^ {( - 1 )} - \left( ( - 64 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} \end{array} [\imath][/imath]
 
Even with & it is still not rendering as I intended on
[imath]\begin{array}{cc} \frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}} \\[8pt] & = \left( ( - 8 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} + \left( ( - 32 ) ^ {( - \frac{ 1 }{ 5 })} \right) ^ {( - 1 )} - \left( ( - 64 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} \end{array} [/imath]
It seems to be rendering what you told it to do just fine. Perhaps you should tell us what you think it should look like. What are you trying to make it do?

If you are trying to get the text to be larger, use \displaystyle
[imath]\displaystyle \frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}}[/imath]

or [ math ] tags (instead of imath.)
[math]\frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}}[/math]
-Dan
 
Even with & it is still not rendering as I intended on
[imath]\begin{array}{cc} \frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}} \\[8pt] & = \left( ( - 8 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} + \left( ( - 32 ) ^ {( - \frac{ 1 }{ 5 })} \right) ^ {( - 1 )} - \left( ( - 64 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} \end{array} [\imath][/imath]

Which array form? How many columns and how many rows? Below is an example with 3 columns and 2 rows:

[imath]\begin{array}{ccc} \frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} &+ \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} &- \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}} \\[8pt] \\ = \left( ( - 8 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} &+ \left( ( - 32 ) ^ {( - \frac{ 1 }{ 5 })} \right) ^ {( - 1 )} &- \left( ( - 64 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} \end{array} [\imath][/imath]
 
It seems to be rendering what you told it to do just fine. Perhaps you should tell us what you think it should look like. What are you trying to make it do?

If you are trying to get the text to be larger, use \displaystyle
[imath]\displaystyle \frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}}[/imath]

or [ math ] tags (instead of imath.)
[math]\frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}}[/math]
-Dan
I want it to look like thisIMG_20220915_041123.jpg
 
I want it to look like thisView attachment 34042
I don't see any arrays there. Are you complaining that the digits in the first line are smaller than the ones in the second line? If that's the case then you don't need arrays, but it might help to display each line separately, like this:

[math]\frac{1}{(-8)^{(-\frac{1}{3})}} + \frac{1}{(-32)^{(-\frac{1}{5})}} - \frac{1}{(-64)^{(-\frac{1}{3})}}[/math]
[math]=\left((-8)^{(-\frac{1}{3})}\right)^{(-1)} + \left((-32)^{(-\frac{1}{5})}\right)^{(-1)} - \left((-64)^{(-\frac{1}{3})}\right)^{(-1)}[/math]
Here is the code:
Code:
$$
\frac{1}{(-8)^{(-\frac{1}{3})}}
+
\frac{1}{(-32)^{(-\frac{1}{5})}}
-
\frac{1}{(-64)^{(-\frac{1}{3})}}
$$

$$
=\left((-8)^{(-\frac{1}{3})}\right)^{(-1)}
+
\left((-32)^{(-\frac{1}{5})}\right)^{(-1)}
-
\left((-64)^{(-\frac{1}{3})}\right)^{(-1)}
$$
 
Last edited:
Even with & it is still not rendering as I intended on
[imath]\begin{array}{cc} \frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}} \\[8pt] & = \left( ( - 8 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} + \left( ( - 32 ) ^ {( - \frac{ 1 }{ 5 })} \right) ^ {( - 1 )} - \left( ( - 64 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} \end{array} [\imath][/imath]
Or you could do
\frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}} \\
= \left( ( - 8 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} + \left( ( - 32 ) ^ {( - \frac{ 1 }{ 5 })} \right) ^ {( - 1 )} - \left( ( - 64 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )}

[math] \frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}} \\ = \left( ( - 8 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} + \left( ( - 32 ) ^ {( - \frac{ 1 }{ 5 })} \right) ^ {( - 1 )} - \left( ( - 64 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} [/math]
The \\ is used in arrays as well. It represents a break from one line to another.

-Dan
 
Or you could do
\frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}} \\
= \left( ( - 8 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} + \left( ( - 32 ) ^ {( - \frac{ 1 }{ 5 })} \right) ^ {( - 1 )} - \left( ( - 64 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )}

[math] \frac{ 1 }{( - 8 ) ^ {( - \frac{ 1 }{ 3 })}} + \frac{ 1 }{( - 32 ) ^ {( - \frac{ 1 }{ 5 })}} - \frac{ 1 }{( - 64 ) ^ {( - \frac{ 1 }{ 3 })}} \\ = \left( ( - 8 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} + \left( ( - 32 ) ^ {( - \frac{ 1 }{ 5 })} \right) ^ {( - 1 )} - \left( ( - 64 ) ^ {( - \frac{ 1 }{ 3 })} \right) ^ {( - 1 )} [/math]
The \\ is used in arrays as well. It represents a break from one line to another.

-Dan

Very excellent! I love this one. It is giving me perfectly what I want now. Oh, you are such are a darlin. Thank you very much.
 
Top