Incompatibility between tikz-cd and language
up vote
2
down vote
favorite
Sorry for the bad English. I'm trying to use the tikz-cd
package to make commutative diagrams. My code
documentclass{article}
usepackage[brazil]{babel}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
end{document}
The problem occurs when putting a name under the arrow, the syntax "x" is incompatible with the brazil
option of the babel
package. When exchanging brazil
for english
it works normally. I already tried using
usepackage[main=brazil, english]{babel}, usepackage[brazil, english]{babel} e usepackage[brazil, main=english]{babel}
But it did not work. I also tried to use
usepackage[english, brazil]{babel}
usepackage{polyglossia}
setmainlanguage{brazil}
setotherlanguages{english}
And finally
selectlanguage{english}
However, it only works if I remove the option brazil
babel tikz-cd
add a comment |
up vote
2
down vote
favorite
Sorry for the bad English. I'm trying to use the tikz-cd
package to make commutative diagrams. My code
documentclass{article}
usepackage[brazil]{babel}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
end{document}
The problem occurs when putting a name under the arrow, the syntax "x" is incompatible with the brazil
option of the babel
package. When exchanging brazil
for english
it works normally. I already tried using
usepackage[main=brazil, english]{babel}, usepackage[brazil, english]{babel} e usepackage[brazil, main=english]{babel}
But it did not work. I also tried to use
usepackage[english, brazil]{babel}
usepackage{polyglossia}
setmainlanguage{brazil}
setotherlanguages{english}
And finally
selectlanguage{english}
However, it only works if I remove the option brazil
babel tikz-cd
On my pc with Papeeria I have these errors:Argument of language@active@arg" has an extra }. [end{tikzcd}] /main.tex :7 Paragraph ended before language@active@arg" was complete. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@addpath was complete. [end{tikzcd}] /main.tex :7 Missing endcsname inserted. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@splitter was complete. [end{tikzcd}] /main.tex :6 Package pgfkeys Error: I do not know the key '"xpar ' and I am going to ignore it. Perhaps you misspelled it. [I think the culprit is a tikzcd arrow in cell 1-1.]
– Sebastiano
Mar 16 '17 at 19:49
Is exactly that error that appears to me using Texstudio
– Marcelo Rodrigues
Mar 16 '17 at 19:56
1
Useusetikzlibrary{babel}
-- this should remove the error and compile
– Christian Hupfer
Mar 16 '17 at 20:18
3
Possible duplicate of babel: Adding ngerman' s language shorthands to english as the main document language
– Saravanan
2 hours ago
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Sorry for the bad English. I'm trying to use the tikz-cd
package to make commutative diagrams. My code
documentclass{article}
usepackage[brazil]{babel}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
end{document}
The problem occurs when putting a name under the arrow, the syntax "x" is incompatible with the brazil
option of the babel
package. When exchanging brazil
for english
it works normally. I already tried using
usepackage[main=brazil, english]{babel}, usepackage[brazil, english]{babel} e usepackage[brazil, main=english]{babel}
But it did not work. I also tried to use
usepackage[english, brazil]{babel}
usepackage{polyglossia}
setmainlanguage{brazil}
setotherlanguages{english}
And finally
selectlanguage{english}
However, it only works if I remove the option brazil
babel tikz-cd
Sorry for the bad English. I'm trying to use the tikz-cd
package to make commutative diagrams. My code
documentclass{article}
usepackage[brazil]{babel}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
end{document}
The problem occurs when putting a name under the arrow, the syntax "x" is incompatible with the brazil
option of the babel
package. When exchanging brazil
for english
it works normally. I already tried using
usepackage[main=brazil, english]{babel}, usepackage[brazil, english]{babel} e usepackage[brazil, main=english]{babel}
But it did not work. I also tried to use
usepackage[english, brazil]{babel}
usepackage{polyglossia}
setmainlanguage{brazil}
setotherlanguages{english}
And finally
selectlanguage{english}
However, it only works if I remove the option brazil
babel tikz-cd
babel tikz-cd
edited Mar 16 '17 at 20:22
Christian Hupfer
146k14190381
146k14190381
asked Mar 16 '17 at 19:43
Marcelo Rodrigues
917
917
On my pc with Papeeria I have these errors:Argument of language@active@arg" has an extra }. [end{tikzcd}] /main.tex :7 Paragraph ended before language@active@arg" was complete. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@addpath was complete. [end{tikzcd}] /main.tex :7 Missing endcsname inserted. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@splitter was complete. [end{tikzcd}] /main.tex :6 Package pgfkeys Error: I do not know the key '"xpar ' and I am going to ignore it. Perhaps you misspelled it. [I think the culprit is a tikzcd arrow in cell 1-1.]
– Sebastiano
Mar 16 '17 at 19:49
Is exactly that error that appears to me using Texstudio
– Marcelo Rodrigues
Mar 16 '17 at 19:56
1
Useusetikzlibrary{babel}
-- this should remove the error and compile
– Christian Hupfer
Mar 16 '17 at 20:18
3
Possible duplicate of babel: Adding ngerman' s language shorthands to english as the main document language
– Saravanan
2 hours ago
add a comment |
On my pc with Papeeria I have these errors:Argument of language@active@arg" has an extra }. [end{tikzcd}] /main.tex :7 Paragraph ended before language@active@arg" was complete. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@addpath was complete. [end{tikzcd}] /main.tex :7 Missing endcsname inserted. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@splitter was complete. [end{tikzcd}] /main.tex :6 Package pgfkeys Error: I do not know the key '"xpar ' and I am going to ignore it. Perhaps you misspelled it. [I think the culprit is a tikzcd arrow in cell 1-1.]
– Sebastiano
Mar 16 '17 at 19:49
Is exactly that error that appears to me using Texstudio
– Marcelo Rodrigues
Mar 16 '17 at 19:56
1
Useusetikzlibrary{babel}
-- this should remove the error and compile
– Christian Hupfer
Mar 16 '17 at 20:18
3
Possible duplicate of babel: Adding ngerman' s language shorthands to english as the main document language
– Saravanan
2 hours ago
On my pc with Papeeria I have these errors:
Argument of language@active@arg" has an extra }. [end{tikzcd}] /main.tex :7 Paragraph ended before language@active@arg" was complete. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@addpath was complete. [end{tikzcd}] /main.tex :7 Missing endcsname inserted. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@splitter was complete. [end{tikzcd}] /main.tex :6 Package pgfkeys Error: I do not know the key '"xpar ' and I am going to ignore it. Perhaps you misspelled it. [I think the culprit is a tikzcd arrow in cell 1-1.]
– Sebastiano
Mar 16 '17 at 19:49
On my pc with Papeeria I have these errors:
Argument of language@active@arg" has an extra }. [end{tikzcd}] /main.tex :7 Paragraph ended before language@active@arg" was complete. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@addpath was complete. [end{tikzcd}] /main.tex :7 Missing endcsname inserted. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@splitter was complete. [end{tikzcd}] /main.tex :6 Package pgfkeys Error: I do not know the key '"xpar ' and I am going to ignore it. Perhaps you misspelled it. [I think the culprit is a tikzcd arrow in cell 1-1.]
– Sebastiano
Mar 16 '17 at 19:49
Is exactly that error that appears to me using Texstudio
– Marcelo Rodrigues
Mar 16 '17 at 19:56
Is exactly that error that appears to me using Texstudio
– Marcelo Rodrigues
Mar 16 '17 at 19:56
1
1
Use
usetikzlibrary{babel}
-- this should remove the error and compile– Christian Hupfer
Mar 16 '17 at 20:18
Use
usetikzlibrary{babel}
-- this should remove the error and compile– Christian Hupfer
Mar 16 '17 at 20:18
3
3
Possible duplicate of babel: Adding ngerman' s language shorthands to english as the main document language
– Saravanan
2 hours ago
Possible duplicate of babel: Adding ngerman' s language shorthands to english as the main document language
– Saravanan
2 hours ago
add a comment |
2 Answers
2
active
oldest
votes
up vote
5
down vote
accepted
The TikZ babel
library simplifies the interaction between the babel
LaTeX package and TikZ itself, taking care of the catcodes etc. change.
documentclass{article}
usepackage[brazil]{babel}
usepackage{tikz-cd}
usetikzlibrary{babel}
begin{document}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
end{document}
1
Always vote your answers. Very very good. hiiiiiiii
– Sebastiano
Mar 16 '17 at 20:26
I found a list with more than 50 library but did not contain this. Thank you very much.
– Marcelo Rodrigues
Mar 16 '17 at 20:32
@MarceloRodrigues: The tikzbabel
is not very well known, I think.
– Christian Hupfer
Mar 16 '17 at 21:26
add a comment |
up vote
2
down vote
Now there isn't any errors.
documentclass[a4paper,12pt, brazil]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{tikz-cd}
begin{document}
shorthandoff{"}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
shorthandon{"}
end{document}
1
Also the answer of Christian Hupfer is very good.
– Sebastiano
Mar 16 '17 at 20:31
Yes, in the pgf manual indicates the use of theusetikzlibrary{quotes}
, but that did not solve my problem
– Marcelo Rodrigues
Mar 16 '17 at 20:45
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
The TikZ babel
library simplifies the interaction between the babel
LaTeX package and TikZ itself, taking care of the catcodes etc. change.
documentclass{article}
usepackage[brazil]{babel}
usepackage{tikz-cd}
usetikzlibrary{babel}
begin{document}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
end{document}
1
Always vote your answers. Very very good. hiiiiiiii
– Sebastiano
Mar 16 '17 at 20:26
I found a list with more than 50 library but did not contain this. Thank you very much.
– Marcelo Rodrigues
Mar 16 '17 at 20:32
@MarceloRodrigues: The tikzbabel
is not very well known, I think.
– Christian Hupfer
Mar 16 '17 at 21:26
add a comment |
up vote
5
down vote
accepted
The TikZ babel
library simplifies the interaction between the babel
LaTeX package and TikZ itself, taking care of the catcodes etc. change.
documentclass{article}
usepackage[brazil]{babel}
usepackage{tikz-cd}
usetikzlibrary{babel}
begin{document}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
end{document}
1
Always vote your answers. Very very good. hiiiiiiii
– Sebastiano
Mar 16 '17 at 20:26
I found a list with more than 50 library but did not contain this. Thank you very much.
– Marcelo Rodrigues
Mar 16 '17 at 20:32
@MarceloRodrigues: The tikzbabel
is not very well known, I think.
– Christian Hupfer
Mar 16 '17 at 21:26
add a comment |
up vote
5
down vote
accepted
up vote
5
down vote
accepted
The TikZ babel
library simplifies the interaction between the babel
LaTeX package and TikZ itself, taking care of the catcodes etc. change.
documentclass{article}
usepackage[brazil]{babel}
usepackage{tikz-cd}
usetikzlibrary{babel}
begin{document}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
end{document}
The TikZ babel
library simplifies the interaction between the babel
LaTeX package and TikZ itself, taking care of the catcodes etc. change.
documentclass{article}
usepackage[brazil]{babel}
usepackage{tikz-cd}
usetikzlibrary{babel}
begin{document}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
end{document}
answered Mar 16 '17 at 20:18
Christian Hupfer
146k14190381
146k14190381
1
Always vote your answers. Very very good. hiiiiiiii
– Sebastiano
Mar 16 '17 at 20:26
I found a list with more than 50 library but did not contain this. Thank you very much.
– Marcelo Rodrigues
Mar 16 '17 at 20:32
@MarceloRodrigues: The tikzbabel
is not very well known, I think.
– Christian Hupfer
Mar 16 '17 at 21:26
add a comment |
1
Always vote your answers. Very very good. hiiiiiiii
– Sebastiano
Mar 16 '17 at 20:26
I found a list with more than 50 library but did not contain this. Thank you very much.
– Marcelo Rodrigues
Mar 16 '17 at 20:32
@MarceloRodrigues: The tikzbabel
is not very well known, I think.
– Christian Hupfer
Mar 16 '17 at 21:26
1
1
Always vote your answers. Very very good. hiiiiiiii
– Sebastiano
Mar 16 '17 at 20:26
Always vote your answers. Very very good. hiiiiiiii
– Sebastiano
Mar 16 '17 at 20:26
I found a list with more than 50 library but did not contain this. Thank you very much.
– Marcelo Rodrigues
Mar 16 '17 at 20:32
I found a list with more than 50 library but did not contain this. Thank you very much.
– Marcelo Rodrigues
Mar 16 '17 at 20:32
@MarceloRodrigues: The tikz
babel
is not very well known, I think.– Christian Hupfer
Mar 16 '17 at 21:26
@MarceloRodrigues: The tikz
babel
is not very well known, I think.– Christian Hupfer
Mar 16 '17 at 21:26
add a comment |
up vote
2
down vote
Now there isn't any errors.
documentclass[a4paper,12pt, brazil]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{tikz-cd}
begin{document}
shorthandoff{"}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
shorthandon{"}
end{document}
1
Also the answer of Christian Hupfer is very good.
– Sebastiano
Mar 16 '17 at 20:31
Yes, in the pgf manual indicates the use of theusetikzlibrary{quotes}
, but that did not solve my problem
– Marcelo Rodrigues
Mar 16 '17 at 20:45
add a comment |
up vote
2
down vote
Now there isn't any errors.
documentclass[a4paper,12pt, brazil]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{tikz-cd}
begin{document}
shorthandoff{"}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
shorthandon{"}
end{document}
1
Also the answer of Christian Hupfer is very good.
– Sebastiano
Mar 16 '17 at 20:31
Yes, in the pgf manual indicates the use of theusetikzlibrary{quotes}
, but that did not solve my problem
– Marcelo Rodrigues
Mar 16 '17 at 20:45
add a comment |
up vote
2
down vote
up vote
2
down vote
Now there isn't any errors.
documentclass[a4paper,12pt, brazil]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{tikz-cd}
begin{document}
shorthandoff{"}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
shorthandon{"}
end{document}
Now there isn't any errors.
documentclass[a4paper,12pt, brazil]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{tikz-cd}
begin{document}
shorthandoff{"}
begin{tikzcd}
A ar[r, "x"] & B
end{tikzcd}
shorthandon{"}
end{document}
answered Mar 16 '17 at 20:02
Sebastiano
8,51641756
8,51641756
1
Also the answer of Christian Hupfer is very good.
– Sebastiano
Mar 16 '17 at 20:31
Yes, in the pgf manual indicates the use of theusetikzlibrary{quotes}
, but that did not solve my problem
– Marcelo Rodrigues
Mar 16 '17 at 20:45
add a comment |
1
Also the answer of Christian Hupfer is very good.
– Sebastiano
Mar 16 '17 at 20:31
Yes, in the pgf manual indicates the use of theusetikzlibrary{quotes}
, but that did not solve my problem
– Marcelo Rodrigues
Mar 16 '17 at 20:45
1
1
Also the answer of Christian Hupfer is very good.
– Sebastiano
Mar 16 '17 at 20:31
Also the answer of Christian Hupfer is very good.
– Sebastiano
Mar 16 '17 at 20:31
Yes, in the pgf manual indicates the use of the
usetikzlibrary{quotes}
, but that did not solve my problem– Marcelo Rodrigues
Mar 16 '17 at 20:45
Yes, in the pgf manual indicates the use of the
usetikzlibrary{quotes}
, but that did not solve my problem– Marcelo Rodrigues
Mar 16 '17 at 20:45
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f358837%2fincompatibility-between-tikz-cd-and-language%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
On my pc with Papeeria I have these errors:
Argument of language@active@arg" has an extra }. [end{tikzcd}] /main.tex :7 Paragraph ended before language@active@arg" was complete. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@addpath was complete. [end{tikzcd}] /main.tex :7 Missing endcsname inserted. [end{tikzcd}] /main.tex :7 Paragraph ended before pgfkeys@splitter was complete. [end{tikzcd}] /main.tex :6 Package pgfkeys Error: I do not know the key '"xpar ' and I am going to ignore it. Perhaps you misspelled it. [I think the culprit is a tikzcd arrow in cell 1-1.]
– Sebastiano
Mar 16 '17 at 19:49
Is exactly that error that appears to me using Texstudio
– Marcelo Rodrigues
Mar 16 '17 at 19:56
1
Use
usetikzlibrary{babel}
-- this should remove the error and compile– Christian Hupfer
Mar 16 '17 at 20:18
3
Possible duplicate of babel: Adding ngerman' s language shorthands to english as the main document language
– Saravanan
2 hours ago