抱歉,我是回忆录方面的新手。这就是我想做的。但是文本跨越了修剪,远远超出了它应该占据的区域。修剪似乎也不正确。如果能得到任何帮助,我将不胜感激。
维卡斯
\documentclass[11pt,a4paper,twoside,openright,showtrims]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\tolerance=1000
\linespread{1.1}
\usepackage{float}
\usepackage{caption}
\usepackage{color,graphicx}
\trimFrame
\settrimmedsize{21cm}{13.8cm}{*}
\settypeblocksize{48.36942pt}{31.29786pt}{*}
\setlength{\trimtop}{0pt}
\setlength{\trimedge}{\stockwidth}
\addtolength{\trimedge}{-\paperwidth}
\setlrmargins{*}{3.1cm}{*}
\setulmargins{4.5\onelineskip}{*}{*}
\setheadfoot{\onelineskip}{3\onelineskip}
\setheaderspaces{\onelineskip}{*}{*}
\chapterstyle{veelo}
\pagestyle{ruled}
\checkandfixthelayout[lines]
\makeevenhead{ruled}{Book title}{}{}
\makeoddhead{ruled}{}{}{\leftmark}
\makeevenfoot{myheadings}{\thepage}{}{}
\makeoddfoot{myheadings}{}{}{\thepage}
\usepackage[dvipsnames,svgnames,table]{xcolor}
\usepackage{comment,multirow,tabulary,booktabs,threeparttable,tabularx,xcolor,lmodern,graphicx,longtable,float,wrapfig,url,underscore}
\usepackage{pdflscape}
\usepackage[backgroundcolor=gray!40,roundcorner=8pt,skipabove=10pt,skipbelow=10pt,leftmargin=10pt,rightmargin=10pt]{mdframed}
\newcounter{infobox}[chapter]
\renewcommand{\theinfobox}{\thechapter.\arabic{infobox}}
\newenvironment{infobox}[1][]{%
\refstepcounter{infobox}
\begin{mdframed}[%
frametitle={Box \theinfobox\ #1},
skipabove=\baselineskip plus 2pt minus 1pt,
skipbelow=\baselineskip plus 2pt minus 1pt,
linewidth=0.5pt,
frametitlerule=true,
repeatframetitle=true,
frametitlebackgroundcolor=gray!30
]%
}{%
\end{mdframed}
}
\usepackage{parnotes,comment,multirow,amsmath,amssymb,marvosym,wasysym}
\usepackage[T1]{fontenc}
\usepackage[normalem]{ulem}
\usepackage[citestyle=authoryear-icomp,bibstyle=authoryear,hyperref=true,maxcitenames=3,url=true,backend=biber,natbib=true]{biblatex}
\usepackage[version=3]{mhchem}
\usepackage[innermargin=1.5in,outermargin=1.25in,vmargin=1.25in]{geometry}
\usepackage[below]{placeins}
\hypersetup{colorlinks=true,citecolor=blue,linkcolor=blue,citebordercolor={0 1 0},linktocpage,pdfstartview=FitH,anchorcolor=blue,filecolor=blue,menucolor=blue,urlcolor=blue}
\addbibresource{combinedbib.bib}
\newcounter{box}[section]
\setcounter{secnumdepth}{2}
\date{}
\title{Title of the Book?}
\begin{document}
\begin{titlingpage}
\maketitle
\end{titlingpage}
\tableofcontents
\chapter{Memoir with Trim}
\section{First section}
\lipsum
\chapter{Second Chapter}
\lipsum
\end{document}