breve under letter is not in italics when using textit
Because the beginning of the letter is moved a bit to the left when in italics mode, the breve also needs to move to the left,otherwise it is no longer under the letter.
documentclass{article}
usepackage{semtrans}
begin{document}
Right position: U{h}
Wrong position: textit{U{h}}
end{document}
Any ideas how to correctly use a breve with italics?
italic
add a comment |
Because the beginning of the letter is moved a bit to the left when in italics mode, the breve also needs to move to the left,otherwise it is no longer under the letter.
documentclass{article}
usepackage{semtrans}
begin{document}
Right position: U{h}
Wrong position: textit{U{h}}
end{document}
Any ideas how to correctly use a breve with italics?
italic
Do you really want to use that package? It dates back to 1998.
– TeXnician
May 26 '17 at 8:38
I am open to suggestions for better ways to create a breve under a letter.
– arved
May 26 '17 at 8:46
add a comment |
Because the beginning of the letter is moved a bit to the left when in italics mode, the breve also needs to move to the left,otherwise it is no longer under the letter.
documentclass{article}
usepackage{semtrans}
begin{document}
Right position: U{h}
Wrong position: textit{U{h}}
end{document}
Any ideas how to correctly use a breve with italics?
italic
Because the beginning of the letter is moved a bit to the left when in italics mode, the breve also needs to move to the left,otherwise it is no longer under the letter.
documentclass{article}
usepackage{semtrans}
begin{document}
Right position: U{h}
Wrong position: textit{U{h}}
end{document}
Any ideas how to correctly use a breve with italics?
italic
italic
edited May 26 '17 at 9:01
arved
asked May 26 '17 at 8:33
arvedarved
1677
1677
Do you really want to use that package? It dates back to 1998.
– TeXnician
May 26 '17 at 8:38
I am open to suggestions for better ways to create a breve under a letter.
– arved
May 26 '17 at 8:46
add a comment |
Do you really want to use that package? It dates back to 1998.
– TeXnician
May 26 '17 at 8:38
I am open to suggestions for better ways to create a breve under a letter.
– arved
May 26 '17 at 8:46
Do you really want to use that package? It dates back to 1998.
– TeXnician
May 26 '17 at 8:38
Do you really want to use that package? It dates back to 1998.
– TeXnician
May 26 '17 at 8:38
I am open to suggestions for better ways to create a breve under a letter.
– arved
May 26 '17 at 8:46
I am open to suggestions for better ways to create a breve under a letter.
– arved
May 26 '17 at 8:46
add a comment |
2 Answers
2
active
oldest
votes
The package is old and the definition is missing a ltx@sh@ft
that helps correct such positioning. A more modern definition for the U
macro is
newcommand*U[1]{oalign{#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to .2ex{hbox{u{}}vss}hidewidth}}
In your own file you will need to enclose this in a makeatletter...makeatother
pair. If you are loading the semtrans
package you will need to use renewcommand*
instead.
documentclass{article}
usepackage{semtrans}
makeatletter
renewcommand*U[1]{oalign{#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to .2ex{hbox{u{}}vss}hidewidth}}
makeatother
begin{document}
Upright position: U{h}
Italic position: textit{U{h}}
end{document}
The above is modelled on the definition of the b
accent defined in the LaTeX kernel, namely:
DeclareTextCommand{b}{OT1}[1]
{hmode@bgroupo@lign{relax#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to.2ex{hbox{char22}vss}hidewidth}egroup}
You could thus mimic this completely and use
makeatletter
DeclareTextCommand{U}{OT1}[1]
{hmode@bgroupo@lign{relax#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to.2ex{hbox{u{}}vss}hidewidth}egroup}
makeatother
add a comment |
The simplest way these days is probably to use xelatex (used for the image here) or lualatex.
documentclass{article}
usepackage{fontspec}
begin{document}
zzz ḫ
textit{zzz ḫ}
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f371759%2fbreve-under-letter-is-not-in-italics-when-using-textit%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The package is old and the definition is missing a ltx@sh@ft
that helps correct such positioning. A more modern definition for the U
macro is
newcommand*U[1]{oalign{#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to .2ex{hbox{u{}}vss}hidewidth}}
In your own file you will need to enclose this in a makeatletter...makeatother
pair. If you are loading the semtrans
package you will need to use renewcommand*
instead.
documentclass{article}
usepackage{semtrans}
makeatletter
renewcommand*U[1]{oalign{#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to .2ex{hbox{u{}}vss}hidewidth}}
makeatother
begin{document}
Upright position: U{h}
Italic position: textit{U{h}}
end{document}
The above is modelled on the definition of the b
accent defined in the LaTeX kernel, namely:
DeclareTextCommand{b}{OT1}[1]
{hmode@bgroupo@lign{relax#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to.2ex{hbox{char22}vss}hidewidth}egroup}
You could thus mimic this completely and use
makeatletter
DeclareTextCommand{U}{OT1}[1]
{hmode@bgroupo@lign{relax#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to.2ex{hbox{u{}}vss}hidewidth}egroup}
makeatother
add a comment |
The package is old and the definition is missing a ltx@sh@ft
that helps correct such positioning. A more modern definition for the U
macro is
newcommand*U[1]{oalign{#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to .2ex{hbox{u{}}vss}hidewidth}}
In your own file you will need to enclose this in a makeatletter...makeatother
pair. If you are loading the semtrans
package you will need to use renewcommand*
instead.
documentclass{article}
usepackage{semtrans}
makeatletter
renewcommand*U[1]{oalign{#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to .2ex{hbox{u{}}vss}hidewidth}}
makeatother
begin{document}
Upright position: U{h}
Italic position: textit{U{h}}
end{document}
The above is modelled on the definition of the b
accent defined in the LaTeX kernel, namely:
DeclareTextCommand{b}{OT1}[1]
{hmode@bgroupo@lign{relax#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to.2ex{hbox{char22}vss}hidewidth}egroup}
You could thus mimic this completely and use
makeatletter
DeclareTextCommand{U}{OT1}[1]
{hmode@bgroupo@lign{relax#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to.2ex{hbox{u{}}vss}hidewidth}egroup}
makeatother
add a comment |
The package is old and the definition is missing a ltx@sh@ft
that helps correct such positioning. A more modern definition for the U
macro is
newcommand*U[1]{oalign{#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to .2ex{hbox{u{}}vss}hidewidth}}
In your own file you will need to enclose this in a makeatletter...makeatother
pair. If you are loading the semtrans
package you will need to use renewcommand*
instead.
documentclass{article}
usepackage{semtrans}
makeatletter
renewcommand*U[1]{oalign{#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to .2ex{hbox{u{}}vss}hidewidth}}
makeatother
begin{document}
Upright position: U{h}
Italic position: textit{U{h}}
end{document}
The above is modelled on the definition of the b
accent defined in the LaTeX kernel, namely:
DeclareTextCommand{b}{OT1}[1]
{hmode@bgroupo@lign{relax#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to.2ex{hbox{char22}vss}hidewidth}egroup}
You could thus mimic this completely and use
makeatletter
DeclareTextCommand{U}{OT1}[1]
{hmode@bgroupo@lign{relax#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to.2ex{hbox{u{}}vss}hidewidth}egroup}
makeatother
The package is old and the definition is missing a ltx@sh@ft
that helps correct such positioning. A more modern definition for the U
macro is
newcommand*U[1]{oalign{#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to .2ex{hbox{u{}}vss}hidewidth}}
In your own file you will need to enclose this in a makeatletter...makeatother
pair. If you are loading the semtrans
package you will need to use renewcommand*
instead.
documentclass{article}
usepackage{semtrans}
makeatletter
renewcommand*U[1]{oalign{#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to .2ex{hbox{u{}}vss}hidewidth}}
makeatother
begin{document}
Upright position: U{h}
Italic position: textit{U{h}}
end{document}
The above is modelled on the definition of the b
accent defined in the LaTeX kernel, namely:
DeclareTextCommand{b}{OT1}[1]
{hmode@bgroupo@lign{relax#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to.2ex{hbox{char22}vss}hidewidth}egroup}
You could thus mimic this completely and use
makeatletter
DeclareTextCommand{U}{OT1}[1]
{hmode@bgroupo@lign{relax#1crcrhidewidthltx@sh@ft{-3ex}%
vbox to.2ex{hbox{u{}}vss}hidewidth}egroup}
makeatother
edited May 26 '17 at 8:56
answered May 26 '17 at 8:50
Andrew SwannAndrew Swann
76.7k9128325
76.7k9128325
add a comment |
add a comment |
The simplest way these days is probably to use xelatex (used for the image here) or lualatex.
documentclass{article}
usepackage{fontspec}
begin{document}
zzz ḫ
textit{zzz ḫ}
end{document}
add a comment |
The simplest way these days is probably to use xelatex (used for the image here) or lualatex.
documentclass{article}
usepackage{fontspec}
begin{document}
zzz ḫ
textit{zzz ḫ}
end{document}
add a comment |
The simplest way these days is probably to use xelatex (used for the image here) or lualatex.
documentclass{article}
usepackage{fontspec}
begin{document}
zzz ḫ
textit{zzz ḫ}
end{document}
The simplest way these days is probably to use xelatex (used for the image here) or lualatex.
documentclass{article}
usepackage{fontspec}
begin{document}
zzz ḫ
textit{zzz ḫ}
end{document}
edited May 26 '17 at 9:13
answered May 26 '17 at 8:54
David CarlisleDavid Carlisle
484k4111171859
484k4111171859
add a comment |
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.
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%2f371759%2fbreve-under-letter-is-not-in-italics-when-using-textit%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
Do you really want to use that package? It dates back to 1998.
– TeXnician
May 26 '17 at 8:38
I am open to suggestions for better ways to create a breve under a letter.
– arved
May 26 '17 at 8:46