{"id":3917,"date":"2022-05-17T05:50:37","date_gmt":"2022-05-17T05:50:37","guid":{"rendered":"https:\/\/www.scijournal.org\/articles\/?p=3917"},"modified":"2022-07-14T03:19:11","modified_gmt":"2022-07-13T19:19:11","slug":"subset-in-latex","status":"publish","type":"post","link":"https:\/\/www.scijournal.org\/articles\/subset-in-latex","title":{"rendered":"How to write the symbol for a subset in LaTeX?"},"content":{"rendered":"\n<p><em>This article aims to show you the simplest and easiest way to write the <\/em><em>symbol for a subset in LaTeX<\/em><em>.<\/em><\/p>\n\n\n\n<p>In mathematics specifically in set theory, subsets are common and they have their own symbols to represent them. Today you will learn how to write these symbols in your document.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Subsets symbols<\/strong><\/h2>\n\n\n\n<p>In mathematics, a set <strong>A <\/strong>is a <strong>subset<\/strong> of a set <strong>B<\/strong> if all elements of <strong>A<\/strong> are also elements of <strong>B<\/strong>, likewise, we also say <strong>B<\/strong> is a <strong>superset<\/strong> of <strong>A<\/strong>. The most common symbols for the definition of subset is a look-alike C with underlined and for&nbsp; superset a mirror C with the same underlined.&nbsp;<\/p>\n\n\n\n<p>For this tutorial, we will focus only on the subsets.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"336\" height=\"104\" src=\"https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image3-5.png\" alt=\"Subset In Latex : Subset and superset symbol\/sign examples\" class=\"wp-image-3919\" srcset=\"https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image3-5.png 336w, https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image3-5-300x93.png 300w\" sizes=\"(max-width: 336px) 100vw, 336px\" \/><figcaption>Subset and superset symbol\/sign examples<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>Subset in LaTeX<\/strong><\/h2>\n\n\n\n<p>To write these symbols in LaTeX we do not require extra packages for commands, it is already built-in. We will use the command \\<strong>subseteq<\/strong>, it does not need any value as an argument, just the plain command. For example&nbsp;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n\\documentclass{article}\n\\begin{document}\n\\begin{center}\n    $A \\subseteq B$ and $B \\subseteq C$\\\\\n    $\\therefore\\, A \\subseteq B$\n\\end{center}\n\\end{document}\n<\/pre><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"344\" height=\"113\" src=\"https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image2-4.png\" alt=\"Subset In Latex : Subset symbol\" class=\"wp-image-3920\" srcset=\"https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image2-4.png 344w, https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image2-4-300x99.png 300w\" sizes=\"(max-width: 344px) 100vw, 344px\" \/><figcaption>Subset symbol<\/figcaption><\/figure><\/div>\n\n\n<p>In case we want to denote the elements of a <strong>set A <\/strong>to be less than and not equal to those elements of a<strong> set B<\/strong>, we use the \\<strong>nsubseteq<\/strong> command, which is the same symbol for the subset except one backslash in the middle of it. For example<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n\\documentclass{article}\n\\begin{document}\n    $A$ is not a subset of $B \\rightarrow A \\nsubseteq B$\n\\end{document}\n<\/pre><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"529\" height=\"73\" src=\"https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image1-5.png\" alt=\"Subset In Latex \" class=\"wp-image-3921\" srcset=\"https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image1-5.png 529w, https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image1-5-300x41.png 300w\" sizes=\"(max-width: 529px) 100vw, 529px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>Proper Subset in LaTeX<\/strong><\/h2>\n\n\n\n<p>Given two sets, it is possible that these two sets <strong>A<\/strong> and <strong>B<\/strong> are not equal and at least one element of <strong>B<\/strong> is not an element of <strong>A<\/strong>, we say that <strong>A<\/strong> is a proper subset of <strong>B<\/strong>.&nbsp;<\/p>\n\n\n\n<p>The symbol is denoted by a look alike C with an underline but with a small backslash in the middle of the line. This time we have to use the amssymb package since LaTeX does not have this symbol in particular, the command would be \\<strong>subsetneq<\/strong>. For example<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n\\documentclass{article}\n\\usepackage{amssymb} % loading the package\n\\begin{document}\n    $A \\subsetneq F$ and $F \\subsetneq G$\\\\\n    $\\therefore\\, A \\subsetneq G$\n\\end{document}\n<\/pre><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"338\" height=\"110\" src=\"https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image4-3.png\" alt=\"Subset In Latex : Proper subset symbol\" class=\"wp-image-3922\" srcset=\"https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image4-3.png 338w, https:\/\/www.scijournal.org\/articles\/wp-content\/uploads\/2022\/05\/image4-3-300x98.png 300w\" sizes=\"(max-width: 338px) 100vw, 338px\" \/><figcaption>Proper subset symbol<\/figcaption><\/figure><\/div>\n\n\n<p>It is important to know that depending on the notation you are using in set theory these symbols may vary, since there are unclear conventions for set theory symbols. This could seem as not the answer you&#8217;re looking for, but sometimes the best answers are in peculiar places on the internet.&nbsp;<\/p>\n\n\n\n<p>Remember other user contributions in forums are there to be read by you someday. We recommended any trusted online community with a research effort and useful information such as Stack Exchange.<\/p>\n\n\n\n<p>In case you have other questions, you may want to look for other packages for different variations of these symbols, maybe you can even create a table with all the knowledge you find about them, but we personally recommended sticking with the amssymb package for the task.<\/p>\n\n\n\n<p>I hope this post was helpful, and as always keep writing in LaTeX.<\/p>\n\n\n\n<p><em>All the images were created with LaTeX by the author.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Further Reading<\/strong><\/h2>\n\n\n\n<p><strong>LaTex Tutorial<\/strong> <strong>on Symbols<\/strong><\/p>\n\n\n\n<ol><li><a href=\"https:\/\/www.scijournal.org\/articles\/cross-product-symbol-in-latex\">How To Create A Cross Product Symbol In LaTeX<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/hat-symbol-in-latex\">How to create a hat symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/prime-symbol-in-latex\">How to create a prime symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/absolute-value-symbol-in-latex\">How to create an absolute value symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/approximate-symbol-in-latex\">How to create an approximate symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/intersection-symbol-in-latex\">How to create an intersection symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/empty-set-symbol-in-latex\">How to create the empty set symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/degree-symbol-in-latex\">How to write a degree symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/dot-product-in-latex\">How to write a dot product in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/greater-than-symbol-in-latex\">How to Write a Greater Than Symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/norm-symbol-in-latex\">How to write a norm symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/plus-minus-symbol-in-latex\">How to write A Plus-Minus Symbol in LaTeX<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/proportional-to-symbol-in-latex\">How to write a proportional to symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/real-number-symbol-in-latex\">How to write a real number symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/tilde-symbol-in-latex\">How to write a tilde symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/union-symbol-in-latex\">How to write a union symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/vector-in-latex\">How to write a vector in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/infinity-symbol-in-latex\">How to write an infinity symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/bold-text-in-latex\">How to write bold text in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/dots-symbols-in-latex\">How To Write Dots Symbols In LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/arrow-symbols-in-latex\">How to write the arrow symbols in LaTeX<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/degree-celsius-symbol-in-latex\">How to write the Degree celsius symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/equal-or-not-equal-symbol-in-latex\">How to write the equal or not equal symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/euro-symbol-in-latex\">How to write the Euro symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/floor-symbol-in-latex\">How to write the floor symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/gradient-operator-symbol-in-latex\">How to write the gradient operator symbol in LaTeX<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/greater-than-or-equal-to-symbol-in-latex\">How To Write The Greater Than Or Equal To Symbol In LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/integer-number-symbol-in-latex\">How to write the integer number symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/less-than-symbol-in-latex\">How to write the less than symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/natural-numbers-symbol-in-latex\">How to write the Natural numbers symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/parallel-symbol-in-latex\">How to write the parallel symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/percent-symbol-in-latex\">How to write the percent symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/square-root-symbol-in-latex\">How to write the square root symbol in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/therefore-in-latex\">How to write the symbol for therefore in LaTeX?<\/a><\/li><li><a href=\"https:\/\/www.scijournal.org\/articles\/mathbb-command-in-latex\">How to write with the mathbb in LaTeX?<\/a><\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>This article aims to show you the simplest and easiest way to write the symbol for a subset in LaTeX. In mathematics specifically in set theory, subsets are common and they have their own symbols to represent them. Today you will learn how to write these symbols in your document. Subsets symbols In mathematics, a &#8230; <a title=\"How to write the symbol for a subset in LaTeX?\" class=\"read-more\" href=\"https:\/\/www.scijournal.org\/articles\/subset-in-latex\" aria-label=\"Read more about How to write the symbol for a subset in LaTeX?\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":3918,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7],"tags":[52],"_links":{"self":[{"href":"https:\/\/www.scijournal.org\/articles\/wp-json\/wp\/v2\/posts\/3917"}],"collection":[{"href":"https:\/\/www.scijournal.org\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scijournal.org\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scijournal.org\/articles\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scijournal.org\/articles\/wp-json\/wp\/v2\/comments?post=3917"}],"version-history":[{"count":2,"href":"https:\/\/www.scijournal.org\/articles\/wp-json\/wp\/v2\/posts\/3917\/revisions"}],"predecessor-version":[{"id":5640,"href":"https:\/\/www.scijournal.org\/articles\/wp-json\/wp\/v2\/posts\/3917\/revisions\/5640"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scijournal.org\/articles\/wp-json\/wp\/v2\/media\/3918"}],"wp:attachment":[{"href":"https:\/\/www.scijournal.org\/articles\/wp-json\/wp\/v2\/media?parent=3917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scijournal.org\/articles\/wp-json\/wp\/v2\/categories?post=3917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scijournal.org\/articles\/wp-json\/wp\/v2\/tags?post=3917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}