1

I want label equation as 1.1, 1.2. etc However, what I got is -1.2, -1.3. etc.

Is there any parameter control this style? The file for example like this:

\documentclass[12pt, reqno, screen]{amsart}
%\usepackage[margin=1in]{geometry}
\usepackage{verbatim}
\usepackage{amsmath}
\usepackage{dsfont}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{aliascnt}
\usepackage{graphicx}
\usepackage{mathrsfs}
\usepackage{enumerate}
\usepackage[bookmarks=false,pdfstartview=FitH, pdfborder={0 0 0}, colorlinks=true,citecolor=blue, linkcolor=blue]{hyperref}
\begin{document}
\title{test}
\maketitle
\begin{equation}\label{eq3.3}
\gamma(x)\le \gamma(y).
\end{equation}
\end{document}

EDIT: I just noticed the difference between my code and the answer below. I am using an envirment with out 'section', so that is why the TeX generated the symbol -1.1. Adding section solves the problem.

  • 3
    welcome to tex.sx. the information you've provided, while interesting, doesn't allow us to experiment. please complete this file by adding an example between \begin{document}...\end{document} that shows the problem when compiled. – barbara beeton Dec 7 '15 at 14:19
  • So you mean that it currently displays E=mc² (-1.2) instead of E=mc² (1.2)? – Karlo Dec 7 '15 at 14:20
  • 1
    Welcome to TeX.SE. I'm afraid your code snippet does not give rise, by itself, to the unwanted behavior you describe, viz., the extra - symbols ahead of the equation numbers. Please create a compilable example that generates the unwanted behavior. – Mico Dec 7 '15 at 14:21
  • 1
    @MWijnand, yes, exactly – user60933 Dec 7 '15 at 14:32
  • Hi. Your updated code still doesn't generate the problem behavior you've described, at least not when compiled with pdfLaTeX from the TeXlive2015 distribution. – Mico Dec 7 '15 at 14:34
1

I couldn't reproduce OP's problem. This works fine for me: (copied redundant headers from original)

\documentclass[12pt, reqno, screen]{amsart}
%\usepackage[margin=1in]{geometry}
\usepackage{verbatim}
\usepackage{amsmath}
\usepackage{dsfont}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{aliascnt}
\usepackage{graphicx}
\usepackage{mathrsfs}
\usepackage{enumerate}
\usepackage[bookmarks=false,pdfstartview=FitH, pdfborder={0 0 0}, colorlinks=true,citecolor=blue, linkcolor=blue]{hyperref}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\begin{document}
\title{test}
\maketitle

\section{Hmm}

\begin{equation}\label{eq3.3}
\gamma(x)\le \gamma(y).
\end{equation}
\end{document}
  • You may want to indicate more clearly that your posting isn't so much a solution to the problem the OP claims having as a demonstration that the OP's code doesn't actually generate the problem in the first place. – Mico Dec 7 '15 at 15:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.