Math & Science ⇒ Template for specific math book
Template for specific math book
Can someone send me or give link for latex templates for books like
http://books.google.hr/books?id=TtKyqoz ... CEgQ6AEwAw
I like this style very much but dont know how to write it.
http://books.google.hr/books?id=TtKyqoz ... CEgQ6AEwAw
I like this style very much but dont know how to write it.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
Re: Template for specific math book
Welcome to the board.
Not to be rude but this is not a "do it for me" forum; I an sure you will get help if you show some initiative yourself.
If everything else fails, you can try to contact AMS and ask if they can help you. (A good guess would be to ask Barbara Beeton in this case.)
Not to be rude but this is not a "do it for me" forum; I an sure you will get help if you show some initiative yourself.
If everything else fails, you can try to contact AMS and ask if they can help you. (A good guess would be to ask Barbara Beeton in this case.)
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
-- Zapp Brannigan, Futurama (season 1, episode 4)
Template for specific math book
Oh, I had written a "small book" in this format
But I would like to see this specific math textbook template.
I know enough to write in latex. I would like to see some template just to learn some faster/better/optimized way. Book in link is written professionaly.
But I would like to see this specific math textbook template.
I know enough to write in latex. I would like to see some template just to learn some faster/better/optimized way. Book in link is written professionaly.
Code: Select all
Code, edit and compile here:
[size=50]\documentclass[a4paper,twoside,12pt]{memoir}\usepackage[cp1250]{inputenc}\usepackage[languagenames,fixlanguage,croatian]{babelbib}\usepackage[pdftex]{hyperref}\usepackage[xetex]{hyperref}\usepackage{txfonts}\usepackage[pdftex]{graphicx}\usepackage[xetex]{graphicx}\newcommand{\ds}{\displaystyle}\newcommand{\mA}{{\mathbb A}}\newcommand{\mB}{{\mathbb B}}\newcommand{\mC}{{\mathbb C}}\newcommand{\mM}{{\mathfrak M}}\newcommand{\mD}{{\mathbb D}}\newcommand{\mN}{{\mathbb N}}\newcommand{\mQ}{{\mathbb Q}}\newcommand{\mP}{{\mathbb P}}\newcommand{\mR}{{\mathbb R}}\newcommand{\mS}{{\mathbb S}}\newcommand{\mZ}{{\mathbb Z}}\newcommand{\cA}{{\mathcal A}}\newcommand{\cb}{{\mathcal B}}\newcommand{\cc}{{\mathcal C}}\newcommand{\cE}{{\mathcal E}}\newcommand{\cF}{{\mathcal F}}\newcommand{\cG}{{\mathcal G}}\newcommand{\cH}{{\mathcal H}}\newcommand{\cI}{{\mathcal I}}\newcommand{\cJ}{{\mathcal J}}\newcommand{\cL}{{\mathcal L}}\newcommand{\cM}{{\mathcal M}}\newcommand{\cO}{{\mathcal O}}\newcommand{\cP}{{\mathcal P}}\newcommand{\cT}{{\mathcal T}}\newcommand{\cU}{{\mathcal U}}\newcommand{\cV}{{\mathcal V}}\newcommand{\cZ}{{\mathcal Z}}\newcommand{\norm}[1]{\left\Vert #1 \right\Vert}\pagestyle{headings}\title{ Spectral theory}\author{}
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Template for specific math book
Did you test it? This cannot work because you load several packages twice with different options. Decide, if to use XeTeX or pdfTeX, or let the packages automatically detect which normally works fine.
The book you mentioned has been published by the AMS, so I would use the class and styles they provide, such as
amsbook, amsproc or amsart. Perhaps have a look at the AMS-LaTeX page.
Stefan
The book you mentioned has been published by the AMS, so I would use the class and styles they provide, such as

Stefan
LaTeX.org admin
Re: Template for specific math book
Thx for this amsbook and amsart.
Could you provide link for other professional and nice looking templates ?
Could you provide link for other professional and nice looking templates ?
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
Template for specific math book
Wooow! This code is a mess. As Stefan said, have you actually tried to compile it yourself?
As a starter, to make the code somewhat more readable, you can use
and so forth. Then you can write, e.g.,
Here i a MWE:
As a starter, to make the code somewhat more readable, you can use
Code: Select all
Code, edit and compile here:
\newcommand*\mathsetfont{\mathbb}\newcommand*\DeclareMathSet[1]{%\expandafter\newcommand\csname set#1\endcsname{\mathsetfont{#1}}}\DeclareMathSet{N}
\setN
for the set of natural numbers.Here i a MWE:
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage{amssymb}\newcommand*\mathsetfont{\mathbb}\newcommand*\DeclareMathSet[1]{%\expandafter\newcommand\csname set#1\endcsname{\mathsetfont{#1}}}\DeclareMathSet{N}\DeclareMathSet{R}\begin{document}As usual, $\setN$ is the set of natural numbers and $\setR$ is the set of real numbers.\end{document}
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
-- Zapp Brannigan, Futurama (season 1, episode 4)
Template for specific math book
Yes. I had to put in same folder other .tex files which were needed.svend_tveskaeg wrote:Wooow! This code is a mess. As Stefan said, have you actually tried to compile it yourself?
But I like more one .tex file for book which does not read other .tex.
Thx for this. I'm reading latex tutorial script but I would like to see how is done better way and article/book templates and the best for this.
Stefan K,
on http://www.latextemplates.com there are book/thesis templates but main.tex needs other thesis.cls, .sty, Bibliography.bib ... files.
Is this "dress code" when creating books/articles ?
Why there is not one single .tex ?
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Template for specific math book
LaTeX is a modular system. This has many advantages, for example you can seperate functionality, it can be better maintained, code can be reused. LaTeX, classes and packages are developed and maintained by hundreds or even more than a thousand authors. Authors usually maintain one or several packages, so it's good to have them seperate.vejn wrote:main.tex needs other thesis.cls, .sty, Bibliography.bib ... files.
Is this "dress code" when creating books/articles ?
Why there is not one single .tex ?
As an author, you can chose between dozens of classes and many hundreds of package. Just specify which to use by a command.
Would you really like to have a single .tex file, where a class, packages, bibliography etc. are integrated? What if you decide to change the class or packages?
In case you are not convinced yet, the best way to learn what is better: try working with one big file. Copy class and package codes into the file, and work with this document. It would be great if you would tell us your personal opinion then.
Stefan
LaTeX.org admin
- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
Template for specific math book
As Stefan said, large chunks of code becomes (almost infinitely) clearer when it is devided into different parts. Furthermore, bibliographies, e.g., are created using BibTeX which is a separate program.
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
-- Zapp Brannigan, Futurama (season 1, episode 4)