# Tag Info

4

Use flushright instead of right: \setuphead [subject] [align=middle] \definehead [scene] [subject] \setuphead [scene] [style=slanted,align=flushright] \starttext Nobody will say that... \scene{Dead Man Creek, Indiana United States} As our hero tried to... \stoptext

3

The following does answer the question, but journal-specific alterations should be avoided. To your Document > Settings... > LaTeX Preamble add \usepackage{etoolbox} % \patchcmd{<cmd>}{<search>}{<replace>}{<success>}{<failure>} \patchcmd{\section}{\centering}{}{}{} which removes the \centering definition from the \section ...

3

Following Astrinus's advice, you can add the two lines of code between \makeatletter and \makeatother, given in egreg's answer, to modify the entry in the table of contents. Here is how you can do this: \documentclass[12pt, a4paper]{article} \makeatletter \let\latexl@section\l@section ...

3

Tapping into \@seccntformat you can format the section counter display to suit your needs based on the type of counter that is being used. Below I've added a conditional that checks whether you're setting the subsection counter. If so, use \bfseries. Of course, this can be expanded to change other sectional counter setting as well by adding more conditions: ...

2

Werner's idea of tapping into \@seccntformat is good, but there's a slicker way to do it: add a command of the form \format<level>; if the command is not defined, being used with \csname...\endcsname will make it equivalent to \relax. \documentclass{amsart} \makeatletter \def\@seccntformat#1{% \protect\textup{% \protect\@secnumfont ...

2

You can easily do that with the titlesec/titlestoc package. It has commands that allow for a different formatting of numbered and unnumbered sections (if you want to add unnumbered sections) in the table of contents: \documentclass[a4paper]{article} \usepackage{titletoc} \begin {document} \titlecontents{section}[0em] {\vskip 0.5ex}% {\scshape}% numbered ...

2

I would patch this setup by adding a macro \Glsheading that retrieves a capitalized version of the long acronym description. So, you could say something like \section{\Glsheading{test}} In the glossaries package those things are accomplished with token registers. For your purpose it will be sufficent to store the relevant information into a macro. Hence a ...

1

\documentclass{article} \usepackage[DIV9]{typearea} \usepackage{lipsum} \usepackage{letltxmacro} \makeatletter \LetLtxMacro{\ltx@subsection}{\subsection} \renewcommand{\subsection}[2][]{\ltx@subsection[#1]{\protect\parbox[t]{4in}{#2}}} \makeatother \begin{document} \section{Heading} \subsection{Very very very very very very long subheading with no single ...

1

Paragraphs should always be indented (possible exception for the first paragraph after a title) or never (and some vertical space should be added in front of each one); the second style can be used for short documents such as letters. Mixing indented and non indented paragraphs will confuse your readers; this is something I can't recommend. Besides, 2mm is ...

1

Both hyperref and titlesec manipulate important, related elements of a document. As such, loading order should always be considered. In this case, the loading order should resemble \usepackage{titlesec} ... \usepackage{hyperref} as implicitly suggested by Which packages should be loaded after hyperref instead of before?. However, you'll also find memoir ...

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