Fonts & Character Setsminitoc Font, And, Width In multicols

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
kurttodoroff
Posts: 27
Joined: Thu Feb 07, 2019 4:25 pm

minitoc Font, And, Width In multicols

Post by kurttodoroff »

I am using the minitoc package inside a multicolumn environment.

Code: Select all

Code, edit and compile here:
\usepackage{minitoc}
\dominitoc[l]
\mtcsettitle{minitoc}{}
\mtcsetrules{*}{off}
\mtcsetoffset{minitoc}{-4.0em}
\chapter{NORMAL PROCEDURES}\label{NORMAL-PROCEDURES}
\begin{multicols}{2}
\section*{TABLE OF CONTENTS}
\minitoc
\section*{PREPARATION FOR FLIGHT}
\addcontentsline{toc}{section}{Preparation For Flight}
\subsection*{FLIGHT PLANNING}
.
.
.
\end{multicols}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Screen Shot 2019-03-24 at 10.12.38.jpg
Screen Shot 2019-03-24 at 10.12.38.jpg (121.93 KiB) Viewed 6269 times
1: I would like to use the document font (Helvetica, phv) in the minitoc.

2: I would like to increase the width of the minitoc so as to reduce the occurrence of line wraps, such as the one that appears in the fourth minitoc entry.

I could not find these answers in the minitoc documentation.

Thank you.

Kurt

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

minitoc Font, And, Width In multicols

Post by Stefan Kottwitz »

Hi Kurt,

if I add this to your code, everything is in Helvetica (phv):

\renewcommand{\familydefault}{phv}

Thanks for posting code! I and every reader who likes to make a suggestion that works, has to add by himself:

Code: Select all

Code, edit and compile here:
\documentclass{book}
\usepackage{multicol}
\usepackage{minitoc}
\usepackage{helvet}
\begin{document}
...
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
It would be easier for readers to post a compilable code (complete, small), it improves the chance to get a working answer.

Thanks!

Stefan
LaTeX.org admin
kurttodoroff
Posts: 27
Joined: Thu Feb 07, 2019 4:25 pm

minitoc Font, And, Width In multicols

Post by kurttodoroff »

Hi, Stefan.

The document included the command \renewcommand{\familydefault}{phv}, before I posted my message, yet, minitoc did not use this font.

I added the command \usepackage{helvet}. This did not remedy the situation. I have removed it, for now.

The document contains over 3,300 lines, and, is growing rapidly. I will attempt to abbreviate it for posting in this thread. In the mean time, do you have other suggestions? Also, what are your thoughts on widening the minitoc width?

Regards,

Kurt
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

minitoc Font, And, Width In multicols

Post by Stefan Kottwitz »

Hi Kurt,

it should not be hard to cut down a copy of the document, removing like 95% of actual text to just keep preamble, structure, dummy filler text, as long as it is compilable and produces the wrong output. Otherwise it's hard to guess what in the document causes it. I posted 9336 answers here with solutions, that's only possible when I can test code quickly to propose a fix. ;-)

Stefan
LaTeX.org admin
kurttodoroff
Posts: 27
Joined: Thu Feb 07, 2019 4:25 pm

minitoc Font, And, Width In multicols

Post by kurttodoroff »

Hi, Stefan.

I am providing an abbreviated version of my document.

Thank you.

Kurt

Code: Select all

Code, edit and compile here:
%&LaTeX (tells OzTeX to use LaTeX.fmt)
% Source file for "FLIGHT MANUAL".
\documentclass[11pt]{report}
% \input{Kurts-Commands}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%% START KURT'S GLOBAL COMMANDS %%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{verbatim} % KRT 1997-12-27 for using \begin-end{comment}
\usepackage{multicol} % KRT 1999-01-12 for using multicolumn environment
\usepackage{lscape} % KRT 1999-03-19
\usepackage{fancyhdr} % KRT 1999-10-03
\usepackage{textcomp} % KRT 2001-07-22
\usepackage{latexsym} % KRT 2001-08-18
\usepackage{amsmath} % KRT 2011-06-23
\usepackage{amssymb} % KRT 2001-08-18
\usepackage{marvosym} % KRT 2010-12-15
\usepackage{wasysym} % KRT 2010-12-15
\usepackage{eurosym} % KRT 2010-12-15
\usepackage{lastpage} % KRT 2003-09-10
\usepackage{graphicx} % KRT 2004-07-31
\usepackage{xr} % KRT 1997-08-04
\usepackage{makeidx} % KRT 2007-09-26
\usepackage[normalem]{ulem} % KRT 2009-11-28
\usepackage{color} % KRT 2011-01-18
\usepackage{tikz} % KRT 2011-05-03
\usepackage{calc} % KRT 2011-05-03
\usepackage{slantsc} % KRT 2011-05-03
\usepackage[sc]{mathpazo} % KRT 2011-05-03
\usepackage{framed} % KRT 2011-05-18
\usepackage{datenumber} % KRT 2011-06-04
\usepackage{fp} % KRT 2011-06-04
\usepackage{datetime} % KRT 2011-06-20
\usepackage{lineno} % KRT 2012-06-03
\usepackage{dcolumn} % KRT 2012-06-03
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Post Reply