Formatting section, subsection, subsubsection, paragraph titles and textFormatting a paragraph to look like a sectionFormatting each part/section/subsectionFormatting section titlesHow to split with chapter, section, … Titles in the index part?Subsubsection: remove the newline (like paragraph)How to format bibliography titles as section, subsection, and subsubsectionEnd subsubsection or sectionSectioning chapter, section, subsection formattingFormatting section and subsection but not keywordsFormatting counter in section, subsection and subsubsection

Algorithm to convert a fixed-length string to the smallest possible collision-free representation?

Do Bugbears' arms literally get longer when it's their turn?

Can you reject a postdoc offer after the PI has paid a large sum for flights/accommodation for your visit?

Is it true that real estate prices mainly go up?

Is there any way to damage Intellect Devourer(s) when already within a creature's skull?

Good allowance savings plan?

Why is there a voltage between the mains ground and my radiator?

Is Gradient Descent central to every optimizer?

Set and print content of environment variable in cmd.exe subshell?

Why is this plane circling around the Lucknow airport every day?

Should QA ask requirements to developers?

Should I tell my boss the work he did was worthless

Why don't MCU characters ever seem to have language issues?

infinitive telling the purpose

If the Captain's screens are out, does he switch seats with the co-pilot?

Is there an elementary proof that there are infinitely many primes that are *not* completely split in an abelian extension?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

How much attack damage does the AC boost from a shield prevent on average?

Placing subfig vertically

Solving "Resistance between two nodes on a grid" problem in Mathematica

Why does Deadpool say "You're welcome, Canada," after shooting Ryan Reynolds in the end credits?

Do I really need to have a scientific explanation for my premise?

Who deserves to be first and second author? PhD student who collected data, research associate who wrote the paper or supervisor?

Grey hair or white hair



Formatting section, subsection, subsubsection, paragraph titles and text


Formatting a paragraph to look like a sectionFormatting each part/section/subsectionFormatting section titlesHow to split with chapter, section, … Titles in the index part?Subsubsection: remove the newline (like paragraph)How to format bibliography titles as section, subsection, and subsubsectionEnd subsubsection or sectionSectioning chapter, section, subsection formattingFormatting section and subsection but not keywordsFormatting counter in section, subsection and subsubsection













0















Background: I did my master's thesis 18 years ago in LaTeX, but basically haven't touched it since.



I am trying to format a xelatex document to look like the following
sample: 1



So the short question is what would be the easiest way to do this?



Ideally it would be nice to use section, subsection, subsubsection etc., so that I can still generate a toc and use the section names in the header, etc. But at this point, since the .tex file is going to be computer generated, I'd be open to just viewing each of the lines as a paragraph and just styling them all individually to look like this.



I can go over what I've tried, basically I've spent a couple days trying to modify the commands section, subsection, etc using renewcommand like (where 1 is a .otf font that I've defined:



renewcommandsection@startsection section1z@%
-3.5ex @plus -1ex @minus -.2ex%
2.3ex @plus .2ex%
1bfseriesparskip0em%


But I can't even seem to get the section to use the right font, be bold and italic when I need it to be, and adjust the margins around the title. So at this point I would love at least a big picture idea of how to tackle this problem (although if there's an easy solution, I'll take it). Thanks for considering!









share







New contributor




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




















  • Sorry, I don't see a way to edit my question, but I noticed a typo in the code. There should be a setlength before parskip

    – Josh
    13 secs ago















0















Background: I did my master's thesis 18 years ago in LaTeX, but basically haven't touched it since.



I am trying to format a xelatex document to look like the following
sample: 1



So the short question is what would be the easiest way to do this?



Ideally it would be nice to use section, subsection, subsubsection etc., so that I can still generate a toc and use the section names in the header, etc. But at this point, since the .tex file is going to be computer generated, I'd be open to just viewing each of the lines as a paragraph and just styling them all individually to look like this.



I can go over what I've tried, basically I've spent a couple days trying to modify the commands section, subsection, etc using renewcommand like (where 1 is a .otf font that I've defined:



renewcommandsection@startsection section1z@%
-3.5ex @plus -1ex @minus -.2ex%
2.3ex @plus .2ex%
1bfseriesparskip0em%


But I can't even seem to get the section to use the right font, be bold and italic when I need it to be, and adjust the margins around the title. So at this point I would love at least a big picture idea of how to tackle this problem (although if there's an easy solution, I'll take it). Thanks for considering!









share







New contributor




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




















  • Sorry, I don't see a way to edit my question, but I noticed a typo in the code. There should be a setlength before parskip

    – Josh
    13 secs ago













0












0








0








Background: I did my master's thesis 18 years ago in LaTeX, but basically haven't touched it since.



I am trying to format a xelatex document to look like the following
sample: 1



So the short question is what would be the easiest way to do this?



Ideally it would be nice to use section, subsection, subsubsection etc., so that I can still generate a toc and use the section names in the header, etc. But at this point, since the .tex file is going to be computer generated, I'd be open to just viewing each of the lines as a paragraph and just styling them all individually to look like this.



I can go over what I've tried, basically I've spent a couple days trying to modify the commands section, subsection, etc using renewcommand like (where 1 is a .otf font that I've defined:



renewcommandsection@startsection section1z@%
-3.5ex @plus -1ex @minus -.2ex%
2.3ex @plus .2ex%
1bfseriesparskip0em%


But I can't even seem to get the section to use the right font, be bold and italic when I need it to be, and adjust the margins around the title. So at this point I would love at least a big picture idea of how to tackle this problem (although if there's an easy solution, I'll take it). Thanks for considering!









share







New contributor




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












Background: I did my master's thesis 18 years ago in LaTeX, but basically haven't touched it since.



I am trying to format a xelatex document to look like the following
sample: 1



So the short question is what would be the easiest way to do this?



Ideally it would be nice to use section, subsection, subsubsection etc., so that I can still generate a toc and use the section names in the header, etc. But at this point, since the .tex file is going to be computer generated, I'd be open to just viewing each of the lines as a paragraph and just styling them all individually to look like this.



I can go over what I've tried, basically I've spent a couple days trying to modify the commands section, subsection, etc using renewcommand like (where 1 is a .otf font that I've defined:



renewcommandsection@startsection section1z@%
-3.5ex @plus -1ex @minus -.2ex%
2.3ex @plus .2ex%
1bfseriesparskip0em%


But I can't even seem to get the section to use the right font, be bold and italic when I need it to be, and adjust the margins around the title. So at this point I would love at least a big picture idea of how to tackle this problem (although if there's an easy solution, I'll take it). Thanks for considering!







xetex formatting sections-paragraphs





share







New contributor




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










share







New contributor




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








share



share






New contributor




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









asked 4 mins ago









JoshJosh

1




1




New contributor




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





New contributor





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






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












  • Sorry, I don't see a way to edit my question, but I noticed a typo in the code. There should be a setlength before parskip

    – Josh
    13 secs ago

















  • Sorry, I don't see a way to edit my question, but I noticed a typo in the code. There should be a setlength before parskip

    – Josh
    13 secs ago
















Sorry, I don't see a way to edit my question, but I noticed a typo in the code. There should be a setlength before parskip

– Josh
13 secs ago





Sorry, I don't see a way to edit my question, but I noticed a typo in the code. There should be a setlength before parskip

– Josh
13 secs ago










0






active

oldest

votes











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



);






Josh 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%2f479191%2fformatting-section-subsection-subsubsection-paragraph-titles-and-text%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








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









draft saved

draft discarded


















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












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











Josh 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%2f479191%2fformatting-section-subsection-subsubsection-paragraph-titles-and-text%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

Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm