Math & Science ⇒ Unable to use \subsetneq
Unable to use \subsetneq
Hello,
I'm using MikTex 2.7 (complete version) with TexnicCenter 1 beta 7.50. I'm unable to use the \subsetneq command - the output dvi file doesn't produce the symbol. Is there any package I need to install or enable? How do I do that? I have the full Miktex (about 1.2 GB!) so I don't think that's the issue.
Thanks,
Jose
I'm using MikTex 2.7 (complete version) with TexnicCenter 1 beta 7.50. I'm unable to use the \subsetneq command - the output dvi file doesn't produce the symbol. Is there any package I need to install or enable? How do I do that? I have the full Miktex (about 1.2 GB!) so I don't think that's the issue.
Thanks,
Jose
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Unable to use \subsetneq
Hi Jose,
welcome to the board!
Just load the amssymb package:
Stefan
welcome to the board!
Just load the amssymb package:
Code: Select all
\usepackage{amssymb}
LaTeX.org admin
Re: Unable to use \subsetneq
Thanks, Stefan! That was easy.
Unable to use \subsetneq
I have a similar problem with XeLaTeX
In document section I have some text and some equations (works fine)
when I add the line
Thank you for any ideas
Code: Select all
\documentclass[a4paper,oneside,titlepage,12pt]{article}
\usepackage[cm-default]{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xgreek}
\setmainfont[Mapping=tex-text]{DejaVu Sans}
when I add the line
$A \subsetneq B$
I get an error message (\subseteq
produces no error)Thank you for any ideas
Last edited by cgnieder on Sat Nov 02, 2013 4:43 pm, edited 1 time in total.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Unable to use \subsetneq
Code: Select all
\documentclass[a4paper,oneside,titlepage,12pt]{article}
\usepackage[cm-default]{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xgreek}
\setmainfont[Mapping=tex-text]{DejaVu Sans}
\begin{document}
$A \subsetneq B$
\end{document}
Are your packages up-to-date? Is your distribution up-to-date?
Maybe try to make a minimal working example. This helps to find the real error.
Best regards
Johannes
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Unable to use \subsetneq
This is a basic version of text.
Here is the error I get in basic version of text.
The first equation is displayed right and the second as CD with no symbol in between.
Code: Select all
\documentclass[a4paper,oneside,titlepage,12pt]{article}
\usepackage[cm-default,no-math]{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{amsmath}
\usepackage{xgreek}
\setmainfont[Mapping=tex-text]{DejaVu Sans}
\parindent=0in
\begin{document}
$A \subseteq B$ \\
\\
$C \subsetneq D$
\end{document}
Code: Select all
! Undefined control sequence.
l.16 $C \subsetneq
D$
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Underfull \hbox (badness 10000) in paragraph at lines 14--17
[]
[1
] (./basic.aux) )
Last edited by localghost on Sat Nov 02, 2013 7:04 pm, edited 2 times in total.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Unable to use \subsetneq
Just for information to other users for awareness of possibly already existing solutions. The question has also been posted to {TeX} SX. Please read what our administrator thinks about that.
Such kind of x-posting without notification represents a direct violation of our rules and has to be prevented absolutely in future questions.Board Rules wrote:A crossposting is always contra-productive. But there is nothing really against it as long as it is mentioned. This means that a direct link has to be added. So other users who want to help are preserved from double efforts and waste of time.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10