瀏覽代碼

* Removed the old \marginfigure and \margintable commands.

* Renamed `marginfig' and `margintab' environments to `marginfigure' and
  `margintable', respectively.


git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@49 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Kevin M. Godby 18 年之前
父節點
當前提交
ad9c32e60a
共有 1 個文件被更改,包括 2 次插入25 次删除
  1. +2
    -25
      tufte-handout.cls

+ 2
- 25
tufte-handout.cls 查看文件

@@ -262,22 +262,11 @@
% keep the float (figure and table) numbers in sequence.
\RequirePackage{placeins}

%%
% Margin figure

\newcommand{\marginfigure}[2]%
[-1.2ex]%
{\FloatBarrier% process all floats before this point so the figure numbers stay in order.
\marginpar{\@tufteh@marginfont
\def\@captype{figure}
\vspace*{#1}
\@tufteh@raggedright #2}}

%%
% Margin figure environment

\newsavebox{\@tufteh@marginfigbox}
\newenvironment{marginfig}[1]
\newenvironment{marginfigure}[1]
[-1.2ex]
{\FloatBarrier% process all floats before this point so the figure numbers stay in order.
\begin{lrbox}{\@tufteh@marginfigbox}
@@ -292,22 +281,10 @@
\marginpar{\usebox{\@tufteh@marginfigbox}}}


%%
% Margin table

\newcommand{\margintable}[2]%
[-1.2ex]%
{\FloatBarrier% process all floats before this point so the table numbers stay in order.
\marginpar{\@tufteh@marginfont
\def\@captype{table}
\vspace*{#1}
\@tufteh@raggedright #2}}


%%
% Margin table environment
\newsavebox{\@tufteh@margintablebox}
\newenvironment{margintab}[1]
\newenvironment{margintable}[1]
[-1.2ex]
{\FloatBarrier% process all floats before this point so the figure numbers stay in order.
\begin{lrbox}{\@tufteh@margintablebox}


Loading…
取消
儲存