Search found 3 matches

by bcpn
Fri Sep 12, 2014 11:14 am
Forum: Math & Science
Topic: How to define a new counter in gather environment
Replies: 4
Views: 8899

Re: How to define a new counter in gather environment

Thank you very much, that should do the work!
by bcpn
Tue Sep 09, 2014 6:02 pm
Forum: Math & Science
Topic: How to define a new counter in gather environment
Replies: 4
Views: 8899

How to define a new counter in gather environment

Yes of course! Here is a compilable code of what I would like to obtain..
Thanks! :D


\documentclass[a4paper1]{article}
\usepackage[fleqn]{amsmath}
\usepackage[english]{babel}
\usepackage{environ}

%pour les equations de linearisation
\newcounter{newcounter}
\setcounter{newcounter}{0 ...
by bcpn
Fri Sep 05, 2014 4:30 pm
Forum: Math & Science
Topic: How to define a new counter in gather environment
Replies: 4
Views: 8899

How to define a new counter in gather environment

Hi everyone!

I have been trying to create a new counter to clearly identify a specific subset of equations. I use the following code to overwrite the equation environment:

\newcounter{newcounter}
\setcounter{newcounter}{0}
\newenvironment{NEWequation}{
\addtocounter{equation}{-1}
\refstepcounter ...