All Questions
Tagged with automation sectioning
14
questions
0
votes
1
answer
25
views
How to replace section/chapter/subsection depending on the current location? [duplicate]
I would like to refer to the current 'unit' in a section/subsection agnostic way. In other words, I'd like to use \unitname in the following way:
\section{Foo}
In this \unitname...
\subsection{Bar}
In ...
0
votes
0
answers
27
views
How to ignore theorems when creating a pdf?
I am writing a document which includes exercises and their solution. To do distinguish them nicely, I used the amsthm package and the following code:
\newtheoremstyle{dotlessP}{}{}{\color{black}}{}{\...
3
votes
1
answer
3k
views
Automatic label for Chapters and Sections
I am writing a book and hope to create automatic labels for every Chapters and Sections in the form \label{AutoChap:"ChapTitle") and \label{AutoSec:SecTitle). Learning from "Automatic" ...
4
votes
2
answers
130
views
How to determine if a macro is used inside the argument of a sectioning command?
In order to further automatize a macro I have written, I would like to know if there is a possibility to determine if this macro is used inside the argument of a sectioning command or inside the text. ...
3
votes
1
answer
551
views
Automatic use of titlecaps in chapter, section and captions using memoir
I'd like to use the titlecaps package to automatically format my chapter, section, subsection headings as well as captions. If I set it manually it works, but I can't seem to find a way to redefine ...
5
votes
1
answer
4k
views
Automatic creations of labels
I have a bad habit of not labeling my headlines and I find creating them afterwards rather cumbersome. Is there any script/program that can create a label automatically from the headline, so that
\...
3
votes
1
answer
1k
views
Automatical title section in beamer only on the first frame after \section
I'm trying to make that the title of the last section appears as frametitle only on the first frame after each \section{...} code.
Now, i'm doing it manually with this code :
\newcommand{\TS}[0]{
\...
5
votes
1
answer
2k
views
How would you typeset this type of programming documentation?
Consider, for example, this pdf document which defines the standard for the C programming language. The description of the library functions follows a fixed structure composed of three sections, as ...
4
votes
1
answer
156
views
Using Lua in listed elements (List of Figures, List of Tables, List of Content)
I am not sure if I use the wrong approach or if this is an issue in LuaLaTex in general. I tried to integrate some internationalization (I18n) to our documentation framework using Lua. Long story, ...
10
votes
2
answers
456
views
Automate the description of the paper
Most or all papers have a final paragraph in the introduction that describes the sections that are present. I'd like to generate it automatically, I guess this should be possible because it is mostly ...
11
votes
2
answers
1k
views
Adding text to a different part of the document
I'm writing a LaTeX document at the moment which has problems (which are created in a {theorem} environment) for the reader in it. I'd like to put solutions to those problems in the end of the ...
1
vote
1
answer
90
views
How can I automatically change the font qualities of the first few words of a chapter?
First off, TeX knows about words (since it does different spacing for inter-letter, inter-word, and inter-sentence.
There must be a way to tap into this.
As for the Q, what I mean is emulating the ...
2
votes
1
answer
110
views
System: XeLaTeX, Circumstance: Automation, PROBLEM: error message "missing \item"
I am currently generating PDF's with variable contents from a template I made. Data is fetched from a database and used to create reports. This has been working greatly until recently I needed to ...
6
votes
1
answer
592
views
Check if non-empty subsection exists under another section
I'd like to try to make a LaTeX class which enforces a number of (non-empty) sections to exist-- if the user doesn't define them manually, then some default section content will be created.
\begin{...