这个问题之前有人问过。但是,我还没有找到解决办法。我有一个与引号相关的问题。
MWE 是:
主要文件:
\documentclass[10pt,english,british,twoside,openany]{scrbook}
\usepackage{novel}
然后,
novel.sty:
\usepackage{csquotes}
\MakeOuterQuote{"}
我需要能够获得左/右单引号和左/右双引号。
生成的 .pdf 包含所有以相同方式(向前)倾斜的直引号。我尝试了多种方法将引号添加到文本中,但均未成功。这是因为我选择的字体(Palatino)吗?
非常感谢您的帮助,让我能够获得花体印刷引号。有没有简单的方法可以实现这一点?
再次感谢您的关注。这是我的 MWE。
主要的.tex 文件是:
%TITR Main Document 5.06in x 7.81in, facing pages
%Preamble
\documentclass[10pt,english,british,twoside,openany]{scrbook}
\usepackage{novel}
%Frontmatter
\begin{document}
\title{Tears in the Rain}
\date{}
\maketitle
\frontmatter
\pagestyle{empty} %Empty page left
\noindent \begin{flushright}
{\huge{}Tears in the Rain}
\par\end{flushright}{\huge \par}
\cleardoubleoddemptypage
\thispagestyle {empty}
\includegraphics{./images/bensig}
\vspace*{0.5in}
\begin{flushright}
{\Huge{}Tears in the Rain}
\par\end{flushright}{\Huge \par}
%Add an empty page and Copyright material.
\clearpage
\begin{center}
\emph{Copyright}
\end{center}
\begin{center}
\textcopyright{ 2014 Ben Francis All rights reserved.}
\end{center}
\vspace*{0.5in}
\begin{center}
\begin{minipage}[t]{0.5\paperwidth}
No part of this publication may be reproduced, stored
in a retrieval system, or transmitted in any form, or by any means;
mechanical, electrical, photocopying, scanning, recording or otherwise,
without prior written consent from the publishers. Every effort has
been made to contact all copyright holders. The author and publisher
will gladly rectify any omissions.
\end{minipage}
\end{center}
\vspace*{0.5in}
\begin{center}
ISBN:
\end{center}
\vspace*{0.2in}
\begin{center}
A CIP Record for this book is available from the British
Library.
\end{center}
\vspace*{0.1in}
\begin{center}
Typeset in \LaTeXe
\end{center}
%Insert an empty left page
\cleardoubleoddemptypage
\thispagestyle {empty}
\vspace*{\fill}
%Table of Contents
\tableofcontents
\markboth{\MakeUppercase{Preface}}{}
\addcontentsline{toc}{chapter}{Preface}
\chapter*{Preface}
\input{./chapters/a_front/pref.tex}
%\subfile{./chapters/a_front/pref.tex}
%Mainmatter
\mainmatter
\noindent
%The header and footer
\pagestyle{fancy}
\fancyhead[LE,RO]{\tiny \slshape \leftmark}
\fancyhead[LO,RE]{\tiny \slshape Ben Francis}
\fancyhead[C]{}
\fancyfoot[C]{\small \slshape \thepage \hspace{3mm} Tears in the Rain}
\fancyfoot[RO]{\small \slshape Tears in the Rain}
\fancyfoot[LE]{\small \slshape Tears in the Rain}
\fancyfoot[C]{\thepage}
\renewcommand{\footrulewidth}{0.25pt}
%The Chapters
\input{./child_docs/child_docs.tex}
\end{document}
这将调用“novel.sty”:
%novel.sty (Style package for the novel template)
\usepackage{microtype}
\usepackage{palatino}
\usepackage[utf8]{inputenc}
\usepackage{ebgaramond}
\usepackage{lmodern}
\usepackage{enumitem}
\usepackage[sc]{mathpazo}
\linespread{1.1}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{framed}
\usepackage{ragged2e}
\usepackage[Lenny]{fncychap}
\usepackage{lettrine}
\usepackage{graphicx}
\usepackage[UKenglish]{babel}
\usepackage{type1cm}
\usepackage{lettrine}
\renewcommand\thepart{\Alph{part}}
\renewcommand*\rmdefault{ppl}
\newcommand{\apostrophe}{\XeTeXglyph\XeTeXcharglyph"0027\relax}
\KOMAoptions{open=any}
\renewcommand*\rmdefault{ppl}
\usepackage{fancyhdr}
\setlength{\headheight}{15.2pt}
\pagestyle{fancy}
\widowpenalty=300
\clubpenalty=300
\renewcommand*{\partpagestyle}{empty}
%Settings for quotation marks<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
\usepackage[autostyle, english = british]{csquotes}
\MakeOuterQuote{"}
%Settings for page size and layout >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
\usepackage[paperwidth=5.06in,paperheight=7.81in]{geometry}
\geometry{verbose,tmargin=0.5in,bmargin=1in,inner=0.75in,outer=0.5in,headheight=0.1in,headsep=0.15in,footskip=0.45in,twoside}
%Character dialogue settings >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
\newlist{dialogdash}{description}{1}
\setlist[dialogdash]{labelindent = 0.25in, leftmargin = \labelindent, labelsep = 0.3em, rightmargin = 0.35in, nosep,topsep = 0.5ex, itemsep = 0.5ex, align = left}
\newenvironment{dlgdash}{\begin{dialogdash}\item[---]}{\end{dialogdash}}
\newlist{dialognodash}{itemize}{1}
\setlist[dialognodash]{label = ,labelindent = 0.25in, leftmargin = \labelindent, rightmargin = 0.35in, nosep, topsep = 0.1ex, itemsep = 0.1ex, align = left}
\newenvironment{dlgnodash}{\begin{dialognodash}\item }{\end{dialognodash}}
\def\bdlg{\begin{dlgnodash}}
\def\edlg{\end{dlgnodash}}
%End Dialogue settings <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
最后是“child_docs.tex”文件:
\input{./chapters/part_one/part_one.tex}
\chapter{One}
\input{./chapters/chap_one/scenes/one_one.tex}
\input{./chapters/chap_one/scenes/one_two.tex}
\input{./chapters/chap_one/scenes/one_three.tex}
\input{./chapters/chap_one/scenes/one_four.tex}
\chapter{Two}
\input{./chapters/chap_two/scenes/two_one.tex}
\input{./chapters/chap_two/scenes/two_two.tex}
\input{./chapters/chap_two/scenes/two_three.tex}
\input{./chapters/chap_two/scenes/two_four.tex}
\chapter{Three}
\input{./chapters/chap_three/scenes/three_one.tex}
\input{./chapters/chap_three/scenes/three_two.tex}
\input{./chapters/chap_three/scenes/three_three.tex}
\input{./chapters/chap_three/scenes/three_four.tex}
\input{./chapters/part_two/part_two.tex}
\chapter{Four}
\input{./chapters/chap_four/scenes/four_one.tex}
\input{./chapters/chap_four/scenes/four_two.tex}
\input{./chapters/chap_four/scenes/four_three.tex}
\input{./chapters/chap_four/scenes/four_four.tex}
\chapter{Five}
\input{./chapters/chap_five/scenes/five_one.tex}
\input{./chapters/chap_five/scenes/five_two.tex}
\input{./chapters/chap_five/scenes/five_three.tex}
\input{./chapters/chap_five/scenes/five_four.tex}
\chapter{Six}
\input{./chapters/chap_six/scenes/six_one.tex}
\input{./chapters/chap_six/scenes/six_two.tex}
\input{./chapters/chap_six/scenes/six_three.tex}
\input{./chapters/chap_six/scenes/six_four.tex}
\input{./chapters/part_three/part_three.tex}
\chapter{Seven}
\input{./chapters/chap_seven/scenes/seven_one.tex}
\input{./chapters/chap_seven/scenes/seven_two.tex}
\input{./chapters/chap_seven/scenes/seven_three.tex}
\input{./chapters/chap_seven/scenes/seven_four.tex}
\chapter{Eight}
\input{./chapters/chap_eight/scenes/eight_one.tex}
\input{./chapters/chap_eight/scenes/eight_two.tex}
\input{./chapters/chap_eight/scenes/eight_three.tex}
\input{./chapters/chap_eight/scenes/eight_four.tex}
\chapter{Nine}
\input{./chapters/chap_nine/scenes/nine_one.tex}
\input{./chapters/chap_nine/scenes/nine_two.tex}
\input{./chapters/chap_nine/scenes/nine_three.tex}
\input{./chapters/chap_nine/scenes/nine_four.tex}
\input{./chapters/part_four/part_four.tex}
\chapter{Ten}
\input{./chapters/chap_ten/scenes/ten_one.tex}
\input{./chapters/chap_ten/scenes/ten_two.tex}
\input{./chapters/chap_ten/scenes/ten_three.tex}
\input{./chapters/chap_ten/scenes/ten_four.tex}
\chapter{Eleven}
\input{./chapters/chap_eleven/scenes/eleven_one.tex}
\input{./chapters/chap_eleven/scenes/eleven_two.tex}
\input{./chapters/chap_eleven/scenes/eleven_three.tex}
\input{./chapters/chap_eleven/scenes/eleven_four.tex}
\chapter{Twelve}
\input{./chapters/chap_twelve/scenes/twelve_one.tex}
\input{./chapters/chap_twelve/scenes/twelve_two.tex}
\input{./chapters/chap_twelve/scenes/twelve_three.tex}
\input{./chapters/chap_twelve/scenes/twelve_four.tex}
\chapter{Thirteen}
\input{./chapters/chap_thirteen/scenes/thirteen_one.tex}
\input{./chapters/chap_thirteen/scenes/thirteen_two.tex}
\input{./chapters/chap_thirteen/scenes/thirteen_three.tex}
\input{./chapters/chap_thirteen/scenes/thirteen_four.tex}
\input{./chapters/part_five/part_five.tex}
\chapter{Fourteen}
\input{./chapters/chap_fourteen/scenes/fourteen_one.tex}
\input{./chapters/chap_fourteen/scenes/fourteen_two.tex}
\input{./chapters/chap_fourteen/scenes/fourteen_three.tex}
\input{./chapters/chap_fourteen/scenes/fourteen_four.tex}
\chapter{Fifteen}
\input{./chapters/chap_fifteen/scenes/fifteen_one.tex}
\input{./chapters/chap_fifteen/scenes/fifteen_two.tex}
\input{./chapters/chap_fifteen/scenes/fifteen_three.tex}
\input{./chapters/chap_fifteen/scenes/fifteen_four.tex}
\chapter{Sixteen}
\input{./chapters/chap_sixteen/scenes/sixteen_one.tex}
\input{./chapters/chap_sixteen/scenes/sixteen_two.tex}
\input{./chapters/chap_sixteen/scenes/sixteen_three.tex}
\input{./chapters/chap_sixteen/scenes/sixteen_four.tex}
\input{./chapters/part_six/part_six.tex}
\chapter{Seventeen}
\input{./chapters/chap_seventeen/scenes/seventeen_one.tex}
\input{./chapters/chap_seventeen/scenes/seventeen_two.tex}
\input{./chapters/chap_seventeen/scenes/seventeen_three.tex}
\input{./chapters/chap_seventeen/scenes/seventeen_four.tex}
\chapter{Eighteen}
\input{./chapters/chap_eighteen/scenes/eighteen_one.tex}
\input{./chapters/chap_eighteen/scenes/eighteen_two.tex}
\input{./chapters/chap_eighteen/scenes/eighteen_three.tex}
\input{./chapters/chap_eighteen/scenes/eighteen_four.tex}
\chapter{Nineteen}
\input{./chapters/chap_nineteen/scenes/nineteen_one.tex}
\input{./chapters/chap_nineteen/scenes/nineteen_two.tex}
\input{./chapters/chap_nineteen/scenes/nineteen_three.tex}
\input{./chapters/chap_nineteen/scenes/nineteen_four.tex}
\input{./chapters/part_seven/part_seven.tex}
\chapter{Twenty}
\input{./chapters/chap_twenty/scenes/twenty_one.tex}
\input{./chapters/chap_twenty/scenes/twenty_two.tex}
\input{./chapters/chap_twenty/scenes/twenty_three.tex}
\input{./chapters/chap_twenty/scenes/twenty_four.tex}
\chapter{Twenty-One}
\input{./chapters/chap_twentyone/scenes/twentyone_one.tex}
\input{./chapters/chap_twentyone/scenes/twentyone_two.tex}
\input{./chapters/chap_twentyone/scenes/twentyone_three.tex}
\input{./chapters/chap_twentyone/scenes/twentyone_four.tex}
\chapter{Twenty-Two}
\input{./chapters/chap_twentytwo/scenes/twentytwo_one.tex}
\input{./chapters/chap_twentytwo/scenes/twentytwo_two.tex}
\input{./chapters/chap_twentytwo/scenes/twentytwo_three.tex}
\input{./chapters/chap_twentytwo/scenes/twentytwo_four.tex}
\chapter{Twenty-Three}
\input{./chapters/chap_twentythree/scenes/twentythree_one.tex}
\input{./chapters/chap_twentythree/scenes/twentythree_two.tex}
\input{./chapters/chap_twentythree/scenes/twentythree_three.tex}
\input{./chapters/chap_twentythree/scenes/twentythree_four.tex}
\chapter{Twenty-Four}
\input{./chapters/chap_twentyfour/scenes/twentyfour_one.tex}
\input{./chapters/chap_twentyfour/scenes/twentyfour_two.tex}
\input{./chapters/chap_twentyfour/scenes/twentyfour_three.tex}
\input{./chapters/chap_twentyfour/scenes/twentyfour_four.tex}
\chapter{Twenty-Five}
\input{./chapters/chap_twentyfive/scenes/twentyfive_one.tex}
\input{./chapters/chap_twentyfive/scenes/twentyfive_two.tex}
\input{./chapters/chap_twentyfive/scenes/twentyfive_three.tex}
\input{./chapters/chap_twentyfive/scenes/twentyfive_four.tex}
\chapter*{Meet the Author}
\addcontentsline{toc}{chapter}{Meet the Author}
\input{./chapters/d_back/back.tex}
答案1
您正在加载几个无用的字体包:您有
\usepackage{palatino}
\usepackage{ebgaramond}
\usepackage{lmodern}
\usepackage[sc]{mathpazo}
\usepackage{type1cm}
palatino
已过时;ebgaramond
使 的动作无效palatino
;lmodern
使 的动作无效ebgaramond
;mathpazo
使 的动作无效lmodern
。
接下来type1cm
定义一些永远不会使用的字体系列。
但是你也有
\renewcommand*\rmdefault{ppl}
这使得 的大部分操作无效mathpazo
。你最终得到了 Palatino,但几乎是偶然的(并且属于错误的家族)。
如果你想要 Palatino 作为主要字体,只需使用
\usepackage[sc]{mathpazo}
或者
\usepackage{newpxtext,newpxmath}
和不 \renewcommand\rmdefault{...}
命令。将其留给所选的字体包。
关于“印刷引号”的“问题”,只有一件事要做:Palatino 的引号是由 Hermann Zapf 以一种相当奇特的方式设计的:输入
``quotes''
\bigskip
"quotes"
(根据您的定义\MakeOuterQuote
)产生
这与 Zapf 设计的引号一致。