FAQs to [Link], February 16, 2018; v2.
Walter de Gruyter
Frequently asked Questions to [Link]
...and their answers
Installation
1.1 I can’t find the style file [Link]
Books
2.1 Do I have to create title pages of my book?
2.2 Which class options should I use for multi-authored books?
2.3 Does each chapter start on an odd page?
2.4 How do I create a list of contributors?
Content Pages
3.1 How do I write theorem-like environments?
3.2 How do I format tables with [Link]?
3.3 How can I subdivide the bibliography section into parts?
3.4 How do I restart the footnote counter at every new chapter?
3.5 How do I reset the footnote counter in unnumbered sections in the front- and mainmatter ?
3.6 How do I shorten running titles?
3.7 How do I format a list of abbreviations?
3.8 How can I include a page and/or line break in the table of content (toc)?
3.9 How do I format quotations?
3.10 Margin notes are not placed aligned to the typeset area
3.11 How can I change quotation marks within the verbatim environment?
3.12 How can I change quotation marks within an inline monospaced font markup (texttt)?
3.13 How can I change the line spacing when using inline formulas?
3.14 How can I add small headlines directly into text paragraphs?
3.15 Can I use colors?
3.16 How can I avoid widows?
3.17 Is polyglossia compatible with [Link]?
Journals
4.1 Do I have to include logo files for journal articles?
Index
5.2 I am having trouble in operating with the command line
DOI
6.1 How shall I count the DOI within book chapters?
Walter de Gruyter, Production Standards & Solutions, questions and comments to: standards[at][Link]
2 | Walter de Gruyter, FAQs to [Link]
1 Installation
1.1 I can’t find the style file [Link]
The style file [Link] must be extracted from the installation file [Link]. For this please open the
installation file in your LaTeX editor and compile it with LaTeX. During this step the style files [Link],
[Link] and [Link] will be extracted.
2 Books
2.1 Do I have to create title pages of my book?
The title pages are the first part of the front matter of the book. With the dgruyter package it should be sufficient
to provide several meta information on the book to generate the title pages (comprising the imprint page), i.e.,
the pages IIV of the book. The front matter is created by De Gruyter, after the final print files have been sent to
De Gruyter.
2.2 Which class options should I use for multi-authored books?
If the book is a multi-authored book, the following class options are necessary: [openright, sectionbib].
2.3 Does each chapter start on an odd page?
Within a monograph chapter start on every new page (even and odd pages). Contributions within a multiau-
thored book must start on a new right hand page (odd page).
2.4 How do I create a list of contributors?
In medium-sized books the list of contributors should be in two columns. Use the multicol package.
For small-sized books, the list should be single-column, for large-sized books, please ask your De Gruyter
contact.
3 Content Pages
3.1 How do I write theorem-like environments?
New theorem-like environments will be introduced by using the commands \theoremstyle and \newtheorem.
Please note that the environments proof and definition are already defined within [Link].
For example:
(preamble)
\theoremstyle{dgdef}
\newtheorem{dgdef}{Lemma}[section]
The parameter [section] restarts the theorem counter at every new section.
Walter de Gruyter, FAQs to [Link] | 3
\theoremstyle{dgthm}
\newtheorem*{dgthm}{remark} % new style unnumbered remarks
To add a Theorem in the text. Write, e.g. (\begin{document})
Proof:
\begin{proof}
This is a proof environment
\end{proof}
Remark:
\begin{dgthm}
This statement is true, I guess.
\end{dgthm}
3.2 How do I format tables with [Link]?
Please see the package documentation [Link] for instructions on how to format tables. The standard
LaTeX table layout has been modified to make the tables adhere to our special layout requirements.
Please find below two sample tables for illustration.
\begin{table}
\caption{sample table without header}
\begin{tabular}{llll}
\starttabularbody %Table starts with the body
first column & second column &
third column & fourth column\\
1 & 2 & 3 & 4\\
4 & 5 & 6 & 7 \\
8 & 9 & 11 & 12 \\
\end{tabular}
\end{table}
\begin{table}
\caption{sample table with header}
\begin{tabular}{llll}
first column & second column &
third column & fourth coulmn\\ \midrule
1 & 34 & 20 % & 120 \\
2 & 22 & 50 % & 80 \\
\end{tabular}
\end{table}
Please restrain from highlighting table cells with colors (black included). Instead of colors please use horizontal
rules rather than vertical lines in order to structure the table.
Furthermore please do not add the caption beneath the table and center tables.
4 | Walter de Gruyter, FAQs to [Link]
3.3 How can I subdivide the bibliography section into parts?
In case the bibliography section should be divided into several parts i.e. references and further reading please
use the package multibib. For further instructions please consult the package documentation.
3.4 How do I restart the footnote counter at every new chapter?
It is not necessary to restart the footnote counter at every new chapter, when the total number of footnotes
does not exceed 1000.
Add the following command to your preamble to count the footnotes through the whole book:
\usepackage{chngcntr}
\counterwithout{footnote}{chapter}
3.5 How do I reset the footnote counter in unnumbered sections in the front- and
mainmatter ?
Sometimes unnumbered chapters in the frontmatter just like introductions or prefaces contain footnotes that
shall not be counted continuously wihtin the following chapters (i.e footnotes in preface and introduction
shall each start with number 1). The style file will count the footnotes continuously so it becomes necessary to
reset the footnote counter in the following unnumbered chapter. Therefore you may add this command right
after the section command of the unnumbered chapter:
\chapter*{Introduction}
\markboth{Introduction}{Introduction}
\setcounter{footnote}{0}
3.6 How do I shorten running titles?
Monograph
When the title of a section or chapter is too long and does not fit in the running head, use the following
commands:
\markboth {left title}{right title}
\markright{short title right}
\markleft{short title left}
For example:
\chapter{A very long title of a section}
\markboth {left title}{right title}
\markleft{chapter: the short title}
\section{Tables with header}
\markright{section: Tables}
Walter de Gruyter, FAQs to [Link] | 5
Multi-authored book
If the author names do not fit in the running head, you can shorten the list of authors with the command
\markleft. Add \markleft{} after the command \markcontributiontitle.
For example:
\makecontributiontitle
\markleft{M. Müller, F. Meyer, H. Meyer, J. Meyer}
If it is also required to shorten the title of a contribution in the running head, use the already existing command
\runningtitle
3.7 How do I format a list of abbreviations?
Use the tabbing enviroment to format the abbreviation page:
\chapter{Abbreviations}
\begin{tabbing} %tabulator
\= 1. tab \= 2. tab \= 3. tab \\
\> SG \> \> Singular
\end{tabbing}
3.8 How can I include a page and/or line break in the table of content (toc)?
Sometime it becomes necessary to include page or line breaks in a table of contents.
Page Break
Please add the following command to your preambel:
\addtocontents{toc}{\protect\newpage\protect}
Within the document insert this phrase at the position where the page break should be set:
\addtocontents{toc}{\protect\newpage\protect}
Example tex-file [Link]:
\chapter{chapter 1}
\section{section 2}
\addtocontents{toc}{\protect\newpage\protect} % Pagebreak after section 2
\subsection{subsection 3}
Line Break
Please add the following command in your preamble:
6 | Walter de Gruyter, FAQs to [Link]
\DeclareRobustCommand*{\onlyattoc}[1]{}
\newcommand*{\activateonlyattoc}{%
\DeclareRobustCommand*{\onlyattoc}[1]{##1}%
}
\AtBeginDocument{\addtocontents{toc}{\protect\activateonlyattoc}}
Within the headline or contribution title insert this phrase at the position where the line break should be
set:
\onlyattoc{\protect\\}
Example:
\contributiontitle{Strong indefinites \onlyattoc{\protect\\} in Turkish}
3.9 How do I format quotations?
Usage: Quotation, motto, insertion (justification)
Enviroment:
\begin{quotation}
...
\end{quotation}
Typesetting of verses
Enviroment:
\begin{quote}
To be, or not to be: that is the question:\\
Whether 'tis nobler in the mind to suffer\\
The slings and arrows of outrageous fortune,\\
Or to take arms against a sea of troubles,\\
And by opposing end them? To die: to sleep;\\
...
\end{quote}
3.10 Margin notes are not placed aligned to the typeset area.
In order to place margin notes aligned to the typeset area (like requested in the layout guidelines) please
compile your document a second time. Afterward all margin notes will be placed correctly in the margin
column.
Walter de Gruyter, FAQs to [Link] | 7
3.11 How can I change quotation marks within the verbatim environment?
Please include the package upquote in your document:
\usepackage{upquote}
3.12 How can I change quotation marks within an inline monospaced font markup
(texttt)?
Please include the package textcomp in order to include straight quotation marks.
Preamble:
\usepackage{textcomp}
In the document:
\texttt{Note that \textquotesingle Haskell \textquotesingle{} is an identifier.}
3.13 How can I change the line spacing when using inline formulas?
You may use one of the following commands within the math mode:
\textstyle
\displaystyle
\scriptstyle
\scriptscriptstyle
Example:
$ {\displaystyle x^2 + 2xy + y^2} $
3.14 How can I add small headlines directly into text paragraphs?
Please include the following commands in your preamble:
\makeatletter
\newcommand{\smallHead}[1]{%
\noindent\bfseries\textsf{#1}%
}
\makeatother
Include the headline into the text paragraph like this:
{\smallHead{Isomorphic graphs:}} Two graphs $G$ and $H$ ...
8 | Walter de Gruyter, FAQs to [Link]
3.15 Can I use colors?
Yes, colors can be used. However please try to use only one color within your book and make sure that it is in
cmyk mode. Please load the package xcolor with the option cmyk:
\usepackage[cmyk]{xcolor}
Furthermore please define all colors used in your document within your preamble, i.e.:
\definecolor{blue}{cmyk}{1,0,0,0}
\definecolor{blueA}{cmyk}{0.3,0,0,0}
For further information consult the package documentation.
3.16 How can I avoid widows?
In order to avoid widows please use the package nowidow. As this package also reviews footnotes and to reduce
possible white space we recommend the following settings:
\usepackage[defaultlines=2,all]{nowidow}
3.17 Is polyglossia compatible with [Link]?
The package polyglossia is not yet compatible with [Link]. If your manuscript contains foreign
languages please use the Babel package.
4 Journals
4.1 Do I have to include logo files for journal articles?
Yes! The logo file [Link]\[Link] is requiered in the running head of journal articles;
therefore please make sure that the respective files can be reached by your tex-engine.
5 Index
5.1 How do I create multiple indexes?
For creating multiple indexes the usage of package splitidx is recommended. It must be invoked before
[Link]:
\usepackage[split]{splitidx}
\usepackage[small,print]{dgruyter}
For inlcuding the additional index please run the following command on your command line:
makeindex -s [Link] xxxx
Walter de Gruyter, FAQs to [Link] | 9
“xxx” = name of the additional index
Afterwards run pdfLaTeX as usual. For further information please read the splitidx package documentation.
5.2 I am having trouble in operating with the command line.
In case it is difficult to create an index by using the command line you might use the package filecontents.
Please add the following commands before the phrase
documentclass[openany,ngerman]book.
\RequirePackage{filecontents}
\begin{filecontents*}{\[Link]}
headings_flag 0
heading_prefix "{\\bfseries "
heading_suffix "}\\nopagebreak"
item_01 "\\nopagebreak\n \\subitem "
item_12 "\\nopagebreak\n \\subsubitem "
item_x1 "\\nopagebreak\n \\subitem "
item_x2 "\\nopagebreak\n \\subsubitem "
delim_0 "\\enskip "
delim_1 "\\enskip "
delim_2 "\\enskip "
\end{filecontents*}
Afterwards run PDFLaTeX twice, followed by Makeindex at least twice (when using TeXLive), and finally
PDFLaTeX.
6 Digital Object Identifier (DOI)
De Gruyter uses DOIs to create unique and persistent IDs for articles, chapters and books at De Gruyter
Online. This information is included within the print and online PDF. DOIs are resolved by the DOI System
([Link] to lead the reader to the latest version of the content.
6.1 How shall I count the DOI within book chapters?
The main and backmatter DOIs will be set and counted automatically by [Link]. A DOI consist of a
unique publisher prefix (=10.1515) and a doi-suffix (=[eISBN]-[counter]). The template will count the DOI-suffix
continuously starting with -001 (i.e 10.1515/9783110303568-001).
However please count the parts of your frontmatter (= preface, acknowledgement, list of figures) in-
dependently by adding the command \doi{10.1515/[eISBN]-202} (starting with number 202, counting
continuously) to your document, placed after the chapter command:
\chapter{Preface}
\DOI{10.1515/97831104957-202}