Math & Science ⇒ Unable to use \subsetneq
Unable to use \subsetneq
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Unable to use \subsetneq
welcome to the board!
Just load the amssymb package:
Code: Select all
\usepackage{amssymb}
Re: Unable to use \subsetneq
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}
when I add the line
$A \subsetneq B$
I get an error message (\subseteq
produces no error)Thank you for any ideas
- 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
Unable to use \subsetneq
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) )
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Unable to use \subsetneq
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.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10