Fixing Latex Error: "Does Not Divide" Symbol

  • Context: LaTeX 
  • Thread starter Thread starter jim mcnamara
  • Start date Start date
Click For Summary
SUMMARY

The correct representation of the "does not divide" symbol in LaTeX is achieved using the command \not{|}, which requires proper placement of braces. The discussion clarifies that the diagonal stroke should intersect the vertical stroke, not be positioned next to it. Additionally, the \cancel{|} command can also be utilized to achieve a similar effect. Proper syntax is crucial for accurate representation in mathematical expressions.

PREREQUISITES
  • Understanding of LaTeX syntax and commands
  • Familiarity with mathematical notation in LaTeX
  • Basic knowledge of LaTeX document preparation
  • Experience with typesetting mathematical symbols
NEXT STEPS
  • Research LaTeX commands for mathematical symbols
  • Learn about the use of braces in LaTeX for command execution
  • Explore the \cancel command and its applications in LaTeX
  • Investigate common LaTeX errors and their solutions
USEFUL FOR

Mathematicians, educators, students, and anyone involved in typesetting mathematical documents using LaTeX.

jim mcnamara
Mentor
Messages
4,789
Reaction score
3,852
@andrewkirk posted the following:
The symbol should be a diagonal stroke through (not next to) a vertical stroke, meaning "does not divide".
 
Physics news on Phys.org
jim mcnamara said:
The symbol should be a diagonal stroke through (not next to) a vertical stroke, meaning "does not divide".
Doesn't seem to be an error. \not{|} works, but in that post, the braces are missing:

##\not{|}~~~## vs ##~~~\not|##

Even \cancel{|} works: ##\cancel{|}##
 
  • Informative
  • Like
Likes   Reactions: berkeman, fishturtle1 and jim mcnamara

Similar threads

  • · Replies 3 ·
Replies
3
Views
12K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K