Sometimes one needs to change the vertical space after a given \section, but only if the section starts at the very top of a page.
How could that be done automatically, when the document requires the ...

Question
How can I keep the current page nodes aligned with the same physical corners of the page in a document where the main layout is portrait, but some pages with longtable are in the landscape ...

Question
How can I calculate the distance after a title such that I can place a node where the title rule would go?
Example
I would like a bar to drop from the top righthand corner of the page down ...

I want to know how can I change the ToC entry of sections when using the titlesec package?
I am using the command \section[short title]{long title}, but the short title does not appear in the Table ...

After hours of pointless googling around I did not manage to find out how... I'm new to LaTeX templates and now I'm trying to make simple (?) modification so that I could have paragraph level headings ...

I just updated my texlive 2014 using tlmgr to fix an older related problem with using titlesec with tex4ht.
But it seems a new problem now shows up. This show up only when using the starred version ...

I use titlesec package to set part style, but I also would like to put the name of the part in header. I try the way proposed in this thread (How to get part name in LaTeX ?). I get the header as I ...

My goal is as stated in the question title. There are other questions addressing this, but the answers selected, as best I can tell, don't get along with my other existing code, which is summarized ...

I am trying to use the titlesec package to redefine some of my sections and subsections commands. I want the \subsection to have the text following it become wrapped but if it has a title define in it ...

I've run into a situation in a document where I sometimes have a section heading that follows directly after a subsection heading with no generic paragraph content inbetween. In these cases the value ...

I'm using hyperref package to do cross-referencing, but I'm encountering some problems and it is related to \usepackage{titlesec,titleps} , for instance:
\documentclass[a4paper,12pt,twoside]{report}
...