ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yura Zotov <yznews@hotbox.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] [Offtopic] TeX question
Date: Tue Dec 25 10:13:02 2001
Message-ID: <20011225071621.GA4553@home-pool4-73.com2com.ru> (raw)
In-Reply-To: <Pine.LNX.4.40.0112250941390.550-100000@tony.localnet>

On Tue, Dec 25, 2001 at 09:50:35AM +0300, Antonio wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Mon, 24 Dec 2001, Lenya L. Khachaturov wrote:
> 
> > Здравствуйте,
> >
> > Этот вопрос, конечно, не здесь надо задавать, но все же...
> >
> > \begin{align}
> > test1 % будет 1
> > test2 \nonumber % здесь номер не хотим
> > test3 % будет 2
> > \end{align}
> >
> > \begin{align}
> > test4
> > \end{align}
> >
> > А теперь, собственно, вопрос :-) Почему test4 имеет номер
> > (4) а не (1)? Меня такая сквозная нумерация не очень-то
> > устраивает. Более того, если второе окружение -- equation, а
> > не align test4 все равно нумеруется (4), даже если они
> > находятся в разных section! Мне почему-то кажется что так
> > быть не должно, а если и должно, то мне так не нужно.
> > Помогите пожалуйста начинающему TeX'нику!
> 
> Можно в преамбуле переопределить формат нумерации формул.
> Например, чтобы формулы нумеровались типа X.Y, где X -- номер
> section, Y -- порядковый номер формулы в section, говорим так:
> 
> \renewcommand{\theequation}{\arabic{section}.\arabic{equation}}
>

А счетчик уравнений разве не надо для этого тоже переопределить?
Скажем так:

\@addtoreset{equation}{section}

--
Юрий А. Зотов



  reply	other threads:[~2001-12-25 10:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-24 21:14 Lenya L. Khachaturov
2001-12-24 23:58 ` Vitaly Lipatov
2001-12-25  9:42 ` Antonio
2001-12-25 10:13   ` Yura Zotov [this message]
2001-12-25 19:40   ` Lenya L. Khachaturov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011225071621.GA4553@home-pool4-73.com2com.ru \
    --to=yznews@hotbox.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git