How to set continue counter from another counter (latex)? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to set a counter to double the value of another counter?How can I explicitly ask a label command to refer to a given counter?How to set a simple counter in a certain chapterStarting counter from 0Reset a counter after another one is increasedSubtract a counter from another in plain texCounter Doesn't Start from Set ValueSet counter to a value written in another fileUsing different counter for Index (makeidx)Reference to a counter

How to react to hostile behavior from a senior developer?

What is the meaning of the simile “quick as silk”?

Why is Nikon 1.4g better when Nikon 1.8g is sharper?

How would a mousetrap for use in space work?

Is there hard evidence that the grant peer review system performs significantly better than random?

What is a fractional matching?

How to write dimensions below a matrix

What are the out-of-universe reasons for the references to Toby Maguire-era Spider-Man in Into the Spider-Verse?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

Why are the trig functions versine, haversine, exsecant, etc, rarely used in modern mathematics?

Run Powershell Script From Agent As Administrator

Disembodied hand growing fangs

Drawing without replacement: why the order of draw is irrelevant?

What is the appropriate index architecture when forced to implement IsDeleted (soft deletes)?

Benefits of using sObject.clone versus creating a new record

An adverb for when you're not exaggerating

How to tell that you are a giant?

QGIS: how to apply Line Pattern Fill to LineStrings?

Why aren't air breathing engines used as small first stages?

Most bit efficient text communication method?

How do I find out the mythology and history of my Fortress?

Project Euler #1 in C++

How could we fake a moon landing now?

How to convince students of the implication truth values?



How to set continue counter from another counter (latex)?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to set a counter to double the value of another counter?How can I explicitly ask a label command to refer to a given counter?How to set a simple counter in a certain chapterStarting counter from 0Reset a counter after another one is increasedSubtract a counter from another in plain texCounter Doesn't Start from Set ValueSet counter to a value written in another fileUsing different counter for Index (makeidx)Reference to a counter










3















I want to set a counter (auto) like:



newcounterquestion
newcounterexample


Question 1.
Question 2.
Example 3.
Example 4.
Question 5.
Question 6.



Can you help me. Thankyou so much.










share|improve this question

















  • 1





    Welcome to TeX.SE!

    – Kurt
    Apr 3 at 8:10















3















I want to set a counter (auto) like:



newcounterquestion
newcounterexample


Question 1.
Question 2.
Example 3.
Example 4.
Question 5.
Question 6.



Can you help me. Thankyou so much.










share|improve this question

















  • 1





    Welcome to TeX.SE!

    – Kurt
    Apr 3 at 8:10













3












3








3








I want to set a counter (auto) like:



newcounterquestion
newcounterexample


Question 1.
Question 2.
Example 3.
Example 4.
Question 5.
Question 6.



Can you help me. Thankyou so much.










share|improve this question














I want to set a counter (auto) like:



newcounterquestion
newcounterexample


Question 1.
Question 2.
Example 3.
Example 4.
Question 5.
Question 6.



Can you help me. Thankyou so much.







counters






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 3 at 8:02









Đặc Vụ X NguyễnĐặc Vụ X Nguyễn

182




182







  • 1





    Welcome to TeX.SE!

    – Kurt
    Apr 3 at 8:10












  • 1





    Welcome to TeX.SE!

    – Kurt
    Apr 3 at 8:10







1




1





Welcome to TeX.SE!

– Kurt
Apr 3 at 8:10





Welcome to TeX.SE!

– Kurt
Apr 3 at 8:10










1 Answer
1






active

oldest

votes


















4














Welcome Đặc Vụ :))) Although using question and example from amsthm is the best way, one can always define a new counter and use it.



documentclassarticle
setlengthparskip1ex
newcounteryourcounter
newcommandyourquestion[1]%
textbfstepcounteryourcounterQuestion arabicyourcounter: textit#1par
newcommandyourexample[1]%
textbfstepcounteryourcounterExample arabicyourcounter: textit#1par
begindocument
yourquestionHow many continents are there?
yourexampleThis example is for no purposes.
yourexampleAnd this is another example.
yourquestionThis is another question.
yourexampleHow about the numbering of this example?
yourquestionLorem ipsum dolor sit amet, consectetur adipiscing elit. In eget viverra eros. Donec commodo dapibus dictum. Etiam non ex placerat, fermentum ex sed, suscipit sem. Praesent facilisis vel quam non fringilla. Morbi sagittis tortor sed varius luctus. Curabitur ullamcorper ante scelerisque quam commodo, quis imperdiet sapien maximus. Phasellus bibendum, ligula eu tempor vulputate, tortor erat bibendum sem, eget lacinia mauris dui ac elit.
enddocument


enter image description here






share|improve this answer























    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',
    autoActivateHeartbeat: false,
    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%2f482925%2fhow-to-set-continue-counter-from-another-counter-latex%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









    4














    Welcome Đặc Vụ :))) Although using question and example from amsthm is the best way, one can always define a new counter and use it.



    documentclassarticle
    setlengthparskip1ex
    newcounteryourcounter
    newcommandyourquestion[1]%
    textbfstepcounteryourcounterQuestion arabicyourcounter: textit#1par
    newcommandyourexample[1]%
    textbfstepcounteryourcounterExample arabicyourcounter: textit#1par
    begindocument
    yourquestionHow many continents are there?
    yourexampleThis example is for no purposes.
    yourexampleAnd this is another example.
    yourquestionThis is another question.
    yourexampleHow about the numbering of this example?
    yourquestionLorem ipsum dolor sit amet, consectetur adipiscing elit. In eget viverra eros. Donec commodo dapibus dictum. Etiam non ex placerat, fermentum ex sed, suscipit sem. Praesent facilisis vel quam non fringilla. Morbi sagittis tortor sed varius luctus. Curabitur ullamcorper ante scelerisque quam commodo, quis imperdiet sapien maximus. Phasellus bibendum, ligula eu tempor vulputate, tortor erat bibendum sem, eget lacinia mauris dui ac elit.
    enddocument


    enter image description here






    share|improve this answer



























      4














      Welcome Đặc Vụ :))) Although using question and example from amsthm is the best way, one can always define a new counter and use it.



      documentclassarticle
      setlengthparskip1ex
      newcounteryourcounter
      newcommandyourquestion[1]%
      textbfstepcounteryourcounterQuestion arabicyourcounter: textit#1par
      newcommandyourexample[1]%
      textbfstepcounteryourcounterExample arabicyourcounter: textit#1par
      begindocument
      yourquestionHow many continents are there?
      yourexampleThis example is for no purposes.
      yourexampleAnd this is another example.
      yourquestionThis is another question.
      yourexampleHow about the numbering of this example?
      yourquestionLorem ipsum dolor sit amet, consectetur adipiscing elit. In eget viverra eros. Donec commodo dapibus dictum. Etiam non ex placerat, fermentum ex sed, suscipit sem. Praesent facilisis vel quam non fringilla. Morbi sagittis tortor sed varius luctus. Curabitur ullamcorper ante scelerisque quam commodo, quis imperdiet sapien maximus. Phasellus bibendum, ligula eu tempor vulputate, tortor erat bibendum sem, eget lacinia mauris dui ac elit.
      enddocument


      enter image description here






      share|improve this answer

























        4












        4








        4







        Welcome Đặc Vụ :))) Although using question and example from amsthm is the best way, one can always define a new counter and use it.



        documentclassarticle
        setlengthparskip1ex
        newcounteryourcounter
        newcommandyourquestion[1]%
        textbfstepcounteryourcounterQuestion arabicyourcounter: textit#1par
        newcommandyourexample[1]%
        textbfstepcounteryourcounterExample arabicyourcounter: textit#1par
        begindocument
        yourquestionHow many continents are there?
        yourexampleThis example is for no purposes.
        yourexampleAnd this is another example.
        yourquestionThis is another question.
        yourexampleHow about the numbering of this example?
        yourquestionLorem ipsum dolor sit amet, consectetur adipiscing elit. In eget viverra eros. Donec commodo dapibus dictum. Etiam non ex placerat, fermentum ex sed, suscipit sem. Praesent facilisis vel quam non fringilla. Morbi sagittis tortor sed varius luctus. Curabitur ullamcorper ante scelerisque quam commodo, quis imperdiet sapien maximus. Phasellus bibendum, ligula eu tempor vulputate, tortor erat bibendum sem, eget lacinia mauris dui ac elit.
        enddocument


        enter image description here






        share|improve this answer













        Welcome Đặc Vụ :))) Although using question and example from amsthm is the best way, one can always define a new counter and use it.



        documentclassarticle
        setlengthparskip1ex
        newcounteryourcounter
        newcommandyourquestion[1]%
        textbfstepcounteryourcounterQuestion arabicyourcounter: textit#1par
        newcommandyourexample[1]%
        textbfstepcounteryourcounterExample arabicyourcounter: textit#1par
        begindocument
        yourquestionHow many continents are there?
        yourexampleThis example is for no purposes.
        yourexampleAnd this is another example.
        yourquestionThis is another question.
        yourexampleHow about the numbering of this example?
        yourquestionLorem ipsum dolor sit amet, consectetur adipiscing elit. In eget viverra eros. Donec commodo dapibus dictum. Etiam non ex placerat, fermentum ex sed, suscipit sem. Praesent facilisis vel quam non fringilla. Morbi sagittis tortor sed varius luctus. Curabitur ullamcorper ante scelerisque quam commodo, quis imperdiet sapien maximus. Phasellus bibendum, ligula eu tempor vulputate, tortor erat bibendum sem, eget lacinia mauris dui ac elit.
        enddocument


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 3 at 8:23









        JouleVJouleV

        14k22664




        14k22664



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482925%2fhow-to-set-continue-counter-from-another-counter-latex%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

            Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

            Tähtien Talli Jäsenet | Lähteet | NavigointivalikkoSuomen Hippos – Tähtien Talli

            Do these cracks on my tires look bad? The Next CEO of Stack OverflowDry rot tire should I replace?Having to replace tiresFishtailed so easily? Bad tires? ABS?Filling the tires with something other than air, to avoid puncture hassles?Used Michelin tires safe to install?Do these tyre cracks necessitate replacement?Rumbling noise: tires or mechanicalIs it possible to fix noisy feathered tires?Are bad winter tires still better than summer tires in winter?Torque converter failure - Related to replacing only 2 tires?Why use snow tires on all 4 wheels on 2-wheel-drive cars?