Search found 8 matches

by Hanneke
Tue Feb 09, 2010 9:43 am
Forum: Text Formatting
Topic: Numbering theorem within chapter
Replies: 15
Views: 14801

Re: Setcounter

Thanks, next time, I will post that directly.
by Hanneke
Sun Feb 07, 2010 11:28 pm
Forum: Text Formatting
Topic: Numbering theorem within chapter
Replies: 15
Views: 14801

Numbering theorem within chapter

Not sure if this is what you mean by an MWE, but however; [...]
What do you think was the link for?

I read it, at least a bit. But I was expecting that an MWE would be made with a program or whatever. Since I couldn't find that on the page you directed my too, I thought that wouldn't be it, but ...
by Hanneke
Sun Feb 07, 2010 11:25 pm
Forum: Text Formatting
Topic: Numbering theorem within chapter
Replies: 15
Views: 14801

Re: Setcounter

Ah, I didn't know I had to change the section as well, but actually it's quite logic. Thanks!

I've changed the enumerate, but the a4wide is a bit different from a4paper, sometimes I prefer a4wide, so why wouldn't I keep it? Most of my documents are for private use only.
by Hanneke
Sun Feb 07, 2010 10:46 pm
Forum: Text Formatting
Topic: Numbering theorem within chapter
Replies: 15
Views: 14801

Numbering theorem within chapter

Not sure if this is what you mean by an MWE, but however;

This code:
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath, amsfonts, amssymb, amsthm, amsrefs}
\usepackage[dutch]{babel}
\usepackage{graphicx}
\pagestyle{plain}
\usepackage{enumerate}
%\usepackage{a4wide}
\theoremstyle{plain ...
by Hanneke
Sun Feb 07, 2010 10:19 pm
Forum: Text Formatting
Topic: Numbering theorem within chapter
Replies: 15
Views: 14801

Re: Setcounter

Doesn't say much more than the indexpage. ;) But 'enumerate' in the description could've lead me to this forum. Thanks anyway!
by Hanneke
Sun Feb 07, 2010 10:10 pm
Forum: Text Formatting
Topic: Numbering theorem within chapter
Replies: 15
Views: 14801

Re: Setcounter

It works.
Last thing; how do I use setcounter with this? Again, I used \setcounter{opgave}{3.4}, now at the top of my document is .4 and the counting starts with 0.4. How to fix this?
by Hanneke
Sun Feb 07, 2010 10:01 pm
Forum: Text Formatting
Topic: Numbering theorem within chapter
Replies: 15
Views: 14801

Re: Setcounter

Looks like I can't define this environment that way.
! LaTeX Error: No counter 'chapter' defined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.9 \newtheorem{opgave}{Opgave}[chapter]


My documentclass is article (\documentclass[a4paper,12pt ...
by Hanneke
Sun Feb 07, 2010 9:39 pm
Forum: Text Formatting
Topic: Numbering theorem within chapter
Replies: 15
Views: 14801

Numbering theorem within chapter

I was not sure where to start this topic. I hope I chose the correct forum.

My question:
I've got this to number the excercises \newtheorem{opgave}{Opgave} . Now I would likte to have it not normally numbered like 1, 2 or 3, but 1.1, 1.2, 1.3 etc. I tried with \setcounter{opgave}{3.4} , but that ...