How to Write Norm, Inclusion, and Set Notation in Papers

Organize common notations for norms, inclusion relations, and set operation symbols in paper drafts, explain how to enter them in the UniDoc editor, how to keep them consistent with LaTeX source files, and list common pitfalls.

Key Points of This Article

  • Norms: wrap the object with \lVert and \rVert as a matched pair, with the subscript placed on the right, for example \lVert x \rVert_2, which prevents unpaired vertical bars.
  • For inclusion where equality is allowed, use \subseteq; for strict inclusion, use \subsetneq. First check the journal template's convention for \subset.
  • Use \setminus for set difference, \in for membership, and \mathbb{R} for the real numbers. Settle on one consistent set of commands across the whole document before you start writing.
  • After finishing the formulas, check them both in the editor and in the locally compiled output, since subscript positions and fonts are where errors most often occur.

When writing papers in mathematics or engineering, norms, inclusion relations, and set operators inevitably show up in drafts. Many people search directly for "how to type norm symbols in LaTeX" or "how to type subset-of in LaTeX," and get a table of symbols. What such tables usually don't tell you is that the same symbol may be written differently in different journals, nor how to enter symbols consistently in a draft so they match the final LaTeX source.

This article is for readers who are drafting a thesis and need to write vector norms, matrix norms, subset relations, and set operations into their document. After reading it, you will know which command to use for each kind of symbol, which symbol corresponds to "is contained in", and what to watch out for when entering, checking, and delivering content in the UniDoc editor of OmniDoc.

How to type norm and inclusion symbols? One-line answer

The norm is enclosed in a matching pair, \lVert and \rVert; for inclusion relations, use \subseteq or \subsetneq depending on whether equality is allowed. Before starting, confirm the journal's or advisor's conventions, and then standardize the commands.

Your situationRecommended PracticesCause
Norms of ordinary vectors or matrices, briefly noted in the main text.Wrap them in pairs with \lVert x \rVertPaired symbols on the left and right are matched automatically, and the size of the brackets changes with their content.
Need to specify the norm type, such as the 2-norm or the p-norm.Subscripts go at the right end, for example \lVert x \rVert_2 and \lVert x \rVert_p.The subscript attached to the norm symbol lets the reader see the type of norm directly.
Write "A is contained in B", allowing A and B to be equal.Use \subseteqCorresponding to the meaning of "is contained in" in Chinese textbooks, i.e., subset or equal.
Write "A is strictly contained in B", with equality not allowed.Use \subsetneqCan clearly distinguish proper subsets, reducing follow-up questions from reviewers

Scenario: A 30-Page Paper Draft

Suppose you are a graduate student writing a 30-page thesis. Chapter 3 discusses an optimization problem whose formulas involve the two-norm, inclusion relations among several sets, and set difference. Your advisor has asked for two versions by next week: a LaTeX source file that compiles directly, and a Word version that is convenient for annotation.

There are usually three sticking points. First, in Word, symbols have to be located one by one through the Insert menu, and over time their notation drifts apart across chapters. Second, when symbols are copied from a web page or PDF, the font after pasting doesn't match the rest of the formula, and they may even display as empty boxes. Third, only one side of a norm's vertical bars is written, which causes an error during local compilation but is not visible on a web page. What you need is a fixed set of commands, a single unified input location, and a checking procedure before delivery.

Complete Process

  1. List the symbols first. Compile a small table of the norm, inclusion, and set-operation symbols used in the paper, giving each symbol's meaning and the location where it is first defined.
  2. Open or create a document at app.unidoc.top, and insert formulas where needed. If the formula input supports LaTeX syntax, type the commands directly. If the interface uses a different input method, select symbols from the symbol panel, and check the LaTeX source after export.
  3. Write norms in matched pairs using \lVert and \rVert. Do not mix single bars and double bars anywhere in the text, so that one place does not render correctly while another shows different line weights.
  4. Choose inclusion relations according to their definitions: use \subseteq when equality is allowed and \subsetneq for strict inclusion. Use \setminus for set difference, \in for membership, and \mathbb{R} for the real numbers.
  5. After finishing each section, check that the formulas render correctly, especially that subscripts and superscripts attach to the correct symbols. For example, \lVert x \rVert_2 and \lVert x_2 \rVert have completely different meanings.
  6. When you need a LaTeX source file, use the LaTeX export supported by UniDoc, then run it through a local compiler to confirm that the output matches the web rendering.
  7. When you need a Word version for your supervisor's comments, export a Word file and open each formula to confirm it is still editable. After the comments are addressed, make changes in the source file. Do not edit a formula in Word and forget to sync the source. Finally, export a PDF, proofread it page by page, and then submit.

Common Pitfalls

  • Ambiguity of the subset symbol. \subset is used by some journals to mean ⊆ and by others to mean ⊊. To find out which convention applies, check the submission template or author guidelines, or look at how recent papers in the journal write it. To handle it, keep the usage consistent throughout the document; if the template does not specify, state in one sentence at the first occurrence which meaning you adopt.
  • Unpaired norm bars. When copying and pasting, one of the vertical bars is easily lost. Local compilation then fails with an error, and on web pages it sometimes appears as a single isolated symbol. To find this, check whether the bars on both sides of each formula are paired. To fix it, retype them using \lVert and \rVert.
  • Subscript placed in the wrong position. Writing the 2-norm as \lVert x \rVert_2 is correct, but \lVert x_2 \rVert denotes something else. To find this, compare with the definition and check whether the subscript is inside or outside the bars. To fix it, revise according to the definition.
  • Inconsistent symbol fonts. Letters or symbols copied from a web page may be in a regular font, whereas variables in formulas are usually italic. To find this, compare by eye whether the variables match the style of the letters in the body text. To fix it, retype them using a formula template or LaTeX commands rather than pasting directly.
  • Layout changes after export. After moving to Word, the typesetting of some formulas may differ slightly from the source file. To find this, open and check each formula individually after exporting. To fix it, revise against the LaTeX source file and export again.

🎯 Which Approach Suits You?

If you are writing a purely theoretical proof manuscript

Prefer \lVert ... \rVert for norms, use \subseteq and \subsetneq to distinguish inclusion relations, and state each definition at its first occurrence so that readers can cross-reference easily.

If you ultimately need to submit LaTeX source files

Enter everything using LaTeX commands, then export and compile once with a local compiler. Don't rely only on the web preview, since compilation errors often expose symbol problems in advance.

If you need to show your advisor the Word version first

Finish writing in UniDoc, then export to Word and check whether the formulas are still editable. After your advisor adds comments, go back to the source file to make changes, so that the notation stays consistent across both versions.

If you are writing an engineering paper, you won't use many symbols

Remembering three or four commonly used commands is enough; look up other symbols in the template when needed, and there is no need to memorize the entire symbol table.

❓ Frequently Asked Questions (FAQ)

1. How do I type "contained in" in LaTeX?

If equality is allowed, use \subseteq; if strict containment is required, use \subsetneq. The exact meaning should follow the requirements of the journal you are submitting to.

2. How to type norm symbols in LaTeX: is there a difference between double vertical bars and \lVert?

The two look similar, but \lVert and \rVert automatically resize to fit their contents, which keeps things neater inside fractions or nested structures. Choose one style for the entire document and do not mix them.

3. How do I write set difference and complement?

Set difference is written with \setminus. The notation for complement varies by field. A common approach is to add a superscript c to the upper right of the set, or to state the meaning directly in the definition. Follow the convention of your own field.

4. What should I do if a formula shows garbled text or boxes after pasting?

This is usually caused by symbol fonts or commands that are not recognized. Re-enter the formula using standard LaTeX commands instead; this is more reliable than pasting directly.

5. Can formulas written in UniDoc be compiled directly?

If you export to LaTeX and it compiles successfully in a local compiler, you can use it as the source file. Normal rendering on the web does not mean the source code is error-free, so check both before delivery.

📝 Summary

Norms and inclusion symbols may look like minor details, but they directly affect the rigor and readability of a paper. Standardize your notation conventions first, enter them using standard commands, and then check the output once in your editor and once in a local compilation. This will avoid most rework.

Open OmniDoc to edit, convert, or translate your LaTeX documents

Updated 2026-11-29