Template Styles » Historie » Revision 12
« Zurück |
Revision 12/20
(Vergleich)
| Weiter »
Martin Kraetke, 22.12.2021 13:33
Template Styles¶
- Inhaltsverzeichnis
- Template Styles
Prefix¶
All style names contain a prefix that represents the publisher and is separated by an underscore. The table below shows only the style name without the prefix. The prefix is part of the customer-specific configuration.
Example:- Prefix for publisher (1-3 characters): e.g.
ts
for transcript publishers - Full style name for
heading_1
:ts_heading_1
Style Names¶
Headings¶
The numbering of the headings is taken from the Word file, since authors sometimes use very heterogeneous numbering schemes. Therefore, one must watch out for numbering errors in the manuscript. The standard styles for headings from Word are also evaluated, whereby Heading 1
corresponds to the style heading_part
, Heading 2
corresponds to heading_1
etc.
Common Name | Style Name | Description | TeX |
---|---|---|---|
book title | book_title |
Book title | \title{...} |
part | heading_part |
Teil | \begin{heading}{part} |
chapter | heading_1 |
chapter, Überschrift 1. Ordnung | \begin{heading}{chapter}... |
chapter subheading | subheading_1 |
subheading für chapter/Überschrift 2. Ordnung | \tpSubTitle{...} |
chapter author | author |
chapter author | \tpAuthor{...} |
chapter author biography | author_description |
author biography included in a chapter | \tpBio |
chapter epigraph | epigraph , epigraph |
epigraph at chapter start | \tpQuote{...} |
chapter epigraph source | epigraph_source , epigraph_source |
source or author of epigraph | |
section 1. level | heading_2 |
\begin{heading}{section}... |
|
section 1. level subheading | subheading_2 |
subheading | |
section epigraph | epigraph |
section epigraph | \tpQuote{...} |
section 2. level | heading_3 |
\\begin{heading}{subsection}{...} |
|
section 2. level subheading | subheading_3 |
subheading | |
section 3. level | heading_4 |
\begin{heading}{subsubsection}... |
|
section 3. level subheading | subheading_4 |
subheading | |
section 4. level | heading_5 |
\begin{heading}{paragraph}... |
|
section 4. level subheading | subheading_5 |
subheading | |
bridgehead | headword |
bridgehead, not included in ToC | \subparagraph{...} |
Running Headers¶
Running headers are automatically generated depending on the layout and the customer-specific configuration. If individual or shortened running headers are required, the following style can be used after the part, chapter or section heading.
Common Name | Style Name | Description | TeX |
---|---|---|---|
running header short | headline_short |
override for automatically generated running header. | \chaptermark{} |
Figures¶
Figures must be placed in a separate paragraph with a specific paragraph style. There must not be text in the paragraph. For each additional image, a separate paragraph must be used. Figure captions and caption source must be set below the image in separate paragraphs.
Common Name | Style Name | Description | TeX |
---|---|---|---|
Figure | figure |
Figure | \begin{tpFigure}[<options>] |
multiple figures with specific layouts | |||
figure (layout A) | figure_A${Zahl} |
image with ${number} 1 to 3 images side by side column width | \begin{tpFigure}[class=a] |
figure (layout B) | figure_B${Zahl} |
image with ${number} 1 to 3 images side by side with margin | \begin{tpFigure}[class=b] |
figure (layout C) | figure_C${Zahl} |
image with ${number} 1 to 3 images side by side with more margin | \begin{tpFigure}[class=c] |
caption | figure_caption |
caption or description of the image | \tpCaption{...} |
caption source | figure_source |
information about creator, copyright or other content which is different from the caption | \tpSource{...} |
Tables¶
Tables are created with the Word default function. Table cell borders and background colors, row and column spans are kept for the output. For rotated tables, you need to apply a specific style. Tables can either be rotated or continued over several pages.
Common Name | Style Name | Description | TeX |
---|---|---|---|
Caption | table_caption |
Title or caption of the table | |
Source | table_source |
Additional information that is placed below the table | |
rotated table | table_rotated |
style needs to be applied on the paragraph before the table | |
continued table | table_pagewrap |
style needs to be applied on the paragraph before the table |
Lists¶
Simple and numbered lists are heuristically detected by list marker and indent. Description lists like lists of abbreviations have a specific style. Description lists require that a single tab is placed between definition term and description.
Common Name | Style Name | Description | TeX |
---|---|---|---|
description list | abbreviations |
list of abbreviations | \begin{description} \item[begriff] ... \end{description} |
Long Quotations¶
Several consecutive citation paragraphs are combined automatically in a long citation environment.
Common Name | Style Name | Description | TeX |
---|---|---|---|
citation | quotation |
citation wrapper | \begin{quotation}...\end{quotation} |
Dialogues¶
Several consecutive paragraphs that contain the dialog style are combined in a dialog wrapper. The speaker is automatically identified using a tactical symbol, usually a colon. The paragraph must begin with the speaker name.
Common Name | Style Name | Description | TeX |
---|---|---|---|
dialog | dialogue |
Dialog-Absatz | \begin{dialogue}...\end{dialogue} |
speaker | colon: after speaker | speaker | \item[speaker] ... |
Boxes¶
The beginning and the end of a box are each marked with specific paragraph styles for start end. No other text should appear in this paragraph, since they are removed in the process.
Common Name | Style Name | Description | TeX |
---|---|---|---|
box with border start | box_border_start |
start marker of box with border | \begin{kastenlinie}... |
box with border end | box_border_end |
end marker of box with border | ...\end{kastenlinie} |
box grey start | box_grey_start |
start marker of box with grey background | \begin{kastengrau}... |
box grey end | box_grey_end |
end marker of box with grey background | ...\end{kastengrau} |
Equations¶
Equations are automatically detected and converted to the proper markup. If you want to markup a simple text paragraph that may contain an equation as
Common Name | Style Name | Description | TeX |
---|---|---|---|
Equation paragraph | formula |
paragraph that contains equation | \begin{equation}...\end{equation} |
Dedication¶
Common Name | Style Name | Description | TeX |
---|---|---|---|
Dedication | dedication |
Dedication | \dedication |
Letter¶
Common Name | Style Name | Description | TeX |
---|---|---|---|
Letter paragraph | letter |
paragraph of a letter | \begin{letter}...\end{letter} |
Letter paragraph with margin before | letter_spacing |
letter paragraph with margin before | \item |
Example: before \item
and at the end there should be no \\
HUB-XML | <div role="letter"> <para role="letter">Dear John Doe</para> <para role="letter_spacing">Here I am writing to you today</para> <para role="letter">and hope this and that.</para> <para role="letter">Give Jane my best regards.</para> </div> |
---|---|
TeX | \begin{letter} Dear John Doe, \item Here I am writing to you today \\ and hope this and that.\\ Give Jane my best regards. \end{letter} |
Dear John Doe, Here I am writing to you today and hope this and that. Give Jane my best regards. |
Bibliography¶
A bibliography consists of consecutive paragraphs with references to literature. The paragraphs must be marked with the same style. If there is a regular heading above, this is automatically set as the heading of the bibliography.
Common Name | Style Name | Description | TeX |
---|---|---|---|
literature | literature |
bibliographical reference | \bibitem |
Index¶
Indices can be created in the following four ways, which can also be combined.
(1) Word index function¶
Index entries can be made for selected words in the Word ribbon References
. Mark a word and click the Mark Entry
button. Further information can be found in the Microsoft Word documentation
(2) Marking of index terms via character format¶
Index entries can be specified by marking up words or phrases with the index_mark
format. Index entries that have already been coded with the Word index function are ignored.
(3) Insert a concordance list of index entries¶
Index entries can be automatically encoded using a concordance list. To do this, a list of index entries must be added at the end of the document. Wherever in the rest of the document words or phrases from this list are found, an index entry is automatically encoded. An index entry with the paragraph format index_list
must be used for this. Each entry must be in a separate paragraph. Index entries that have already been coded with the Word index function or via the index
character format are ignored.
(4) Insert a static index¶
If you do not want to automatically search for entries in the text in the index, you can also insert a static index. Simply insert a list of index entries with the index_static
format. Page numbers in the form My Entry 144, 156, 192
are then linked to the page, i.e. you have to make sure that the page reference is correct!
Index styles¶
Common Name | Style Name | Description | TeX |
---|---|---|---|
Index heading | index_heading |
Heading of index | |
Index entry, see (2) | index_mark |
Character style for encoding an index entry in the content | |
Index entry, see (3) | index_list |
paragraph style for an index entry in a concordance list | |
Index entry search term | index_name |
Character style, must be used within index_list to mark the index search term separately, e.g. for John Doe, Doe can be marked so that an index entry is also created for Mr Doe |
|
Index entry, see (4) | index_static |
Index entry in a static index list. if you insert a page number, a page reference is automatically created |
Listings¶
To create the following listings, you only need to place the heading with a specific style. The contents of the listng is automatically generated.
Common Name | Style Name | Description | TeX |
---|---|---|---|
List of Figures | list_of_figures |
Heading of the LoF | \listoffigures |
List of Tables | list_of_figures |
Heading of the LoT | \listoftables |
Endnotes | list_of_endnotes |
Endnotes heading | \printnotes |
Line breaks¶
Empty paragraphs are automatically removed. To control the number of line breaks, you should mark empty paragraphs with the lineskip
style. You can specify the number of breaks at the end of the style name, e.g. lineskip3
for three breaks. A normal break (Shift + Enter) is converted to \newline
.
Common Name | Style Name | Description | TeX |
---|---|---|---|
line break | lineskip |
\vskip 1\baselineskip |
Character styles¶
Common Name | Style Name | Description | TeX |
---|---|---|---|
non-latin | nonlatin |
\unichar |
|
regular | regular |
||
bold | bold |
\textbf |
|
itaklic | italic |
\textit |
|
small caps | smallcaps |
\textsc |
|
non breaking space | space_nonbreaking |
||
thin space | space_thin |
||
spaced | spaced |
\so |
|
underline | underline |
\ul |
|
linethrough | strike_trough |
\st |
|
superscript | superscript |
\textsuperscript |
|
subscript | subscript |
\textsubscript |
Von Martin Kraetke vor fast 3 Jahren aktualisiert · 12 Revisionen