LaTeX templates

for Advances in Network Clustering and Blockmodeling.

Anja asked me for LaTeX template for the BM2 book. I checked on the Wiley's site and I found out that they changed their templates: Wiley-book-style. Therefore I prepared templates for the book and a single chapter on files book.tex and chapter.tex based on the new styles. The current version is available here: bm2.zip.

Single chapter template

I already prepared skeletons of chapter description files. An author has to uncomment his/her chapter file ChXYZ.tex in lines 135-200 of the file chapter.tex; and comment currently active \includes. The description of chapter's content is to be prepared in the file ChXYZ.tex. For its processing, LaTeX is run on the file chapter.tex. Please propose additional items to be included in lists Acronyms and Symbols.

Pictures are stored in a subdirectory ./pics/chXYZ . It should be included also into the command \graphicspath in chapter.tex:

\graphicspath{{./pics/}{./pics/chSciCol/}{./pics/chMisDat/}{./pics/chXYZ/}}

To switch-off the header info in a chapter the first three lines should be changed to

\newif\ifHeader
% \Headertrue
\Headerfalse

If you need some additional LaTeX class/style files include the corresponding \usepackage commands in your version of the chapter.tex.

Bibliographies

There are some problems with BiBTeX support for chapter bibliographies. It seems that the class WileySev.cls has problems with included files. The problems can be bypassed by including a bibliography directly into a chapter. We propose here a solution that can be used in both cases - either for chapter bibliographies or for a single bibliography.

An author prepares his/her chapter bibliography in BibTeX on the file chapter.bib – see for example the file chapter.bib in BM2.zip. To produce the bibliography “chapter.bbl” to be used by ChXYZ.tex we first run pdfLaTeX on chapter.tex followed by BibTeX. BibTeX transforms files chapter.aux (and ChXYZ.aux) and chapter.bib into chapter.bbl. Finally, we process the file chapter.tex at least twice with pdfLaTeX.

After corrections in the file chapter.bib we have to repeat the above procedure in order to produce a corrected bibliography.

BibTeX records

The structure of BibTeX bibliography is described, for example, in LaTeX wiki book. examples

For most of published documents (journal articles, articles in proceedings, books) it is possible to get the corresponding BibTeX records (descriptions) on the web: Google, DBLP, BibTeX search, AMS, Amazon, ACM, IEEE, Bibsonomy, …

DOI 2 BibTeX

The complete book

The file book.tex will be used for combining all chapters into a complete book.

We made some corrections to the class file WileySev.cls (effecting only book.tex). Because there were problems with the command \name in processing names containing čšž we redefined it. We had also to correct the environment \contributors and command \multiprintindex - they were not displaying the chapter title. The corrected class file is available in BM2.zip.

Current version of the Book and an example of the Chapter for XYZ=SigNet.

Wiley's example book wileyex.pdf.

Test of Making Multiple Indices

Probably we shall make a single authors and topics indexes. There is also an option to make them for each chapter:

1. include in the preamble

 
\usepackage{multind}
\makeindex{topic}
\makeindex{author}
\begin{document}

2. add index terms to your book, ie,

\index{topic}{Cows}
\index{topic}{Cows!Jersey}
\index{topic}{Cows!Jersey!Brown}
 
\index{author}{Douglas Adams}
\index{author}{Boethius}
\index{author}{Mark Twain}

3. On command line type

makeindex topic 
makeindex author

4. this is a Wiley command to make the indices print:

\multiprintindex{topic}{Topic index}
\multiprintindex{author}{Author index}

Index commands from aindex.sty for Understanding book

\newcommand{\makeauthorindex}{\makeglossary}
\newcommand{\si}[1]{#1\index{#1}}
\newcommand{\sis}[2]{#2\index{#1!#2}}
\newcommand{\sip}[2]{#2 #1\index{#1!#2}}
\newcommand{\six}[2]{\index{#1!#2}}
\newcommand{\sisd}[2]{\emph{#2}\index{#1!#2}}
\newcommand{\sie}[1]{\index{#1}}
\newcommand{\sid}[1]{\emph{#1}\index{#1}}
\newcommand{\Ai}[2]{#1\glossary{#1, #2}}
\newcommand{\ai}[2]{\glossary{#1, #2}}
notes/tex/bm2.txt · Last modified: 2018/08/21 14:33 by vlado
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki