Changing the definition of “mod” in spanish impossible?
up vote
0
down vote
favorite
I'm writing a math text in spanish and want to change the definition of the "mod" command. However, this seems impossible, as the following MWE shows:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}
usepackage[T1]{fontenc}
usepackage{amsmath}
renewcommand{mod}{operatorname{changed}}
begin{document}
$a equiv b mod c$
end{document}
This produces the following output:
However, if I comment the line
usepackage[spanish]{babel}
in the above code, the result I get is
as I would expect.
The same phenomenon happens with other math operators that carry accents in spanish, like for example "max" or "lim", but it works for such that don't have accents, like "sin".
spanish
add a comment |
up vote
0
down vote
favorite
I'm writing a math text in spanish and want to change the definition of the "mod" command. However, this seems impossible, as the following MWE shows:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}
usepackage[T1]{fontenc}
usepackage{amsmath}
renewcommand{mod}{operatorname{changed}}
begin{document}
$a equiv b mod c$
end{document}
This produces the following output:
However, if I comment the line
usepackage[spanish]{babel}
in the above code, the result I get is
as I would expect.
The same phenomenon happens with other math operators that carry accents in spanish, like for example "max" or "lim", but it works for such that don't have accents, like "sin".
spanish
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm writing a math text in spanish and want to change the definition of the "mod" command. However, this seems impossible, as the following MWE shows:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}
usepackage[T1]{fontenc}
usepackage{amsmath}
renewcommand{mod}{operatorname{changed}}
begin{document}
$a equiv b mod c$
end{document}
This produces the following output:
However, if I comment the line
usepackage[spanish]{babel}
in the above code, the result I get is
as I would expect.
The same phenomenon happens with other math operators that carry accents in spanish, like for example "max" or "lim", but it works for such that don't have accents, like "sin".
spanish
I'm writing a math text in spanish and want to change the definition of the "mod" command. However, this seems impossible, as the following MWE shows:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}
usepackage[T1]{fontenc}
usepackage{amsmath}
renewcommand{mod}{operatorname{changed}}
begin{document}
$a equiv b mod c$
end{document}
This produces the following output:
However, if I comment the line
usepackage[spanish]{babel}
in the above code, the result I get is
as I would expect.
The same phenomenon happens with other math operators that carry accents in spanish, like for example "max" or "lim", but it works for such that don't have accents, like "sin".
spanish
spanish
asked 3 mins ago
Michael Fütterer
1933
1933
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f461371%2fchanging-the-definition-of-mod-in-spanish-impossible%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