New answers tagged

8

Creating such document is not that easy. Here is a start using the document class scrarticl from KOMAscript, because it is easy to manipulate fonts and other attributes. \documentclass{scrartcl} \usepackage{MinionPro} \usepackage{showframe} \usepackage{textcase} \let\sffamily\rmfamily \renewcommand*\ShowFrameColor{\color{red}} \addtokomafont{subtitle}{\...


0

Use something like this in your preamble: \titleformat{name=\chapter, numberless}[block]{\normalfont\filcenter\Huge\bfseries}{}{0pt}{#1} All unnumbered chapters will be formatted with this code. When I use this code in my preamble is gives me the following error message:


2

As Marijn already noted in the comments, you will have to replace \right} with \right\} in order to make your example compilable. However, this will also horizontally center your tabulars as can be seen here: If you instead perfer left alignment, I'd recommend using the bigdelim package and its \rdelim\} command: \documentclass{scrbook} \usepackage[T1]{...


1

You did not mentioned the class used in your document. With a KOMA-Script class you can use option headings=optiontohead: \documentclass[headings=optiontohead]{scrbook} \usepackage{lipsum} \pagestyle{headings} \begin{document} \tableofcontents \part[P 1]{Part 1} \chapter[C 1]{Chatper 1} \lipsum \section[S 1]{Section 1} \lipsum \section[S 2]{Section 2} \...


2

Without any packages, you can set "marks" to specify the content of running heads. If you want the same header on both left and right pages: \section{full section header} \markboth{short header text}{short header text} If you want this header on only the righthand pages: \section{full section header} \markright{short header text}


2

One way is to use the titlesec package with the toctitles option. For example: \documentclass{article} \usepackage[toctitles]{titlesec} \usepackage{lipsum} \pagestyle{headings} \begin{document} \tableofcontents \section[L 1]{Lipsum 1} \lipsum \section[L 2]{Lipsum 2} \lipsum \section[L 3]{Lipsum 3} \lipsum \end{document} Unfortunately, it doesn't affect ...


0

For my case in particular, the solution given by @leandriis is perfectly valid. The only thing is that I have a series of warnings like this one Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): removing \mhchem@cee' on input line 96. and Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): removing ...


0

Use a chemistry package, for instance chemformula (or mhchem): \documentclass[12pt,twoside,a4paper]{report} \usepackage{lmodern} \usepackage{amssymb,amsmath,amsthm} \usepackage{chemformula} \begin{document} \section{Properties of \ch{Ti3SiC2}} \end{document} Below a picture showing what you'd get in the table of contents. Side notes: the pdftex option ...


2

I guess you are looking for the \boldmath macro. In a standard document \documentclass{article} \begin{document} $\mathrm{ZrB_2+SiC}$ vs. {\boldmath$\mathrm{ZrB_2+SiC}$} \end{document} A possibility that might work for you to avoid too much extra encoding is to add \boldmath to any invocation of \bfseries. This can be done via the internal macro \g@...


Top 50 recent answers are included