-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Robustify xymatrix rendering and improve nowiki handling
We make some tweaks to the xymatrix diagram renderer to allow it to handle correctly a wider range of cases: curved arrows for example. We move from \xymatrix{...} to \begin{xymatrix} ... \end{xymatrix} to make it easier to detect the diagram correctly when mathematics is used inside it. We also tweak the <nowiki>...</nowiki> renderer and the way it is called in certain cases to allow Tikz and Xymatrix diagram code, as well as centred code, to be able to be displayed verbatim.
- Loading branch information
Richard Williamson
committed
Feb 2, 2019
1 parent
494c311
commit 97d31e5
Showing
7 changed files
with
106 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
\documentclass[12pt]{standalone} | ||
\documentclass[$document_parameters]{standalone} | ||
|
||
\usepackage[all]{xy} | ||
\usepackage[all, 2cell]{xy} | ||
|
||
\UseTwocells | ||
|
||
\begin{document} | ||
|
||
$font_size | ||
|
||
$xypic_diagram | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters