Skip to content

Issue 87: compatibility with listings, subfigure and subcaption packages#114

Open
javaprog wants to merge 1 commit into
Tufte-LaTeX:masterfrom
javaprog:issue-87
Open

Issue 87: compatibility with listings, subfigure and subcaption packages#114
javaprog wants to merge 1 commit into
Tufte-LaTeX:masterfrom
javaprog:issue-87

Conversation

@javaprog

Copy link
Copy Markdown

Redefine the \label command only after the \caption command, so that line lables in listings and labels in subfloats are retained. This requires that the float label is given after the caption (this is required anyway and not specific to this change) and that the caption and label are specified at the end of the float. Since the tufte-latex package implements its own caption placement irrespective of the position of the \caption command, this should not pose a problem.

visika added a commit to visika/tufte-latex that referenced this pull request Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant