New answers tagged

2

You need to modify also \chaptermark: \documentclass[letterpaper,12pt,oneside]{book} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage[ bottom=2.5cm, top=3cm, left=1.8cm, right=1.8cm, footnotesep=0.5cm, % showframe, ]{geometry} \usepackage[flushmargin]{footmisc} \usepackage{graphicx} \usepackage{lipsum} % just for the test \...


0

You could simply use the following in the preamble: \makeatletter \newlength\mywidth \settowidth{\mywidth}{\ } \def\@chapapp{\hspace*{-\mywidth}} \makeatother Now your MWE can be updated as: \documentclass[letterpaper,12pt,oneside]{book} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage[spanish]{layout} \usepackage{graphics,graphicx} \...


4

You can reset the margins in \@makefntext % !TeX encoding = UTF-8 \documentclass[letterpaper,12pt,oneside]{book} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage[spanish]{layout} \usepackage{graphics,graphicx} \usepackage[bottom=2.5cm,top=3cm,left=1.8cm,right=1.8cm,footnotesep=0.5cm]{geometry} % ,showframe \usepackage[flushmargin]{...


1

\documentclass[12pt,a4paper,twoside]{book} \usepackage{geometry} \geometry{showframe,left=7cm} \begin{document} \begin{titlepage} \begin{center} \vspace*{\fill} \large\textbf{\thepage}\par This is a right hand page \vfill \end{center} \end{titlepage} \end{document}


2

Something like this perhaps (The special table design is left to the O.P. -- it depends on personal tastes) I've defined a simple key-value interface that takes the relevant entries as values and typesets. Since all is set in a group and preset to be empty, the default values are all empty. I also added a .lob file to be generated, i.e. a list of ...


1

A note about this: Should I include tikz graphs etc. when the book is finished? Because I have a feeling that after some point with many tikz pictures, compiling the code will last quite long. I strongly suggest you write your tikz graphs and diagrams in separate files and includegraphcs them. In fact, I would go one step further and generate the ...


0

The macro \story combines the table of contents from \chapter and the title from \chapter*. I also eliminated the "short title" option for simplicity. The float stuff is probably unnecessary. I eliminated all the Nowegian stuff since it should have no bearing and I can't test it anyway. \documentclass[oneside]{book} \usepackage{lipsum} \makeatletter \...


5

I learned many good ideas about writing a mathematics book in LaTeX from the code found in the Stacks Project: http://stacks.math.columbia.edu/contribute. This is a huge and extremely complicated book, currently over 5000 pages, with 230 authors. If you have more than one author, avoid using all but the simplest code, and define few macros, because different ...



Top 50 recent answers are included