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.










share|improve this question
















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

















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.










share|improve this question
















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















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.










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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




















  • 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












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.






share|improve this answer



















  • 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











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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

























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.






share|improve this answer



















  • 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















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.






share|improve this answer



















  • 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













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.






share|improve this answer














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.







share|improve this answer














share|improve this answer



share|improve this answer








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














  • 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


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

サソリ

広島県道265号伴広島線

Setup Asymptote in Texstudio