Tag Info

New answers tagged

1

The example environment uses a exampleT environment defined as a theorem-like structure with style blacknumex which adds the little square at the beginning. You can define a similar style blacknumexocresq with the square in ocre color and an exampleM structure using this style. The redefine example to use exampleM instead of exampleT (or define another ...


4

You can obtain something that looks more or less like the image, if you use a font, among other things, that has historical ligatures. Here is a attempt, using the (commercial) font SabonNext LT Pro, fontspec and XeLaTeX: \documentclass[12pt,b5paper,twoside]{report} \usepackage{microtype} \usepackage{fontspec} \defaultfontfeatures{Numbers = ...


4

The template internally uses an eBox environment build with mdframed, so you can provide a similar definition for your box: The code: \documentclass{book} \input{structure} \newenvironment{myboxedtext}[1] {\begin{eBox}\textcolor{ocre}{{\bfseries\small\sffamily#1~}}} {\hfill{\color{ocre}\tiny\ensuremath{\blacksquare}}\end{eBox}} ...


1

If you do not want the figures to float away, just do not use a floating environment like figure. I can not test your case, as I have no real MWE, but I guess that something is pushing your figure to a position, LaTeX sees better fit in. Below I show you how to get the same result with a center (second figure). This environment does not float. % arara: ...


2

If you switch to titleps, you can use your current code and it seems to work. Better would probably be to use the package's extended support for additional sets of marks, avoiding the need for a workaround. Or, since you are using titlesec, you could probably just set the sectioning command up to avoid the need for special measures. However, without seeing ...


1

The package scrlayer-scrpage is another possibility: \documentclass[12pt]{book} \usepackage{blindtext} \usepackage{scrlayer-scrpage} \clearpairofpagestyles \cfoot*{\pagemark} \begin{document} \tableofcontents \chapter{Introduction} \blinddocument \end{document}


5

The book document class uses the headings page style for all pages except those that contain chapter headings (which use the plain page style). If I understand your requirements correctly, you want all pages to use the plain page style. This objective may be achieved by adding the following instruction to the document's preamble: \pagestyle{plain}


5

One way: Use the fancyhdr package and kick out all footers/headers first with \fancyhf{} and then enable \cfoot{\thepage} for a bottom page number, centered. Use \pagestyle{fancy} then. \documentclass[12pt]{book} \usepackage{blindtext} \usepackage{fancyhdr} \fancyhf{} \renewcommand{\headrulewidth}{0pt} \cfoot{\thepage} \begin{document} ...



Top 50 recent answers are included