Not Parallel in LaTeX (\nparallel)

∦\nparallel
LaTeX command
\nparallel
Package
Add to your preamble:\usepackage{amssymb}
Mode
Math mode only
Copy the Unicode character
∦U+2226

Where it is used

Negated parallel relation, stating that two lines or vectors are not parallel.

\nparallel draws a slash through the double bar and is used in geometry problems such as \ell_1 \nparallel \ell_2, implying the lines meet (in the plane) or are skew (in space). It is a relation with the same spacing as \parallel. Writing \not\parallel can work, but the overlaid slash is often poorly centered, so the dedicated glyph looks better. There is also \nshortparallel, a shorter variant. In physics, a not-parallel component is more often written with \perp.

Also listed under: الهندسة

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

u⃗∦v⃗  ⟹  u⃗×v⃗≠0⃗\vec{u} \nparallel \vec{v} \implies \vec{u} \times \vec{v} \neq \vec{0}
\documentclass{article}
\usepackage{amssymb,amsmath}
\begin{document}
Not Parallel: $\nparallel$

\[ \vec{u} \nparallel \vec{v} \implies \vec{u} \times \vec{v} \neq \vec{0} \]
\end{document}

Related symbols

All العلاقات والمقارنات →

Frequently asked questions

How do I write Not Parallel in LaTeX?
Type \nparallel in math mode, for example $\vec{u} \nparallel \vec{v} \implies \vec{u} \times \vec{v} \neq \vec{0}$. Load amssymb first with \usepackage{amssymb}.
Which package do I need for \nparallel?
\nparallel needs amssymb: add \usepackage{amssymb} to your preamble before the document starts.
Can I use \nparallel in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\nparallel$ in running text. If you only need the glyph in text, paste the Unicode character ∦ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث