Expression isn't shown entirely

  • Context: MHB 
  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Expression
Click For Summary

Discussion Overview

The discussion revolves around issues with displaying a LaTeX expression in a forum post, specifically regarding the use of the \pmod notation and the completeness of the expression. Participants explore potential reasons for the display issue and suggest alternatives for notation.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Conceptual clarification

Main Points Raised

  • One participant notes that the expression may be cut off due to long lines in the LaTeX code.
  • Another participant expresses confusion over the notation used, particularly the \pmod, suggesting that it is typically seen in the context of congruences.
  • A participant successfully displays the same LaTeX expression without issues in MathJax, implying that the problem may relate to specific settings or context in the original post.
  • Some participants clarify that the notation is related to properties of p-adic integers and provide the definition of the function εp.
  • Suggestions are made to use \bmod instead of \pmod and to consider using the equivalence notation (≡) for clarity.

Areas of Agreement / Disagreement

Participants generally agree that the display issue may be related to the formatting or context of the LaTeX code. However, there is no consensus on the best notation to use, as some prefer \pmod while others suggest alternatives.

Contextual Notes

Participants mention the potential influence of paper size or display settings on the visibility of the LaTeX expression, but do not resolve the specific cause of the issue.

Who May Find This Useful

This discussion may be useful for individuals working with LaTeX in mathematical contexts, particularly those dealing with modular arithmetic and p-adic integers.

evinda
Gold Member
MHB
Messages
3,741
Reaction score
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
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.
 
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.
 
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)$$
 
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)
 
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)
 

Similar threads

Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 26 ·
Replies
26
Views
4K