Skip to main content
Included code
Source Link

I have many equations in a document. I used \ [ \ ] for start and end of a math equation. I labeled the equation with \label{eq:1}, referenced with ~\eqref{eq:1}. It was showing just the section number. Can't we label and reference equations defined with \ [ and \ ] and auto numbering enabled ? Is using 'equation' environment the only way ? I needed equation to be numbered by (1) and (1) be displayed at \eqref{eq:1}. Here's my code and output

\[\documentclass[a4paper,12pt]{report} \usepackage{amsfonts} % Math package \usepackage{amsmath} % The graphicx package allows you to import JPG and PDF images \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{verbose,a4paper,tmargin=15mm,bmargin=30mm,lmargin=20mm,rmargin=20mm} \usepackage{graphics} \usepackage{setspace} \usepackage{cite} \usepackage{natbib} \usepackage{lettrine} \setcounter{secnumdepth}{5} \setcounter{tocdepth}{5} \onehalfspacing \makeatletter \newcommand{\LyX} {L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\spacefactor1000} \makeatother \begin{document} \chapter{literature} \section{Section 1} \subsection{subsection 1} \begin{equation} V^{m\times n}=G^{m\times3p}P^{3p\times n} \]   \label{eq:1} \end{equation}  Where '$m$'`$m$' representing number of channels, '$n$'`$n$' time samples   considered, '$p$'`$p$' number of dipholesdipoles considered. ~\eqref{eq:1}. \end{document} 

enter image description here

I have many equations in a document. I used \ [ \ ] for start and end of a math equation. I labeled the equation with \label{eq:1}, referenced with ~\eqref{eq:1}. It was showing just the section number. Can't we label and reference equations defined with \ [ and \ ] and auto numbering enabled ? Is using 'equation' environment the only way ? I needed equation to be numbered by (1) and (1) be displayed at \eqref{eq:1}. Here's my code and output

\[ V^{m\times n}=G^{m\times3p}P^{3p\times n} \] \label{eq:1} Where '$m$' representing number of channels, '$n$' time samples  considered, '$p$' number of dipholes considered. ~\eqref{eq:1} 

enter image description here

I have many equations in a document. I used \ [ \ ] for start and end of a math equation. I labeled the equation with \label{eq:1}, referenced with ~\eqref{eq:1}. It was showing just the section number. Can't we label and reference equations defined with \ [ and \ ] and auto numbering enabled ? Is using 'equation' environment the only way ? I needed equation to be numbered by (1) and (1) be displayed at \eqref{eq:1}. Here's my code and output

\documentclass[a4paper,12pt]{report} \usepackage{amsfonts} % Math package \usepackage{amsmath} % The graphicx package allows you to import JPG and PDF images \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{verbose,a4paper,tmargin=15mm,bmargin=30mm,lmargin=20mm,rmargin=20mm} \usepackage{graphics} \usepackage{setspace} \usepackage{cite} \usepackage{natbib} \usepackage{lettrine} \setcounter{secnumdepth}{5} \setcounter{tocdepth}{5} \onehalfspacing \makeatletter \newcommand{\LyX} {L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\spacefactor1000} \makeatother \begin{document} \chapter{literature} \section{Section 1} \subsection{subsection 1} \begin{equation} V^{m\times n}=G^{m\times3p}P^{3p\times n}  \label{eq:1} \end{equation}  Where `$m$' representing number of channels, `$n$' time samples considered, `$p$' number of dipoles considered. ~\eqref{eq:1}. \end{document} 

enter image description here

Changed picture of code into code and made code code.
Source Link
Stefan Pinnow
  • 30.2k
  • 39
  • 63
  • 122

I have many equations in a document. I used \ [ \ ] for start and end of a math equation. I labelledlabeled the equation with \label{eq:1}, referenced with ~\eqref{eq:1}. It was showing just the section number. Can't we label and reference equations defined with \ [ and \ ] and auto numbering enabled ? Is using 'equation' environment the only way ? I needed equation to be numbered by (1) and (1) be displayed at \eqref{eq:1}. Here's my code and output

\[ V^{m\times n}=G^{m\times3p}P^{3p\times n} \] \label{eq:1} Where '$m$' representing number of channels, '$n$' time samples considered, '$p$' number of dipholes considered. ~\eqref{eq:1} 

enter image description here

I have many equations in a document. I used \ [ \ ] for start and end of a math equation. I labelled the equation with \label{eq:1}, referenced with ~\eqref{eq:1}. It was showing just the section number. Can't we label and reference equations defined with \ [ and \ ] and auto numbering enabled ? Is using 'equation' environment the only way ? I needed equation to be numbered by (1) and (1) be displayed at \eqref{eq:1}. Here's my code and output

\[ V^{m\times n}=G^{m\times3p}P^{3p\times n} \] \label{eq:1} Where '$m$' representing number of channels, '$n$' time samples considered, '$p$' number of dipholes considered. ~\eqref{eq:1} 

enter image description here

I have many equations in a document. I used \ [ \ ] for start and end of a math equation. I labeled the equation with \label{eq:1}, referenced with ~\eqref{eq:1}. It was showing just the section number. Can't we label and reference equations defined with \ [ and \ ] and auto numbering enabled ? Is using 'equation' environment the only way ? I needed equation to be numbered by (1) and (1) be displayed at \eqref{eq:1}. Here's my code and output

\[ V^{m\times n}=G^{m\times3p}P^{3p\times n} \] \label{eq:1} Where '$m$' representing number of channels, '$n$' time samples considered, '$p$' number of dipholes considered. ~\eqref{eq:1} 

enter image description here

Changed picture of code into code and made code code.
Source Link

I have many equations in a document. I used \ [ \ ]\ [ \ ] for start and end of a math equation. I labelled the equation with \label{eq:1}\label{eq:1}, referenced with ~\eqref{eq:1}~\eqref{eq:1}. It was showing just the section number. Can't we label and reference equations defined with \ [\ [ and \ ]\ ] and autonumberingauto numbering enabled ? Is using 'equation' environment the only way ? I needed equation to be numbered by (1) and (1) be displayed at \eqref{eq:1}\eqref{eq:1}. Here's my code and output enter image description here

\[ V^{m\times n}=G^{m\times3p}P^{3p\times n} \] \label{eq:1} Where '$m$' representing number of channels, '$n$' time samples considered, '$p$' number of dipholes considered. ~\eqref{eq:1} 

enter image description here

I have many equations in a document. I used \ [ \ ] for start and end of a math equation. I labelled the equation with \label{eq:1}, referenced with ~\eqref{eq:1}. It was showing just the section number. Can't we label and reference equations defined with \ [ and \ ] and autonumbering enabled ? Is using 'equation' environment the only way ? I needed equation to be numbered by (1) and (1) be displayed at \eqref{eq:1}. Here's my code and output enter image description here enter image description here

I have many equations in a document. I used \ [ \ ] for start and end of a math equation. I labelled the equation with \label{eq:1}, referenced with ~\eqref{eq:1}. It was showing just the section number. Can't we label and reference equations defined with \ [ and \ ] and auto numbering enabled ? Is using 'equation' environment the only way ? I needed equation to be numbered by (1) and (1) be displayed at \eqref{eq:1}. Here's my code and output

\[ V^{m\times n}=G^{m\times3p}P^{3p\times n} \] \label{eq:1} Where '$m$' representing number of channels, '$n$' time samples considered, '$p$' number of dipholes considered. ~\eqref{eq:1} 

enter image description here

added 105 characters in body
Source Link
Loading
Source Link
Loading