multiple running examples
up vote
0
down vote
favorite
I need to be able to have several running examples, appearing over multiple sections and whose discussion is progressed as relevant throughout the paper, in an article intended for publication.
If I use, repeatedly,
newtheorem{ex}[theorem]{Example}
begin{ex}label{runningEx1}
...
end{ex}
...
begin{ex}label{runningEx1}
...
end{ex}
I get a new number in the .pdf and a multiply defined label.
There does not seem to be a way of indicating that I want the previous number.
I would be happy to type in a "(continued)" myself.
If I use the thmtools package and the continues option,
usepackage{thmtools}
begin{ex}[continues=MyExmplelabel]
..
end{ex}
I do get the correct former number (yeah!!), but I also get appearing in the pdf file, "(continuing from p.)"
which I really don't want, as this not something that can appear in a final journal version, where the page numbers relate to articles outside of my paper.
I just want "(continued)."
If I don't use the begin{ex}...end{ex} construction, but simply use
noindenttextbf{Example ref{RunEgTrans}} (continued).quad
then I'm left with trying to get the correct before and after spacing, the correct font, and so on (of course).
Finally, there is really no way to keep resetting counters and keep any kind of flexibility, I might as well give up as do that.
counters examples
bumped to the homepage by Community♦ 19 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
up vote
0
down vote
favorite
I need to be able to have several running examples, appearing over multiple sections and whose discussion is progressed as relevant throughout the paper, in an article intended for publication.
If I use, repeatedly,
newtheorem{ex}[theorem]{Example}
begin{ex}label{runningEx1}
...
end{ex}
...
begin{ex}label{runningEx1}
...
end{ex}
I get a new number in the .pdf and a multiply defined label.
There does not seem to be a way of indicating that I want the previous number.
I would be happy to type in a "(continued)" myself.
If I use the thmtools package and the continues option,
usepackage{thmtools}
begin{ex}[continues=MyExmplelabel]
..
end{ex}
I do get the correct former number (yeah!!), but I also get appearing in the pdf file, "(continuing from p.)"
which I really don't want, as this not something that can appear in a final journal version, where the page numbers relate to articles outside of my paper.
I just want "(continued)."
If I don't use the begin{ex}...end{ex} construction, but simply use
noindenttextbf{Example ref{RunEgTrans}} (continued).quad
then I'm left with trying to get the correct before and after spacing, the correct font, and so on (of course).
Finally, there is really no way to keep resetting counters and keep any kind of flexibility, I might as well give up as do that.
counters examples
bumped to the homepage by Community♦ 19 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
welcome to tex.sx. would you consider numbering your examples "1a", `1b", etc.? i can't work this out now, but might be able to later this afternoon.
– barbara beeton
Jan 28 at 14:47
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to be able to have several running examples, appearing over multiple sections and whose discussion is progressed as relevant throughout the paper, in an article intended for publication.
If I use, repeatedly,
newtheorem{ex}[theorem]{Example}
begin{ex}label{runningEx1}
...
end{ex}
...
begin{ex}label{runningEx1}
...
end{ex}
I get a new number in the .pdf and a multiply defined label.
There does not seem to be a way of indicating that I want the previous number.
I would be happy to type in a "(continued)" myself.
If I use the thmtools package and the continues option,
usepackage{thmtools}
begin{ex}[continues=MyExmplelabel]
..
end{ex}
I do get the correct former number (yeah!!), but I also get appearing in the pdf file, "(continuing from p.)"
which I really don't want, as this not something that can appear in a final journal version, where the page numbers relate to articles outside of my paper.
I just want "(continued)."
If I don't use the begin{ex}...end{ex} construction, but simply use
noindenttextbf{Example ref{RunEgTrans}} (continued).quad
then I'm left with trying to get the correct before and after spacing, the correct font, and so on (of course).
Finally, there is really no way to keep resetting counters and keep any kind of flexibility, I might as well give up as do that.
counters examples
I need to be able to have several running examples, appearing over multiple sections and whose discussion is progressed as relevant throughout the paper, in an article intended for publication.
If I use, repeatedly,
newtheorem{ex}[theorem]{Example}
begin{ex}label{runningEx1}
...
end{ex}
...
begin{ex}label{runningEx1}
...
end{ex}
I get a new number in the .pdf and a multiply defined label.
There does not seem to be a way of indicating that I want the previous number.
I would be happy to type in a "(continued)" myself.
If I use the thmtools package and the continues option,
usepackage{thmtools}
begin{ex}[continues=MyExmplelabel]
..
end{ex}
I do get the correct former number (yeah!!), but I also get appearing in the pdf file, "(continuing from p.)"
which I really don't want, as this not something that can appear in a final journal version, where the page numbers relate to articles outside of my paper.
I just want "(continued)."
If I don't use the begin{ex}...end{ex} construction, but simply use
noindenttextbf{Example ref{RunEgTrans}} (continued).quad
then I'm left with trying to get the correct before and after spacing, the correct font, and so on (of course).
Finally, there is really no way to keep resetting counters and keep any kind of flexibility, I might as well give up as do that.
counters examples
counters examples
edited Jan 28 at 14:40
TeXnician
23.5k62984
23.5k62984
asked Jan 28 at 14:36
Eliz M.
113
113
bumped to the homepage by Community♦ 19 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 19 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
welcome to tex.sx. would you consider numbering your examples "1a", `1b", etc.? i can't work this out now, but might be able to later this afternoon.
– barbara beeton
Jan 28 at 14:47
add a comment |
welcome to tex.sx. would you consider numbering your examples "1a", `1b", etc.? i can't work this out now, but might be able to later this afternoon.
– barbara beeton
Jan 28 at 14:47
welcome to tex.sx. would you consider numbering your examples "1a", `1b", etc.? i can't work this out now, but might be able to later this afternoon.
– barbara beeton
Jan 28 at 14:47
welcome to tex.sx. would you consider numbering your examples "1a", `1b", etc.? i can't work this out now, but might be able to later this afternoon.
– barbara beeton
Jan 28 at 14:47
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
So as usual just after I post something, I think of an answer.
I have now
usepackage{amsthm}
newtheoremstyle{nodot}{}{}{}{}{}{}{ }{} %%the space is important here
theoremstyle{nodot}
newtheorem*{ex*}{Example}
which assigns no number at all, and replaces the full stop with a space so that I don't get a dot between the word Example and the number I then insert manually, via:
begin{ex*}ref{EarlierLabel} (continued).
...
end{ex*}
Ah well.
1
This might be an answer to your problem but is a fragment only. No one else but you will be able to get a real working code of it.
– Christian Hupfer
Jan 28 at 17:58
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
So as usual just after I post something, I think of an answer.
I have now
usepackage{amsthm}
newtheoremstyle{nodot}{}{}{}{}{}{}{ }{} %%the space is important here
theoremstyle{nodot}
newtheorem*{ex*}{Example}
which assigns no number at all, and replaces the full stop with a space so that I don't get a dot between the word Example and the number I then insert manually, via:
begin{ex*}ref{EarlierLabel} (continued).
...
end{ex*}
Ah well.
1
This might be an answer to your problem but is a fragment only. No one else but you will be able to get a real working code of it.
– Christian Hupfer
Jan 28 at 17:58
add a comment |
up vote
0
down vote
So as usual just after I post something, I think of an answer.
I have now
usepackage{amsthm}
newtheoremstyle{nodot}{}{}{}{}{}{}{ }{} %%the space is important here
theoremstyle{nodot}
newtheorem*{ex*}{Example}
which assigns no number at all, and replaces the full stop with a space so that I don't get a dot between the word Example and the number I then insert manually, via:
begin{ex*}ref{EarlierLabel} (continued).
...
end{ex*}
Ah well.
1
This might be an answer to your problem but is a fragment only. No one else but you will be able to get a real working code of it.
– Christian Hupfer
Jan 28 at 17:58
add a comment |
up vote
0
down vote
up vote
0
down vote
So as usual just after I post something, I think of an answer.
I have now
usepackage{amsthm}
newtheoremstyle{nodot}{}{}{}{}{}{}{ }{} %%the space is important here
theoremstyle{nodot}
newtheorem*{ex*}{Example}
which assigns no number at all, and replaces the full stop with a space so that I don't get a dot between the word Example and the number I then insert manually, via:
begin{ex*}ref{EarlierLabel} (continued).
...
end{ex*}
Ah well.
So as usual just after I post something, I think of an answer.
I have now
usepackage{amsthm}
newtheoremstyle{nodot}{}{}{}{}{}{}{ }{} %%the space is important here
theoremstyle{nodot}
newtheorem*{ex*}{Example}
which assigns no number at all, and replaces the full stop with a space so that I don't get a dot between the word Example and the number I then insert manually, via:
begin{ex*}ref{EarlierLabel} (continued).
...
end{ex*}
Ah well.
edited Jan 29 at 2:17
Kurt
34k846156
34k846156
answered Jan 28 at 15:26
Eliz M.
113
113
1
This might be an answer to your problem but is a fragment only. No one else but you will be able to get a real working code of it.
– Christian Hupfer
Jan 28 at 17:58
add a comment |
1
This might be an answer to your problem but is a fragment only. No one else but you will be able to get a real working code of it.
– Christian Hupfer
Jan 28 at 17:58
1
1
This might be an answer to your problem but is a fragment only. No one else but you will be able to get a real working code of it.
– Christian Hupfer
Jan 28 at 17:58
This might be an answer to your problem but is a fragment only. No one else but you will be able to get a real working code of it.
– Christian Hupfer
Jan 28 at 17:58
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f412548%2fmultiple-running-examples%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
welcome to tex.sx. would you consider numbering your examples "1a", `1b", etc.? i can't work this out now, but might be able to later this afternoon.
– barbara beeton
Jan 28 at 14:47