Expression isn't shown entirely

  • MHB
  • Thread starter evinda
  • Start date
  • Tags
    Expression
In summary, the text was cut off because it was too long, and the notation does not make much sense to me. I suggest using \bmod (bare mod).
  • #1
evinda
Gold Member
MHB
3,836
0
Hello! (Wave)

I am writing a text in LATEX and I wrote this:

Code:
\begin{align*} 
\epsilon_p(a+b)&=((a+b)\pmod p, (a+b)\pmod{p^2}, (a+b)\pmod{p^3}, \dots )\\ 
&=(a\pmod p+b\pmod p, a\pmod{p^2}+b\pmod{p^2}, a\pmod{p^3}+ b \pmod{p^3}, \dots) \\ 
&=(a\pmod p, a\pmod{p^2},a\pmod{p^3}, \dots)+(b\pmod p, b\pmod{p^2}, b\pmod{p^3}, \dots) \\ 
&=\epsilon_p(a)+\epsilon_p(b) 
\end{align*}

but the expression is cut off and isn't shown entirely... Why does this happen? :( What could I do?
 
Physics news on Phys.org
  • #2
Apparently it is cut off because the lines are too long. By the way, your notation does not make much sense to me. The only context I saw where [m]\pmod[/m] is used is $a\equiv b\pmod{p}$. Of course, I don't know your context, so maybe it's OK.
 
  • #3
Hey! ;)

\begin{align*}
\epsilon_p(a+b)&=((a+b)\pmod p, (a+b)\pmod{p^2}, (a+b)\pmod{p^3}, \dots )\\
&=(a\pmod p+b\pmod p, a\pmod{p^2}+b\pmod{p^2}, a\pmod{p^3}+ b \pmod{p^3}, \dots) \\
&=(a\pmod p, a\pmod{p^2},a\pmod{p^3}, \dots)+(b\pmod p, b\pmod{p^2}, b\pmod{p^3}, \dots) \\
&=\epsilon_p(a)+\epsilon_p(b)
\end{align*}

No problem here, in mathjax, apparently.
So presumably you have indeed a context that sets a paper size or some such.
 
  • #4
Evgeny.Makarov said:
The only context I saw where [m]\pmod[/m] is used is $a\equiv b\pmod{p}$. Of course, I don't know your context, so maybe it's OK.

It is a property of $p$-adic integers.
$\epsilon_p: \mathbb{Z} \to \mathbb{Z}_p$ is the function :

$$\epsilon_p(x)=(x \mod p, x \mod{p^2}, x \mod{p^3}, \dots)$$
 
  • #5
evinda said:
It is a property of $p$-adic integers.
$\epsilon_p: \mathbb{Z} \to \mathbb{Z}_p$ is the function :

$$\epsilon_p(x)=(x \mod p, x \mod{p^2}, x \mod{p^3}, \dots)$$

I suggest using \bmod (bare mod).
Oh, and perhaps using $\equiv$.
$$\epsilon_p(x)\equiv(x \bmod p,\ x \bmod{p^2},\ x \bmod{p^3}, \dots)$$
(Thinking)
 
  • #6
I like Serena said:
I suggest using \bmod (bare mod).
Oh, and perhaps using $\equiv$.
$$\epsilon_p(x)\equiv(x \bmod p,\ x \bmod{p^2},\ x \bmod{p^3}, \dots)$$
(Thinking)

Ok... (Nod) Thank you! (Smile)
 

FAQ: Expression isn't shown entirely

What does it mean when an expression isn't shown entirely?

When an expression is not shown entirely, it means that only a portion of the complete expression is displayed. This can occur when there is not enough space to show the entire expression or when the expression is being truncated for readability purposes.

How can I see the full expression if it's not shown entirely?

To see the full expression, you can either resize the display area or use a tool that allows you to view the complete expression, such as a debugger or logging function.

Why is it important to see the entire expression?

It is important to see the entire expression because it provides a complete understanding of the data and allows for accurate analysis and interpretation. If only a portion of the expression is shown, it may lead to incorrect conclusions or missed insights.

Can I change the settings to always show the entire expression?

It depends on the specific software or tool you are using. Some may have settings that allow you to adjust the display of expressions, while others may not. It is best to check the documentation or contact the developer for more information.

Is there a way to view the entire expression without altering the display?

Yes, you can use a tool or function that allows you to view the complete expression without altering the display. For example, you can use a debugger to step through the code and see the values of each expression, or you can use a logging function to output the complete expression to a file or console.

Similar threads

Replies
2
Views
4K
Replies
1
Views
1K
Replies
1
Views
1K
Replies
4
Views
1K
Replies
1
Views
1K
Replies
1
Views
1K
Back
Top