Просмотр исходного кода

* Fixes bug reported by Joachim where using \sidenote inside the 'verse'

environment would cause indentation problems.  Hopefully this doesn't break
  other things.


git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@140 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Kevin M. Godby 16 лет назад
Родитель
Сommit
3527daa49b
3 измененных файлов: 5 добавлений и 7 удалений
  1. Двоичные данные
      sample-book.pdf
  2. Двоичные данные
      sample-handout.pdf
  3. +5
    -7
      tufte-common.def

Двоичные данные
sample-book.pdf Просмотреть файл


Двоичные данные
sample-handout.pdf Просмотреть файл


+ 5
- 7
tufte-common.def Просмотреть файл

@@ -392,13 +392,15 @@
%% %%
% \RaggedRight allows hyphenation % \RaggedRight allows hyphenation


\setlength{\parindent}{1.0pc}%
\setlength{\parskip}{0pt}%
\RequirePackage{ragged2e} \RequirePackage{ragged2e}
\setlength{\RaggedRightRightskip}{\z@ plus 0.08\hsize} \setlength{\RaggedRightRightskip}{\z@ plus 0.08\hsize}
\setlength{\RaggedRightParindent}{1pc}


% Paragraph indentation and separation for normal text % Paragraph indentation and separation for normal text
\newcommand{\@tufte@reset@par}{% \newcommand{\@tufte@reset@par}{%
\setlength{\RaggedRightParindent}{1.0pc}% \setlength{\RaggedRightParindent}{1.0pc}%
\setlength{\JustifyingParindent}{1.0pc}%
\setlength{\parindent}{1pc}% \setlength{\parindent}{1pc}%
\setlength{\parskip}{0pt}% \setlength{\parskip}{0pt}%
} }
@@ -407,6 +409,7 @@
% Paragraph indentation and separation for marginal text % Paragraph indentation and separation for marginal text
\newcommand{\@tufte@margin@par}{% \newcommand{\@tufte@margin@par}{%
\setlength{\RaggedRightParindent}{0.5pc}% \setlength{\RaggedRightParindent}{0.5pc}%
\setlength{\JustifyingParindent}{0.5pc}%
\setlength{\parindent}{0.5pc}% \setlength{\parindent}{0.5pc}%
\setlength{\parskip}{0pt}% \setlength{\parskip}{0pt}%
} }
@@ -893,7 +896,6 @@
\bibentry{\@temp@bibkeyx};\ }% \bibentry{\@temp@bibkeyx};\ }%
\stepcounter{@tufte@num@bibkeys}% \stepcounter{@tufte@num@bibkeys}%
}% }%
\@tufte@reset@par% use parindent and parskip settings for body text
}% }%
} }


@@ -967,7 +969,6 @@
}% }%
\color@endgroup% \color@endgroup%
}% }%
\@tufte@reset@par% use parindent and parskip settings for body text
}% }%


% %
@@ -1014,9 +1015,7 @@
\newcommand\marginnote[2][0pt]{% \newcommand\marginnote[2][0pt]{%
\let\cite\@tufte@infootnote@cite% use the in-sidenote \cite command \let\cite\@tufte@infootnote@cite% use the in-sidenote \cite command
\gdef\@tufte@citations{}% clear out any old citations \gdef\@tufte@citations{}% clear out any old citations
\@tufte@margin@par% use parindent and parskip settings for marginal text
\marginpar{\hbox{}\vspace*{#1}\@tufte@marginnote@font\@tufte@marginnote@justification\vspace*{-1\baselineskip}\noindent #2}%
\@tufte@reset@par% use parindent and parskip settings for body text
\marginpar{\hbox{}\vspace*{#1}\@tufte@marginnote@font\@tufte@marginnote@justification\@tufte@margin@par\vspace*{-1\baselineskip}\noindent #2}%
\@tufte@print@citations% print any citations \@tufte@print@citations% print any citations
\let\cite\@tufte@normal@cite% go back to using normal in-text \cite command \let\cite\@tufte@normal@cite% go back to using normal in-text \cite command
} }
@@ -1046,7 +1045,6 @@
{\end{minipage}% {\end{minipage}%
\end{lrbox}% \end{lrbox}%
\marginpar{\usebox{\@tufte@margin@floatbox}}% \marginpar{\usebox{\@tufte@margin@floatbox}}%
\@tufte@reset@par%
} }






Загрузка…
Отмена
Сохранить