tikz-cd doesn't compile examples from the manual [duplicate]
This question already has an answer here:
Tikzcd conflict with babel and cd
1 answer
I don't know if this a problem with my local TeX-Distribution (macTeX 2018) or with tikz-cd itself, how ever: I can't compile basic examples from the tikz-cd manual, like this:
documentclass{standalone}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{xcolor}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{amsmath, amssymb}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}
A arrow[r, "phi"] arrow[d, red]
& B arrow[d, "psi" red] \
C arrow[r, red, "eta" blue]
&D end{tikzcd}
end{document}
The resulting output is
And the errors messages inside the log start with this error message:
! Argument of language@active@arg" has an extra }.
<inserted text>
par
l.18 &D end{tikzcd}
I've run across a `}' that doesn't seem to match anything.
For example, `defa#1{...}' and `a}' would produce
this error. If you simply proceed now, the `par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
Runaway argument?
! Paragraph ended before language@active@arg" was complete.
<to be read again>
par
l.18 &D end{tikzcd}
Any ideas what the problem might be? The macTeX-Distribution is complete and up-to-date as of april 4th 2019.
tikz-cd
marked as duplicate by samcarter, Phelype Oleinik, Kurt, Stefan Pinnow, Raaja 9 hours ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
|
show 1 more comment
This question already has an answer here:
Tikzcd conflict with babel and cd
1 answer
I don't know if this a problem with my local TeX-Distribution (macTeX 2018) or with tikz-cd itself, how ever: I can't compile basic examples from the tikz-cd manual, like this:
documentclass{standalone}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{xcolor}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{amsmath, amssymb}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}
A arrow[r, "phi"] arrow[d, red]
& B arrow[d, "psi" red] \
C arrow[r, red, "eta" blue]
&D end{tikzcd}
end{document}
The resulting output is
And the errors messages inside the log start with this error message:
! Argument of language@active@arg" has an extra }.
<inserted text>
par
l.18 &D end{tikzcd}
I've run across a `}' that doesn't seem to match anything.
For example, `defa#1{...}' and `a}' would produce
this error. If you simply proceed now, the `par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
Runaway argument?
! Paragraph ended before language@active@arg" was complete.
<to be read again>
par
l.18 &D end{tikzcd}
Any ideas what the problem might be? The macTeX-Distribution is complete and up-to-date as of april 4th 2019.
tikz-cd
marked as duplicate by samcarter, Phelype Oleinik, Kurt, Stefan Pinnow, Raaja 9 hours ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
I can connfirm the error messages that you get. However, the MWE compiles just fine, if you removeusepackage[ngerman]{babel}
.
– leandriis
12 hours ago
This is crazy, removing babel from the preamble "solves" the problem for me, too. Yet, this is no solution, as babel is essential for good typesetting. :<
– Student
12 hours ago
2
The following question is a possible duplicate: Tikzcd conflict with babel and cd and the proposed workaround also works for your case.
– leandriis
12 hours ago
Just a note: If you useLuaTeX
orXeTeX
, then you might be able to substitutebabel
with ctan.org/pkg/polyglossia.
– CampanIgnis
12 hours ago
@leandriis Thank you for the help, great!
– Student
12 hours ago
|
show 1 more comment
This question already has an answer here:
Tikzcd conflict with babel and cd
1 answer
I don't know if this a problem with my local TeX-Distribution (macTeX 2018) or with tikz-cd itself, how ever: I can't compile basic examples from the tikz-cd manual, like this:
documentclass{standalone}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{xcolor}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{amsmath, amssymb}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}
A arrow[r, "phi"] arrow[d, red]
& B arrow[d, "psi" red] \
C arrow[r, red, "eta" blue]
&D end{tikzcd}
end{document}
The resulting output is
And the errors messages inside the log start with this error message:
! Argument of language@active@arg" has an extra }.
<inserted text>
par
l.18 &D end{tikzcd}
I've run across a `}' that doesn't seem to match anything.
For example, `defa#1{...}' and `a}' would produce
this error. If you simply proceed now, the `par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
Runaway argument?
! Paragraph ended before language@active@arg" was complete.
<to be read again>
par
l.18 &D end{tikzcd}
Any ideas what the problem might be? The macTeX-Distribution is complete and up-to-date as of april 4th 2019.
tikz-cd
This question already has an answer here:
Tikzcd conflict with babel and cd
1 answer
I don't know if this a problem with my local TeX-Distribution (macTeX 2018) or with tikz-cd itself, how ever: I can't compile basic examples from the tikz-cd manual, like this:
documentclass{standalone}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{xcolor}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{amsmath, amssymb}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}
A arrow[r, "phi"] arrow[d, red]
& B arrow[d, "psi" red] \
C arrow[r, red, "eta" blue]
&D end{tikzcd}
end{document}
The resulting output is
And the errors messages inside the log start with this error message:
! Argument of language@active@arg" has an extra }.
<inserted text>
par
l.18 &D end{tikzcd}
I've run across a `}' that doesn't seem to match anything.
For example, `defa#1{...}' and `a}' would produce
this error. If you simply proceed now, the `par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
Runaway argument?
! Paragraph ended before language@active@arg" was complete.
<to be read again>
par
l.18 &D end{tikzcd}
Any ideas what the problem might be? The macTeX-Distribution is complete and up-to-date as of april 4th 2019.
This question already has an answer here:
Tikzcd conflict with babel and cd
1 answer
tikz-cd
tikz-cd
asked 12 hours ago
StudentStudent
283
283
marked as duplicate by samcarter, Phelype Oleinik, Kurt, Stefan Pinnow, Raaja 9 hours ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by samcarter, Phelype Oleinik, Kurt, Stefan Pinnow, Raaja 9 hours ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
I can connfirm the error messages that you get. However, the MWE compiles just fine, if you removeusepackage[ngerman]{babel}
.
– leandriis
12 hours ago
This is crazy, removing babel from the preamble "solves" the problem for me, too. Yet, this is no solution, as babel is essential for good typesetting. :<
– Student
12 hours ago
2
The following question is a possible duplicate: Tikzcd conflict with babel and cd and the proposed workaround also works for your case.
– leandriis
12 hours ago
Just a note: If you useLuaTeX
orXeTeX
, then you might be able to substitutebabel
with ctan.org/pkg/polyglossia.
– CampanIgnis
12 hours ago
@leandriis Thank you for the help, great!
– Student
12 hours ago
|
show 1 more comment
2
I can connfirm the error messages that you get. However, the MWE compiles just fine, if you removeusepackage[ngerman]{babel}
.
– leandriis
12 hours ago
This is crazy, removing babel from the preamble "solves" the problem for me, too. Yet, this is no solution, as babel is essential for good typesetting. :<
– Student
12 hours ago
2
The following question is a possible duplicate: Tikzcd conflict with babel and cd and the proposed workaround also works for your case.
– leandriis
12 hours ago
Just a note: If you useLuaTeX
orXeTeX
, then you might be able to substitutebabel
with ctan.org/pkg/polyglossia.
– CampanIgnis
12 hours ago
@leandriis Thank you for the help, great!
– Student
12 hours ago
2
2
I can connfirm the error messages that you get. However, the MWE compiles just fine, if you remove
usepackage[ngerman]{babel}
.– leandriis
12 hours ago
I can connfirm the error messages that you get. However, the MWE compiles just fine, if you remove
usepackage[ngerman]{babel}
.– leandriis
12 hours ago
This is crazy, removing babel from the preamble "solves" the problem for me, too. Yet, this is no solution, as babel is essential for good typesetting. :<
– Student
12 hours ago
This is crazy, removing babel from the preamble "solves" the problem for me, too. Yet, this is no solution, as babel is essential for good typesetting. :<
– Student
12 hours ago
2
2
The following question is a possible duplicate: Tikzcd conflict with babel and cd and the proposed workaround also works for your case.
– leandriis
12 hours ago
The following question is a possible duplicate: Tikzcd conflict with babel and cd and the proposed workaround also works for your case.
– leandriis
12 hours ago
Just a note: If you use
LuaTeX
or XeTeX
, then you might be able to substitute babel
with ctan.org/pkg/polyglossia.– CampanIgnis
12 hours ago
Just a note: If you use
LuaTeX
or XeTeX
, then you might be able to substitute babel
with ctan.org/pkg/polyglossia.– CampanIgnis
12 hours ago
@leandriis Thank you for the help, great!
– Student
12 hours ago
@leandriis Thank you for the help, great!
– Student
12 hours ago
|
show 1 more comment
1 Answer
1
active
oldest
votes
To solve the your question you can add usetikzlibrary{babel}
always confirming that you can use usepackage[ngerman]{babel}
. Now there is no errors.
documentclass{standalone}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{xcolor}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{amsmath, amssymb}
usepackage{tikz-cd}
usetikzlibrary{babel}
begin{document}
begin{tikzcd}
A arrow[r, "phi"] arrow[d, red]
& B arrow[d, "psi" red] \
C arrow[r, red, "eta" blue]
&D
end{tikzcd}
end{document}
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
To solve the your question you can add usetikzlibrary{babel}
always confirming that you can use usepackage[ngerman]{babel}
. Now there is no errors.
documentclass{standalone}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{xcolor}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{amsmath, amssymb}
usepackage{tikz-cd}
usetikzlibrary{babel}
begin{document}
begin{tikzcd}
A arrow[r, "phi"] arrow[d, red]
& B arrow[d, "psi" red] \
C arrow[r, red, "eta" blue]
&D
end{tikzcd}
end{document}
add a comment |
To solve the your question you can add usetikzlibrary{babel}
always confirming that you can use usepackage[ngerman]{babel}
. Now there is no errors.
documentclass{standalone}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{xcolor}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{amsmath, amssymb}
usepackage{tikz-cd}
usetikzlibrary{babel}
begin{document}
begin{tikzcd}
A arrow[r, "phi"] arrow[d, red]
& B arrow[d, "psi" red] \
C arrow[r, red, "eta" blue]
&D
end{tikzcd}
end{document}
add a comment |
To solve the your question you can add usetikzlibrary{babel}
always confirming that you can use usepackage[ngerman]{babel}
. Now there is no errors.
documentclass{standalone}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{xcolor}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{amsmath, amssymb}
usepackage{tikz-cd}
usetikzlibrary{babel}
begin{document}
begin{tikzcd}
A arrow[r, "phi"] arrow[d, red]
& B arrow[d, "psi" red] \
C arrow[r, red, "eta" blue]
&D
end{tikzcd}
end{document}
To solve the your question you can add usetikzlibrary{babel}
always confirming that you can use usepackage[ngerman]{babel}
. Now there is no errors.
documentclass{standalone}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{xcolor}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{amsmath, amssymb}
usepackage{tikz-cd}
usetikzlibrary{babel}
begin{document}
begin{tikzcd}
A arrow[r, "phi"] arrow[d, red]
& B arrow[d, "psi" red] \
C arrow[r, red, "eta" blue]
&D
end{tikzcd}
end{document}
answered 12 hours ago
SebastianoSebastiano
11.1k42165
11.1k42165
add a comment |
add a comment |
2
I can connfirm the error messages that you get. However, the MWE compiles just fine, if you remove
usepackage[ngerman]{babel}
.– leandriis
12 hours ago
This is crazy, removing babel from the preamble "solves" the problem for me, too. Yet, this is no solution, as babel is essential for good typesetting. :<
– Student
12 hours ago
2
The following question is a possible duplicate: Tikzcd conflict with babel and cd and the proposed workaround also works for your case.
– leandriis
12 hours ago
Just a note: If you use
LuaTeX
orXeTeX
, then you might be able to substitutebabel
with ctan.org/pkg/polyglossia.– CampanIgnis
12 hours ago
@leandriis Thank you for the help, great!
– Student
12 hours ago