Tag Info

Hot answers tagged

6

An option using titlesec; the idea is to place the counter inside a box of width equal to the value for \parindent: \documentclass{article} \usepackage{titlesec} \usepackage{indentfirst} \usepackage{lipsum} \setlength\parindent{30pt} \newlength\mylen \setlength\mylen{\parindent} \renewcommand\thesection{\Alph{section}} \titleformat{\section} ...


6

One option using the titlesec package to define two new units; the alphalph package was used to provide the counter with double alphabetic characters. The two new units are \myunit and \mysubunit, with levels 6 and 7, respectively; I also added support for bookmarks for the new units. Of course, change the settings for the headings and for eventual ToC ...


4

Given the description of the requirement given by the OP in his comment, I'd suggest a simple enumerate environment, in which the labels have been changed with the help of the enumitem package to produce the required labeling; something along these lines: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{enumitem} ...


2

The following is taken from Only show header if section number > 0. You can use \renewcommand{\sectionmark}[1]{% \markright{#1\ \thesection}% } \renewcommand{\subsectionmark}[1]{% \markright{#1\ \thesubsection}% } \renewcommand{\subsubsectionmark}[1]{% \markright{#1\ \thesubsubsection}% } \ofoot{\rightmark} This will display the sectional unit ...


1

I switched from \ifnum style to use \ifnumexpr from etoolbox \documentclass{scrartcl} \usepackage{scrpage2} \usepackage{etoolbox} \pagestyle{scrheadings} \clearscrheadfoot % page number (omitting trailing zeros) % This uses the direct counter formatting, but should not be applied, % The checking of counter values is the same as in \mypagenumber, where ...



Only top voted, non community-wiki answers of a minimum length are eligible