Text FormattingApostrophe in title section gets rendered as a section symbol

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Tolaso
Posts: 37
Joined: Tue Dec 20, 2016 12:23 am

Apostrophe in title section gets rendered as a section symbol

Post by Tolaso »

I'm not sure if this is the proper forum to post the question but here goes.

I'm using the memoir document class to typeset a book for my math class. However, when I type the section

Code: Select all

\section{Κανόνας \textlatin{DeL' Hospital}}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
while in the TOC it gets printed right as

Κανόνας DeL' Hospital

in the header of the current chapter it gets printed as
Στιγμιότυποαπό2018-04-0713-36-19.jpg
Στιγμιότυποαπό2018-04-0713-36-19.jpg (5 KiB) Viewed 4172 times
I'm presenting the entire preamble since in a vanilla document I cannot reproduce the problem , although in the header of the vanilla I don't get that weird symbol but I got ' either.

Code: Select all

Code, edit and compile here:
\documentclass[11pt, a4paper]{memoir}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\renewcommand\qedsymbol{$\blacklozenge$}
\usepackage[shortlabels]{enumitem}
\usepackage{cancel}
\usepackage{bigints}
\usepackage[most]{tcolorbox}
\usepackage[utf8]{inputenc}
\usepackage[english, greek]{babel}
\usepackage{multicol}
%chapter style ( Bringhurst chapter style)
\usepackage[T1]{fontenc}
% not then font used by Bringhurst, but anyway:
\usepackage{libertine}
% we want to letterspace uppercased words and those in small caps, so:
\usepackage{microtype}
% the chapter style:
\usepackage{xcoffins,xcolor}
\NewCoffin\main
\NewCoffin\titleline
\NewCoffin\chapternumber
\makechapterstyle{Bringhurst}{%
\renewcommand*\chapterheadstart{}
\renewcommand*\printchaptername{}
\renewcommand*\chapternamenum{}
\renewcommand*\afterchapternum{}
% numbered chapters:
\renewcommand*\printchapternum{%
\SetHorizontalCoffin\chapternumber{%
\textcolor{black!10}{\thechapter}%
}%
\ScaleCoffin\chapternumber{8}{8}%
}
% unnumbered chapters:
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Recommended reading 2024:

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

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

Courtney McDaniel
Posts: 7
Joined: Mon Apr 16, 2018 11:04 am

Apostrophe in title section gets rendered as a section symbol

Post by Courtney McDaniel »

Hah, I think that this problem is so common among beginners, even a post dedicated to it)

Thanks, it worked!
Post Reply