Have section numbering use specific strings











up vote
2
down vote

favorite












I am trying to create a document outlining a work breakdown structure. I would like the first section to be numbered "R3" instead of with the number one, the second section to be numbered "R1" instead of the number two, and the third section to be numbered "SPF" instead of the number three.



Beyond the third section, it would be nice if subsequent sections could be numbered starting from four. Subsections, subsubsections, paragraphs, etc., should have the usual arabic numbering.



For example, the 3rd subsubsection of the 1st subsection of the 2nd section would be:
"R1.1.3 Rebuild of the Alu chambers"



Can this be done?



(I know this is the point at which I should share what I have tried, but apart from some fumbling around with fnsymbol I am entirely lost, and am not even sure what to search for.)










share|improve this question







New contributor




smolloy 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.
    – Mico
    9 hours ago















up vote
2
down vote

favorite












I am trying to create a document outlining a work breakdown structure. I would like the first section to be numbered "R3" instead of with the number one, the second section to be numbered "R1" instead of the number two, and the third section to be numbered "SPF" instead of the number three.



Beyond the third section, it would be nice if subsequent sections could be numbered starting from four. Subsections, subsubsections, paragraphs, etc., should have the usual arabic numbering.



For example, the 3rd subsubsection of the 1st subsection of the 2nd section would be:
"R1.1.3 Rebuild of the Alu chambers"



Can this be done?



(I know this is the point at which I should share what I have tried, but apart from some fumbling around with fnsymbol I am entirely lost, and am not even sure what to search for.)










share|improve this question







New contributor




smolloy 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.
    – Mico
    9 hours ago













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I am trying to create a document outlining a work breakdown structure. I would like the first section to be numbered "R3" instead of with the number one, the second section to be numbered "R1" instead of the number two, and the third section to be numbered "SPF" instead of the number three.



Beyond the third section, it would be nice if subsequent sections could be numbered starting from four. Subsections, subsubsections, paragraphs, etc., should have the usual arabic numbering.



For example, the 3rd subsubsection of the 1st subsection of the 2nd section would be:
"R1.1.3 Rebuild of the Alu chambers"



Can this be done?



(I know this is the point at which I should share what I have tried, but apart from some fumbling around with fnsymbol I am entirely lost, and am not even sure what to search for.)










share|improve this question







New contributor




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











I am trying to create a document outlining a work breakdown structure. I would like the first section to be numbered "R3" instead of with the number one, the second section to be numbered "R1" instead of the number two, and the third section to be numbered "SPF" instead of the number three.



Beyond the third section, it would be nice if subsequent sections could be numbered starting from four. Subsections, subsubsections, paragraphs, etc., should have the usual arabic numbering.



For example, the 3rd subsubsection of the 1st subsection of the 2nd section would be:
"R1.1.3 Rebuild of the Alu chambers"



Can this be done?



(I know this is the point at which I should share what I have tried, but apart from some fumbling around with fnsymbol I am entirely lost, and am not even sure what to search for.)







sectioning numbering






share|improve this question







New contributor




smolloy 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




smolloy 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




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









asked 10 hours ago









smolloy

133




133




New contributor




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





New contributor





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






smolloy 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.
    – Mico
    9 hours ago


















  • Welcome to TeX.SE.
    – Mico
    9 hours ago
















Welcome to TeX.SE.
– Mico
9 hours ago




Welcome to TeX.SE.
– Mico
9 hours ago










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Just use several renewcommand instructions to modify the appearance of the thesection macro.



enter image description here



documentclass{article}
begin{document}

%%% First section.
renewcommandthesection{R3}
section{Sec1}
subsection{Sec1 Subsec1}
subsubsection{Sec1 Subsec1 Subsubsec1}
subsubsection{Sec1 Subsec1 Subsubsec2}
subsubsection{Sec1 Subsec1 Subsubsec3}

%% Second section.
renewcommandthesection{R1}
section{Sec2}
subsection{Sec2 Subsec1}
subsubsection{Sec2 Subsec1 Subsubsec1}
subsubsection{Sec2 Subsec1 Subsubsec2}
subsubsection{Rebuild of the Alu chambers}

%% Third section.
renewcommandthesection{SPF} % why not...
section{Sec3}
subsection{Sec3 Subsec1}
subsubsection{Sec3 Subsec1 Subsubsec1}
subsubsection{Sec3 Subsec1 Subsubsec2}
subsubsection{Sec3 Subsec1 Subsubsec3}

%% Fourth section and beyond
renewcommandthesection{arabic{section}} % back to standard setup
section{Sec4}
subsection{Sec4 Subsec1}
subsubsection{Sec4 Subsec1 Subsubsec1}
subsubsection{Sec4 Subsec1 Subsubsec2}
subsubsection{Sec4 Subsec1 Subsubsec3}

section{Sec5}
subsection{Sec5 Subsec1}
subsubsection{Sec5 Subsec1 Subsubsec1}
subsubsection{Sec5 Subsec1 Subsubsec2}
subsubsection{Sec5 Subsec1 Subsubsec3}
end{document}





share|improve this answer





















  • Exactly what I was looking for. Thanks.
    – smolloy
    9 hours ago











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


}
});






smolloy 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%2f462066%2fhave-section-numbering-use-specific-strings%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



accepted










Just use several renewcommand instructions to modify the appearance of the thesection macro.



enter image description here



documentclass{article}
begin{document}

%%% First section.
renewcommandthesection{R3}
section{Sec1}
subsection{Sec1 Subsec1}
subsubsection{Sec1 Subsec1 Subsubsec1}
subsubsection{Sec1 Subsec1 Subsubsec2}
subsubsection{Sec1 Subsec1 Subsubsec3}

%% Second section.
renewcommandthesection{R1}
section{Sec2}
subsection{Sec2 Subsec1}
subsubsection{Sec2 Subsec1 Subsubsec1}
subsubsection{Sec2 Subsec1 Subsubsec2}
subsubsection{Rebuild of the Alu chambers}

%% Third section.
renewcommandthesection{SPF} % why not...
section{Sec3}
subsection{Sec3 Subsec1}
subsubsection{Sec3 Subsec1 Subsubsec1}
subsubsection{Sec3 Subsec1 Subsubsec2}
subsubsection{Sec3 Subsec1 Subsubsec3}

%% Fourth section and beyond
renewcommandthesection{arabic{section}} % back to standard setup
section{Sec4}
subsection{Sec4 Subsec1}
subsubsection{Sec4 Subsec1 Subsubsec1}
subsubsection{Sec4 Subsec1 Subsubsec2}
subsubsection{Sec4 Subsec1 Subsubsec3}

section{Sec5}
subsection{Sec5 Subsec1}
subsubsection{Sec5 Subsec1 Subsubsec1}
subsubsection{Sec5 Subsec1 Subsubsec2}
subsubsection{Sec5 Subsec1 Subsubsec3}
end{document}





share|improve this answer





















  • Exactly what I was looking for. Thanks.
    – smolloy
    9 hours ago















up vote
0
down vote



accepted










Just use several renewcommand instructions to modify the appearance of the thesection macro.



enter image description here



documentclass{article}
begin{document}

%%% First section.
renewcommandthesection{R3}
section{Sec1}
subsection{Sec1 Subsec1}
subsubsection{Sec1 Subsec1 Subsubsec1}
subsubsection{Sec1 Subsec1 Subsubsec2}
subsubsection{Sec1 Subsec1 Subsubsec3}

%% Second section.
renewcommandthesection{R1}
section{Sec2}
subsection{Sec2 Subsec1}
subsubsection{Sec2 Subsec1 Subsubsec1}
subsubsection{Sec2 Subsec1 Subsubsec2}
subsubsection{Rebuild of the Alu chambers}

%% Third section.
renewcommandthesection{SPF} % why not...
section{Sec3}
subsection{Sec3 Subsec1}
subsubsection{Sec3 Subsec1 Subsubsec1}
subsubsection{Sec3 Subsec1 Subsubsec2}
subsubsection{Sec3 Subsec1 Subsubsec3}

%% Fourth section and beyond
renewcommandthesection{arabic{section}} % back to standard setup
section{Sec4}
subsection{Sec4 Subsec1}
subsubsection{Sec4 Subsec1 Subsubsec1}
subsubsection{Sec4 Subsec1 Subsubsec2}
subsubsection{Sec4 Subsec1 Subsubsec3}

section{Sec5}
subsection{Sec5 Subsec1}
subsubsection{Sec5 Subsec1 Subsubsec1}
subsubsection{Sec5 Subsec1 Subsubsec2}
subsubsection{Sec5 Subsec1 Subsubsec3}
end{document}





share|improve this answer





















  • Exactly what I was looking for. Thanks.
    – smolloy
    9 hours ago













up vote
0
down vote



accepted







up vote
0
down vote



accepted






Just use several renewcommand instructions to modify the appearance of the thesection macro.



enter image description here



documentclass{article}
begin{document}

%%% First section.
renewcommandthesection{R3}
section{Sec1}
subsection{Sec1 Subsec1}
subsubsection{Sec1 Subsec1 Subsubsec1}
subsubsection{Sec1 Subsec1 Subsubsec2}
subsubsection{Sec1 Subsec1 Subsubsec3}

%% Second section.
renewcommandthesection{R1}
section{Sec2}
subsection{Sec2 Subsec1}
subsubsection{Sec2 Subsec1 Subsubsec1}
subsubsection{Sec2 Subsec1 Subsubsec2}
subsubsection{Rebuild of the Alu chambers}

%% Third section.
renewcommandthesection{SPF} % why not...
section{Sec3}
subsection{Sec3 Subsec1}
subsubsection{Sec3 Subsec1 Subsubsec1}
subsubsection{Sec3 Subsec1 Subsubsec2}
subsubsection{Sec3 Subsec1 Subsubsec3}

%% Fourth section and beyond
renewcommandthesection{arabic{section}} % back to standard setup
section{Sec4}
subsection{Sec4 Subsec1}
subsubsection{Sec4 Subsec1 Subsubsec1}
subsubsection{Sec4 Subsec1 Subsubsec2}
subsubsection{Sec4 Subsec1 Subsubsec3}

section{Sec5}
subsection{Sec5 Subsec1}
subsubsection{Sec5 Subsec1 Subsubsec1}
subsubsection{Sec5 Subsec1 Subsubsec2}
subsubsection{Sec5 Subsec1 Subsubsec3}
end{document}





share|improve this answer












Just use several renewcommand instructions to modify the appearance of the thesection macro.



enter image description here



documentclass{article}
begin{document}

%%% First section.
renewcommandthesection{R3}
section{Sec1}
subsection{Sec1 Subsec1}
subsubsection{Sec1 Subsec1 Subsubsec1}
subsubsection{Sec1 Subsec1 Subsubsec2}
subsubsection{Sec1 Subsec1 Subsubsec3}

%% Second section.
renewcommandthesection{R1}
section{Sec2}
subsection{Sec2 Subsec1}
subsubsection{Sec2 Subsec1 Subsubsec1}
subsubsection{Sec2 Subsec1 Subsubsec2}
subsubsection{Rebuild of the Alu chambers}

%% Third section.
renewcommandthesection{SPF} % why not...
section{Sec3}
subsection{Sec3 Subsec1}
subsubsection{Sec3 Subsec1 Subsubsec1}
subsubsection{Sec3 Subsec1 Subsubsec2}
subsubsection{Sec3 Subsec1 Subsubsec3}

%% Fourth section and beyond
renewcommandthesection{arabic{section}} % back to standard setup
section{Sec4}
subsection{Sec4 Subsec1}
subsubsection{Sec4 Subsec1 Subsubsec1}
subsubsection{Sec4 Subsec1 Subsubsec2}
subsubsection{Sec4 Subsec1 Subsubsec3}

section{Sec5}
subsection{Sec5 Subsec1}
subsubsection{Sec5 Subsec1 Subsubsec1}
subsubsection{Sec5 Subsec1 Subsubsec2}
subsubsection{Sec5 Subsec1 Subsubsec3}
end{document}






share|improve this answer












share|improve this answer



share|improve this answer










answered 9 hours ago









Mico

270k30367752




270k30367752












  • Exactly what I was looking for. Thanks.
    – smolloy
    9 hours ago


















  • Exactly what I was looking for. Thanks.
    – smolloy
    9 hours ago
















Exactly what I was looking for. Thanks.
– smolloy
9 hours ago




Exactly what I was looking for. Thanks.
– smolloy
9 hours ago










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










 

draft saved


draft discarded


















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













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












smolloy 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%2f462066%2fhave-section-numbering-use-specific-strings%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

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt