reference to a section*{}Change section fontsCustomizing indentation in section and subsection...

AES: Why is it a good practice to use only the first 16bytes of a hash for encryption?

How to take photos in burst mode, without vibration?

How to prevent "they're falling in love" trope

Is it unprofessional to ask if a job posting on GlassDoor is real?

What is going on with Captain Marvel's blood colour?

Forgetting the musical notes while performing in concert

What exploit are these user agents trying to use?

Emailing HOD to enhance faculty application

1960's book about a plague that kills all white people

Has there ever been an airliner design involving reducing generator load by installing solar panels?

What is the word for reserving something for yourself before others do?

Could gravitational lensing be used to protect a spaceship from a laser?

Is Lorentz symmetry broken if SUSY is broken?

Watching something be written to a file live with tail

Is the Joker left-handed?

Is it possible to run Internet Explorer on OS X El Capitan?

How much of data wrangling is a data scientist's job?

Did Shadowfax go to Valinor?

How is it possible to have an ability score that is less than 3?

Do I have a twin with permutated remainders?

Why does Kotter return in Welcome Back Kotter

Can one be a co-translator of a book, if he does not know the language that the book is translated into?

When a company launches a new product do they "come out" with a new product or do they "come up" with a new product?

90's TV series where a boy goes to another dimension through portal near power lines



reference to a section*{}


Change section fontsCustomizing indentation in section and subsection headingscustomizing section formatting using memoir class (color and numbering)Hidden subsection 0Section and subsection numberingChanging section heading styleUnbold section and subsection headingHide section numbering, but keep labelingSection numbers coloredHow do I repeat section and subsection numbers in same document?













1















I need to answer my assignment in latex with a



Assignment 1a 
Assignment 1b
Assignment 1c
Assignment 2a
Assignment 2b


I have tried to use the section*{}, but referencing then doesn't work. Is there another way of being able to have a section and subsection with numbers and letters as shown above?










share|improve this question







New contributor




jubibanna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to TeX-SE! Yes, this is possible e.g. with titlesec.

    – marmot
    5 hours ago











  • Thank you :-) Could you give an example? Would be most appreciated!

    – jubibanna
    4 hours ago











  • I think you should go with Alan Munn's nice answer, which does not require any packages.

    – marmot
    1 hour ago
















1















I need to answer my assignment in latex with a



Assignment 1a 
Assignment 1b
Assignment 1c
Assignment 2a
Assignment 2b


I have tried to use the section*{}, but referencing then doesn't work. Is there another way of being able to have a section and subsection with numbers and letters as shown above?










share|improve this question







New contributor




jubibanna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to TeX-SE! Yes, this is possible e.g. with titlesec.

    – marmot
    5 hours ago











  • Thank you :-) Could you give an example? Would be most appreciated!

    – jubibanna
    4 hours ago











  • I think you should go with Alan Munn's nice answer, which does not require any packages.

    – marmot
    1 hour ago














1












1








1


1






I need to answer my assignment in latex with a



Assignment 1a 
Assignment 1b
Assignment 1c
Assignment 2a
Assignment 2b


I have tried to use the section*{}, but referencing then doesn't work. Is there another way of being able to have a section and subsection with numbers and letters as shown above?










share|improve this question







New contributor




jubibanna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I need to answer my assignment in latex with a



Assignment 1a 
Assignment 1b
Assignment 1c
Assignment 2a
Assignment 2b


I have tried to use the section*{}, but referencing then doesn't work. Is there another way of being able to have a section and subsection with numbers and letters as shown above?







sectioning ref






share|improve this question







New contributor




jubibanna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




jubibanna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




jubibanna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 5 hours ago









jubibannajubibanna

1083




1083




New contributor




jubibanna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





jubibanna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






jubibanna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Welcome to TeX-SE! Yes, this is possible e.g. with titlesec.

    – marmot
    5 hours ago











  • Thank you :-) Could you give an example? Would be most appreciated!

    – jubibanna
    4 hours ago











  • I think you should go with Alan Munn's nice answer, which does not require any packages.

    – marmot
    1 hour ago



















  • Welcome to TeX-SE! Yes, this is possible e.g. with titlesec.

    – marmot
    5 hours ago











  • Thank you :-) Could you give an example? Would be most appreciated!

    – jubibanna
    4 hours ago











  • I think you should go with Alan Munn's nice answer, which does not require any packages.

    – marmot
    1 hour ago

















Welcome to TeX-SE! Yes, this is possible e.g. with titlesec.

– marmot
5 hours ago





Welcome to TeX-SE! Yes, this is possible e.g. with titlesec.

– marmot
5 hours ago













Thank you :-) Could you give an example? Would be most appreciated!

– jubibanna
4 hours ago





Thank you :-) Could you give an example? Would be most appreciated!

– jubibanna
4 hours ago













I think you should go with Alan Munn's nice answer, which does not require any packages.

– marmot
1 hour ago





I think you should go with Alan Munn's nice answer, which does not require any packages.

– marmot
1 hour ago










1 Answer
1






active

oldest

votes


















2














Here's a simple way to do it, with no package just using section and an assignment environment. Since this abuses the section command, it's not usable within a document that also requires regular sections, but the approach could be adapted use subsection instead.



documentclass{article}
newcounter{assignment}
renewcommand{thesection}{Assignment~arabic{assignment}alph{section}}
newenvironment{assignment}{refstepcounter{assignment}}{setcounter{section}{0}}
begin{document}
begin{assignment}
section{First sub assignment}
section{Second sub assignment}
section{Third sub assignment}
end{assignment}
begin{assignment}
section{First sub assignment}
section{Second sub assignment}
end{assignment}
end{document}





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
    });


    }
    });






    jubibanna is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483261%2freference-to-a-section%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









    2














    Here's a simple way to do it, with no package just using section and an assignment environment. Since this abuses the section command, it's not usable within a document that also requires regular sections, but the approach could be adapted use subsection instead.



    documentclass{article}
    newcounter{assignment}
    renewcommand{thesection}{Assignment~arabic{assignment}alph{section}}
    newenvironment{assignment}{refstepcounter{assignment}}{setcounter{section}{0}}
    begin{document}
    begin{assignment}
    section{First sub assignment}
    section{Second sub assignment}
    section{Third sub assignment}
    end{assignment}
    begin{assignment}
    section{First sub assignment}
    section{Second sub assignment}
    end{assignment}
    end{document}





    share|improve this answer




























      2














      Here's a simple way to do it, with no package just using section and an assignment environment. Since this abuses the section command, it's not usable within a document that also requires regular sections, but the approach could be adapted use subsection instead.



      documentclass{article}
      newcounter{assignment}
      renewcommand{thesection}{Assignment~arabic{assignment}alph{section}}
      newenvironment{assignment}{refstepcounter{assignment}}{setcounter{section}{0}}
      begin{document}
      begin{assignment}
      section{First sub assignment}
      section{Second sub assignment}
      section{Third sub assignment}
      end{assignment}
      begin{assignment}
      section{First sub assignment}
      section{Second sub assignment}
      end{assignment}
      end{document}





      share|improve this answer


























        2












        2








        2







        Here's a simple way to do it, with no package just using section and an assignment environment. Since this abuses the section command, it's not usable within a document that also requires regular sections, but the approach could be adapted use subsection instead.



        documentclass{article}
        newcounter{assignment}
        renewcommand{thesection}{Assignment~arabic{assignment}alph{section}}
        newenvironment{assignment}{refstepcounter{assignment}}{setcounter{section}{0}}
        begin{document}
        begin{assignment}
        section{First sub assignment}
        section{Second sub assignment}
        section{Third sub assignment}
        end{assignment}
        begin{assignment}
        section{First sub assignment}
        section{Second sub assignment}
        end{assignment}
        end{document}





        share|improve this answer













        Here's a simple way to do it, with no package just using section and an assignment environment. Since this abuses the section command, it's not usable within a document that also requires regular sections, but the approach could be adapted use subsection instead.



        documentclass{article}
        newcounter{assignment}
        renewcommand{thesection}{Assignment~arabic{assignment}alph{section}}
        newenvironment{assignment}{refstepcounter{assignment}}{setcounter{section}{0}}
        begin{document}
        begin{assignment}
        section{First sub assignment}
        section{Second sub assignment}
        section{Third sub assignment}
        end{assignment}
        begin{assignment}
        section{First sub assignment}
        section{Second sub assignment}
        end{assignment}
        end{document}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 4 hours ago









        Alan MunnAlan Munn

        163k28433712




        163k28433712






















            jubibanna is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            jubibanna is a new contributor. Be nice, and check out our Code of Conduct.













            jubibanna is a new contributor. Be nice, and check out our Code of Conduct.












            jubibanna is a new contributor. Be nice, and check out our Code of Conduct.
















            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%2f483261%2freference-to-a-section%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

            Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

            Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

            How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...