XeLaTeX Minion Pro subscript vertical alignment The 2019 Stack Overflow Developer Survey Results Are InSpacing of subscripts for inline mathType Greek letters in Math Mode using Greek keyboardChanging typesetting language without commandupright uppercase math letter with Minion and xelatexHow do I get XeLaTeX to use the bold Minion Pro typeface for Greek characters?Getting Started with Minion Pro, XeLaTeX and mathspecMath environment Minion ProMinion Pro SymbolsUsing Minion Pro with ClassicthesisFrench spacing with xelatex and Minion ProXeLatex with Koma-script and Minion Pro fontSetting Minion Math with XeLaTeXXelatex, Minion Pro and Italian apostrophe kerning
slides for 30min~1hr skype tenure track application interview
For what reasons would an animal species NOT cross a *horizontal* land bridge?
What is the most effective way of iterating a std::vector and why?
Output the Arecibo Message
Why isn't airport relocation done gradually?
Geography at the pixel level
Is "plugging out" electronic devices an American expression?
What is the accessibility of a package's `Private` context variables?
What do hard-Brexiteers want with respect to the Irish border?
Delete all lines which don't have n characters before delimiter
Can a flute soloist sit?
Why isn't the circumferential light around the M87 black hole's event horizon symmetric?
Why do UK politicians seemingly ignore opinion polls on Brexit?
Shouldn't "much" here be used instead of "more"?
Time travel alters history but people keep saying nothing's changed
One word riddle: Vowel in the middle
Do these rules for Critical Successes and Critical Failures seem fair?
When should I buy a clipper card after flying to OAK?
Protecting Dualbooting Windows from dangerous code (like rm -rf)
If a Druid sees an animal’s corpse, can they Wild Shape into that animal?
Button changing it's text & action. Good or terrible?
Can we generate random numbers using irrational numbers like π and e?
Can you compress metal and what would be the consequences?
Pokemon Turn Based battle (Python)
XeLaTeX Minion Pro subscript vertical alignment
The 2019 Stack Overflow Developer Survey Results Are InSpacing of subscripts for inline mathType Greek letters in Math Mode using Greek keyboardChanging typesetting language without commandupright uppercase math letter with Minion and xelatexHow do I get XeLaTeX to use the bold Minion Pro typeface for Greek characters?Getting Started with Minion Pro, XeLaTeX and mathspecMath environment Minion ProMinion Pro SymbolsUsing Minion Pro with ClassicthesisFrench spacing with xelatex and Minion ProXeLatex with Koma-script and Minion Pro fontSetting Minion Math with XeLaTeXXelatex, Minion Pro and Italian apostrophe kerning
I am attempting to use Minion Pro with the fontspec
package in XeLaTeX, but am encountering problems with the vertical alignment of subscripts when used with certain Greek characters:
documentclass[a4paper,12pt,oldfontcommands]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsMinion Pro
begindocument
beginequation
V_textPSD = V_sV_msin(omega_r t + phi_!s)sinleft(omega_r t + phi_sright)
endequation
beginequation
zeta_s varsigma_s gamma_s kappa_s phi_!s varphi_s theta_s xi_s Xi_s f_s p_s 6_6 6_p p_6
endequation
enddocument
As can be seen in the image, the subscripts for some letters are in the correct places, except for zeta, sigma variant, gamma, both phi variants, and lowercase xi.
There are many other answers around concerning the kerning of external fonts with XeLaTeX, but this doesn't seem to be the issue here as using a fix such as phi_!s
only brings the subscripted character closer and does not change the vertical alignment (as I have put in two examples above).
Why is this occurring? Is it possible to prevent it?
math-mode xetex mathspec
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am attempting to use Minion Pro with the fontspec
package in XeLaTeX, but am encountering problems with the vertical alignment of subscripts when used with certain Greek characters:
documentclass[a4paper,12pt,oldfontcommands]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsMinion Pro
begindocument
beginequation
V_textPSD = V_sV_msin(omega_r t + phi_!s)sinleft(omega_r t + phi_sright)
endequation
beginequation
zeta_s varsigma_s gamma_s kappa_s phi_!s varphi_s theta_s xi_s Xi_s f_s p_s 6_6 6_p p_6
endequation
enddocument
As can be seen in the image, the subscripts for some letters are in the correct places, except for zeta, sigma variant, gamma, both phi variants, and lowercase xi.
There are many other answers around concerning the kerning of external fonts with XeLaTeX, but this doesn't seem to be the issue here as using a fix such as phi_!s
only brings the subscripted character closer and does not change the vertical alignment (as I have put in two examples above).
Why is this occurring? Is it possible to prevent it?
math-mode xetex mathspec
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Any updates here? Fits the answer all your needs? Would you accept/ vote for the answer? - Or are you looking for another solution?
– Bobyandbob
May 14 '18 at 19:51
Actually, I switched to using plain ol' LaTeX with the MinionPro package... I felt that having to redefine all the greek letters is quite hacky and not something one would want to have if it can be avoided.
– tusky_mcmammoth
May 15 '18 at 5:22
add a comment |
I am attempting to use Minion Pro with the fontspec
package in XeLaTeX, but am encountering problems with the vertical alignment of subscripts when used with certain Greek characters:
documentclass[a4paper,12pt,oldfontcommands]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsMinion Pro
begindocument
beginequation
V_textPSD = V_sV_msin(omega_r t + phi_!s)sinleft(omega_r t + phi_sright)
endequation
beginequation
zeta_s varsigma_s gamma_s kappa_s phi_!s varphi_s theta_s xi_s Xi_s f_s p_s 6_6 6_p p_6
endequation
enddocument
As can be seen in the image, the subscripts for some letters are in the correct places, except for zeta, sigma variant, gamma, both phi variants, and lowercase xi.
There are many other answers around concerning the kerning of external fonts with XeLaTeX, but this doesn't seem to be the issue here as using a fix such as phi_!s
only brings the subscripted character closer and does not change the vertical alignment (as I have put in two examples above).
Why is this occurring? Is it possible to prevent it?
math-mode xetex mathspec
I am attempting to use Minion Pro with the fontspec
package in XeLaTeX, but am encountering problems with the vertical alignment of subscripts when used with certain Greek characters:
documentclass[a4paper,12pt,oldfontcommands]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsMinion Pro
begindocument
beginequation
V_textPSD = V_sV_msin(omega_r t + phi_!s)sinleft(omega_r t + phi_sright)
endequation
beginequation
zeta_s varsigma_s gamma_s kappa_s phi_!s varphi_s theta_s xi_s Xi_s f_s p_s 6_6 6_p p_6
endequation
enddocument
As can be seen in the image, the subscripts for some letters are in the correct places, except for zeta, sigma variant, gamma, both phi variants, and lowercase xi.
There are many other answers around concerning the kerning of external fonts with XeLaTeX, but this doesn't seem to be the issue here as using a fix such as phi_!s
only brings the subscripted character closer and does not change the vertical alignment (as I have put in two examples above).
Why is this occurring? Is it possible to prevent it?
math-mode xetex mathspec
math-mode xetex mathspec
asked Oct 16 '17 at 22:20
tusky_mcmammothtusky_mcmammoth
263
263
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Any updates here? Fits the answer all your needs? Would you accept/ vote for the answer? - Or are you looking for another solution?
– Bobyandbob
May 14 '18 at 19:51
Actually, I switched to using plain ol' LaTeX with the MinionPro package... I felt that having to redefine all the greek letters is quite hacky and not something one would want to have if it can be avoided.
– tusky_mcmammoth
May 15 '18 at 5:22
add a comment |
Any updates here? Fits the answer all your needs? Would you accept/ vote for the answer? - Or are you looking for another solution?
– Bobyandbob
May 14 '18 at 19:51
Actually, I switched to using plain ol' LaTeX with the MinionPro package... I felt that having to redefine all the greek letters is quite hacky and not something one would want to have if it can be avoided.
– tusky_mcmammoth
May 15 '18 at 5:22
Any updates here? Fits the answer all your needs? Would you accept/ vote for the answer? - Or are you looking for another solution?
– Bobyandbob
May 14 '18 at 19:51
Any updates here? Fits the answer all your needs? Would you accept/ vote for the answer? - Or are you looking for another solution?
– Bobyandbob
May 14 '18 at 19:51
Actually, I switched to using plain ol' LaTeX with the MinionPro package... I felt that having to redefine all the greek letters is quite hacky and not something one would want to have if it can be avoided.
– tusky_mcmammoth
May 15 '18 at 5:22
Actually, I switched to using plain ol' LaTeX with the MinionPro package... I felt that having to redefine all the greek letters is quite hacky and not something one would want to have if it can be avoided.
– tusky_mcmammoth
May 15 '18 at 5:22
add a comment |
1 Answer
1
active
oldest
votes
Edit: See the last code for the suggested solution
Old answer:
Seems that typing the Greek letters by a Greek keyboard solves the problem.
After many tests, found that the next code works with my font:
documentclass[11pt,oneside]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsLinux Libertine O
usepackagepolyglossia
setmainlanguagegreek
setotherlanguageenglish
setmainfontLinux Libertine O
%newfontfamilygreekfontLinux Libertine O
begindocument
selectlanguageenglish
beginequation
V_textPSD= V_sV_msin(omega_r t + φ_s)sinleft(omega_r t + φ_sright)
endequation
beginequationγ_s ζ_s ς_s κ_s φ_s varphi_s θ_s ξ_s Ξ_s f_s p_s 6_6 6_p p_6
endequation
beginequationgamma_s zeta_s varsigma_s kappa_s phi_s varphi_s theta_s xi_s Xi_s f_s p_s 6_6 6_p p_6
endequation
selectlanguagegreek
Κείμενο εδώ
enddocument
Try with your font too.
Output:
As you can see, the equation (2) where greek letters typed from a greek keyboard gives enough better results.
PS: You don't have to use greek as mainlanguage... You may remove it if not installed or something.
And without setallmainfontsLinux Libertine O
(with system default math fonts for greek -just for comparsion-)
I get:
Edit (suggested solution):
Many people want to use greek letters but they don't have a greek keyboard. But even they do have one, it is a bad practice (in my opinion) to write from the keyboard greek letters in your math. (Let's suppose you want to create a latex code from your xelatex or you want to translate in other language and don't want to change your math code too). Then the solution is to write with the usual way your math and just redefine the greek letters in your preamble as shown below:
documentclass[11pt,oneside]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsLinux Libertine O
usepackagepolyglossia
setmainlanguagegreek
setotherlanguageenglish
setmainfontLinux Libertine O
%newfontfamilygreekfontLinux Libertine O
% Definitions of Greek (in math mode)
defalphaα
defbetaβ
defgammaγ
defdeltaδ
defepsilonε
defzetaζ
defetaη
defthetaθ
defiotaι
defkappaκ
deflambdaλ
defmuμ
defnuν
defxiξ
%defοo
defpiπ
defrhoρ
defsigmaσ
deftauτ
defupsilonυ
defphiφ
defvarphiϕ
defchiχ
defpsiψ
defomegaω
defvarsigmaς
defvarrhoϱ
defvarthetaϑ
defAlphaΑ
defBetaΒ
defGammaΓ
defDeltaΔ
defEpsilonΕ
defZetaΖ
defEtaΗ
defThetaΘ
defIotaΙ
defKappaΚ
defLambdaΛ
defMuΜ
defNuΝ
defXiΞ
%defΟO
defPiΠ
defRhoΡ
defSigmaΣ
defTauΤ
defUpsilonΥ
defPhiΦ
defChiΧ
defPsiΨ
defOmegaΩ
begindocument
selectlanguageenglish
English text
[
alpha_α
beta_β
gamma_γ
delta_δ
epsilon_ε
zeta_ζ
eta_η
theta_θ
iota_ι
kappa_κ
lambda_λ
mu_μ
nu_ν
xi_ξ
%ο_o
pi_π
rho_ρ
sigma_σ
tau_τ
upsilon_υ
phi_φ
varphi_ϕ
chi_χ
psi_ψ
omega_ω
varsigma_ς
varrho_ϱ
vartheta_ϑ]
[
Alpha_Α
Beta_Β
Gamma_Γ
Delta_Δ
Epsilon_Ε
Zeta_Ζ
Eta_Η
Theta_Θ
Iota_Ι
Kappa_Κ
Lambda_Λ
Mu_Μ
Nu_Ν
Xi_Ξ
%Ο_O
Pi_Π
Rho_Ρ
Sigma_Σ
Tau_Τ
Upsilon_Υ
Phi_Φ
Chi_Χ
Psi_Ψ
Omega_Ω
]
selectlanguagegreek
Ελληνικό κείμενο εδώ
enddocument
Output:
Thanks for the answer! Any idea why this works? It is not an ideal solution as I've already got a large document with Greek letters as math macros.
– tusky_mcmammoth
Oct 17 '17 at 6:31
2
@tusky_mcmammoth: I don't know why this works. I just found it by testing... I initially thought thatalphabeta
package solves the problem, but found out it doesnt. As for your document, you can always redefine the math macros like (defalphaα etc) just after loading all the packages
– koleygr
Oct 17 '17 at 11:33
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%2f396528%2fxelatex-minion-pro-subscript-vertical-alignment%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Edit: See the last code for the suggested solution
Old answer:
Seems that typing the Greek letters by a Greek keyboard solves the problem.
After many tests, found that the next code works with my font:
documentclass[11pt,oneside]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsLinux Libertine O
usepackagepolyglossia
setmainlanguagegreek
setotherlanguageenglish
setmainfontLinux Libertine O
%newfontfamilygreekfontLinux Libertine O
begindocument
selectlanguageenglish
beginequation
V_textPSD= V_sV_msin(omega_r t + φ_s)sinleft(omega_r t + φ_sright)
endequation
beginequationγ_s ζ_s ς_s κ_s φ_s varphi_s θ_s ξ_s Ξ_s f_s p_s 6_6 6_p p_6
endequation
beginequationgamma_s zeta_s varsigma_s kappa_s phi_s varphi_s theta_s xi_s Xi_s f_s p_s 6_6 6_p p_6
endequation
selectlanguagegreek
Κείμενο εδώ
enddocument
Try with your font too.
Output:
As you can see, the equation (2) where greek letters typed from a greek keyboard gives enough better results.
PS: You don't have to use greek as mainlanguage... You may remove it if not installed or something.
And without setallmainfontsLinux Libertine O
(with system default math fonts for greek -just for comparsion-)
I get:
Edit (suggested solution):
Many people want to use greek letters but they don't have a greek keyboard. But even they do have one, it is a bad practice (in my opinion) to write from the keyboard greek letters in your math. (Let's suppose you want to create a latex code from your xelatex or you want to translate in other language and don't want to change your math code too). Then the solution is to write with the usual way your math and just redefine the greek letters in your preamble as shown below:
documentclass[11pt,oneside]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsLinux Libertine O
usepackagepolyglossia
setmainlanguagegreek
setotherlanguageenglish
setmainfontLinux Libertine O
%newfontfamilygreekfontLinux Libertine O
% Definitions of Greek (in math mode)
defalphaα
defbetaβ
defgammaγ
defdeltaδ
defepsilonε
defzetaζ
defetaη
defthetaθ
defiotaι
defkappaκ
deflambdaλ
defmuμ
defnuν
defxiξ
%defοo
defpiπ
defrhoρ
defsigmaσ
deftauτ
defupsilonυ
defphiφ
defvarphiϕ
defchiχ
defpsiψ
defomegaω
defvarsigmaς
defvarrhoϱ
defvarthetaϑ
defAlphaΑ
defBetaΒ
defGammaΓ
defDeltaΔ
defEpsilonΕ
defZetaΖ
defEtaΗ
defThetaΘ
defIotaΙ
defKappaΚ
defLambdaΛ
defMuΜ
defNuΝ
defXiΞ
%defΟO
defPiΠ
defRhoΡ
defSigmaΣ
defTauΤ
defUpsilonΥ
defPhiΦ
defChiΧ
defPsiΨ
defOmegaΩ
begindocument
selectlanguageenglish
English text
[
alpha_α
beta_β
gamma_γ
delta_δ
epsilon_ε
zeta_ζ
eta_η
theta_θ
iota_ι
kappa_κ
lambda_λ
mu_μ
nu_ν
xi_ξ
%ο_o
pi_π
rho_ρ
sigma_σ
tau_τ
upsilon_υ
phi_φ
varphi_ϕ
chi_χ
psi_ψ
omega_ω
varsigma_ς
varrho_ϱ
vartheta_ϑ]
[
Alpha_Α
Beta_Β
Gamma_Γ
Delta_Δ
Epsilon_Ε
Zeta_Ζ
Eta_Η
Theta_Θ
Iota_Ι
Kappa_Κ
Lambda_Λ
Mu_Μ
Nu_Ν
Xi_Ξ
%Ο_O
Pi_Π
Rho_Ρ
Sigma_Σ
Tau_Τ
Upsilon_Υ
Phi_Φ
Chi_Χ
Psi_Ψ
Omega_Ω
]
selectlanguagegreek
Ελληνικό κείμενο εδώ
enddocument
Output:
Thanks for the answer! Any idea why this works? It is not an ideal solution as I've already got a large document with Greek letters as math macros.
– tusky_mcmammoth
Oct 17 '17 at 6:31
2
@tusky_mcmammoth: I don't know why this works. I just found it by testing... I initially thought thatalphabeta
package solves the problem, but found out it doesnt. As for your document, you can always redefine the math macros like (defalphaα etc) just after loading all the packages
– koleygr
Oct 17 '17 at 11:33
add a comment |
Edit: See the last code for the suggested solution
Old answer:
Seems that typing the Greek letters by a Greek keyboard solves the problem.
After many tests, found that the next code works with my font:
documentclass[11pt,oneside]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsLinux Libertine O
usepackagepolyglossia
setmainlanguagegreek
setotherlanguageenglish
setmainfontLinux Libertine O
%newfontfamilygreekfontLinux Libertine O
begindocument
selectlanguageenglish
beginequation
V_textPSD= V_sV_msin(omega_r t + φ_s)sinleft(omega_r t + φ_sright)
endequation
beginequationγ_s ζ_s ς_s κ_s φ_s varphi_s θ_s ξ_s Ξ_s f_s p_s 6_6 6_p p_6
endequation
beginequationgamma_s zeta_s varsigma_s kappa_s phi_s varphi_s theta_s xi_s Xi_s f_s p_s 6_6 6_p p_6
endequation
selectlanguagegreek
Κείμενο εδώ
enddocument
Try with your font too.
Output:
As you can see, the equation (2) where greek letters typed from a greek keyboard gives enough better results.
PS: You don't have to use greek as mainlanguage... You may remove it if not installed or something.
And without setallmainfontsLinux Libertine O
(with system default math fonts for greek -just for comparsion-)
I get:
Edit (suggested solution):
Many people want to use greek letters but they don't have a greek keyboard. But even they do have one, it is a bad practice (in my opinion) to write from the keyboard greek letters in your math. (Let's suppose you want to create a latex code from your xelatex or you want to translate in other language and don't want to change your math code too). Then the solution is to write with the usual way your math and just redefine the greek letters in your preamble as shown below:
documentclass[11pt,oneside]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsLinux Libertine O
usepackagepolyglossia
setmainlanguagegreek
setotherlanguageenglish
setmainfontLinux Libertine O
%newfontfamilygreekfontLinux Libertine O
% Definitions of Greek (in math mode)
defalphaα
defbetaβ
defgammaγ
defdeltaδ
defepsilonε
defzetaζ
defetaη
defthetaθ
defiotaι
defkappaκ
deflambdaλ
defmuμ
defnuν
defxiξ
%defοo
defpiπ
defrhoρ
defsigmaσ
deftauτ
defupsilonυ
defphiφ
defvarphiϕ
defchiχ
defpsiψ
defomegaω
defvarsigmaς
defvarrhoϱ
defvarthetaϑ
defAlphaΑ
defBetaΒ
defGammaΓ
defDeltaΔ
defEpsilonΕ
defZetaΖ
defEtaΗ
defThetaΘ
defIotaΙ
defKappaΚ
defLambdaΛ
defMuΜ
defNuΝ
defXiΞ
%defΟO
defPiΠ
defRhoΡ
defSigmaΣ
defTauΤ
defUpsilonΥ
defPhiΦ
defChiΧ
defPsiΨ
defOmegaΩ
begindocument
selectlanguageenglish
English text
[
alpha_α
beta_β
gamma_γ
delta_δ
epsilon_ε
zeta_ζ
eta_η
theta_θ
iota_ι
kappa_κ
lambda_λ
mu_μ
nu_ν
xi_ξ
%ο_o
pi_π
rho_ρ
sigma_σ
tau_τ
upsilon_υ
phi_φ
varphi_ϕ
chi_χ
psi_ψ
omega_ω
varsigma_ς
varrho_ϱ
vartheta_ϑ]
[
Alpha_Α
Beta_Β
Gamma_Γ
Delta_Δ
Epsilon_Ε
Zeta_Ζ
Eta_Η
Theta_Θ
Iota_Ι
Kappa_Κ
Lambda_Λ
Mu_Μ
Nu_Ν
Xi_Ξ
%Ο_O
Pi_Π
Rho_Ρ
Sigma_Σ
Tau_Τ
Upsilon_Υ
Phi_Φ
Chi_Χ
Psi_Ψ
Omega_Ω
]
selectlanguagegreek
Ελληνικό κείμενο εδώ
enddocument
Output:
Thanks for the answer! Any idea why this works? It is not an ideal solution as I've already got a large document with Greek letters as math macros.
– tusky_mcmammoth
Oct 17 '17 at 6:31
2
@tusky_mcmammoth: I don't know why this works. I just found it by testing... I initially thought thatalphabeta
package solves the problem, but found out it doesnt. As for your document, you can always redefine the math macros like (defalphaα etc) just after loading all the packages
– koleygr
Oct 17 '17 at 11:33
add a comment |
Edit: See the last code for the suggested solution
Old answer:
Seems that typing the Greek letters by a Greek keyboard solves the problem.
After many tests, found that the next code works with my font:
documentclass[11pt,oneside]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsLinux Libertine O
usepackagepolyglossia
setmainlanguagegreek
setotherlanguageenglish
setmainfontLinux Libertine O
%newfontfamilygreekfontLinux Libertine O
begindocument
selectlanguageenglish
beginequation
V_textPSD= V_sV_msin(omega_r t + φ_s)sinleft(omega_r t + φ_sright)
endequation
beginequationγ_s ζ_s ς_s κ_s φ_s varphi_s θ_s ξ_s Ξ_s f_s p_s 6_6 6_p p_6
endequation
beginequationgamma_s zeta_s varsigma_s kappa_s phi_s varphi_s theta_s xi_s Xi_s f_s p_s 6_6 6_p p_6
endequation
selectlanguagegreek
Κείμενο εδώ
enddocument
Try with your font too.
Output:
As you can see, the equation (2) where greek letters typed from a greek keyboard gives enough better results.
PS: You don't have to use greek as mainlanguage... You may remove it if not installed or something.
And without setallmainfontsLinux Libertine O
(with system default math fonts for greek -just for comparsion-)
I get:
Edit (suggested solution):
Many people want to use greek letters but they don't have a greek keyboard. But even they do have one, it is a bad practice (in my opinion) to write from the keyboard greek letters in your math. (Let's suppose you want to create a latex code from your xelatex or you want to translate in other language and don't want to change your math code too). Then the solution is to write with the usual way your math and just redefine the greek letters in your preamble as shown below:
documentclass[11pt,oneside]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsLinux Libertine O
usepackagepolyglossia
setmainlanguagegreek
setotherlanguageenglish
setmainfontLinux Libertine O
%newfontfamilygreekfontLinux Libertine O
% Definitions of Greek (in math mode)
defalphaα
defbetaβ
defgammaγ
defdeltaδ
defepsilonε
defzetaζ
defetaη
defthetaθ
defiotaι
defkappaκ
deflambdaλ
defmuμ
defnuν
defxiξ
%defοo
defpiπ
defrhoρ
defsigmaσ
deftauτ
defupsilonυ
defphiφ
defvarphiϕ
defchiχ
defpsiψ
defomegaω
defvarsigmaς
defvarrhoϱ
defvarthetaϑ
defAlphaΑ
defBetaΒ
defGammaΓ
defDeltaΔ
defEpsilonΕ
defZetaΖ
defEtaΗ
defThetaΘ
defIotaΙ
defKappaΚ
defLambdaΛ
defMuΜ
defNuΝ
defXiΞ
%defΟO
defPiΠ
defRhoΡ
defSigmaΣ
defTauΤ
defUpsilonΥ
defPhiΦ
defChiΧ
defPsiΨ
defOmegaΩ
begindocument
selectlanguageenglish
English text
[
alpha_α
beta_β
gamma_γ
delta_δ
epsilon_ε
zeta_ζ
eta_η
theta_θ
iota_ι
kappa_κ
lambda_λ
mu_μ
nu_ν
xi_ξ
%ο_o
pi_π
rho_ρ
sigma_σ
tau_τ
upsilon_υ
phi_φ
varphi_ϕ
chi_χ
psi_ψ
omega_ω
varsigma_ς
varrho_ϱ
vartheta_ϑ]
[
Alpha_Α
Beta_Β
Gamma_Γ
Delta_Δ
Epsilon_Ε
Zeta_Ζ
Eta_Η
Theta_Θ
Iota_Ι
Kappa_Κ
Lambda_Λ
Mu_Μ
Nu_Ν
Xi_Ξ
%Ο_O
Pi_Π
Rho_Ρ
Sigma_Σ
Tau_Τ
Upsilon_Υ
Phi_Φ
Chi_Χ
Psi_Ψ
Omega_Ω
]
selectlanguagegreek
Ελληνικό κείμενο εδώ
enddocument
Output:
Edit: See the last code for the suggested solution
Old answer:
Seems that typing the Greek letters by a Greek keyboard solves the problem.
After many tests, found that the next code works with my font:
documentclass[11pt,oneside]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsLinux Libertine O
usepackagepolyglossia
setmainlanguagegreek
setotherlanguageenglish
setmainfontLinux Libertine O
%newfontfamilygreekfontLinux Libertine O
begindocument
selectlanguageenglish
beginequation
V_textPSD= V_sV_msin(omega_r t + φ_s)sinleft(omega_r t + φ_sright)
endequation
beginequationγ_s ζ_s ς_s κ_s φ_s varphi_s θ_s ξ_s Ξ_s f_s p_s 6_6 6_p p_6
endequation
beginequationgamma_s zeta_s varsigma_s kappa_s phi_s varphi_s theta_s xi_s Xi_s f_s p_s 6_6 6_p p_6
endequation
selectlanguagegreek
Κείμενο εδώ
enddocument
Try with your font too.
Output:
As you can see, the equation (2) where greek letters typed from a greek keyboard gives enough better results.
PS: You don't have to use greek as mainlanguage... You may remove it if not installed or something.
And without setallmainfontsLinux Libertine O
(with system default math fonts for greek -just for comparsion-)
I get:
Edit (suggested solution):
Many people want to use greek letters but they don't have a greek keyboard. But even they do have one, it is a bad practice (in my opinion) to write from the keyboard greek letters in your math. (Let's suppose you want to create a latex code from your xelatex or you want to translate in other language and don't want to change your math code too). Then the solution is to write with the usual way your math and just redefine the greek letters in your preamble as shown below:
documentclass[11pt,oneside]article
usepackageamsmath
usepackage[MnSymbol]mathspec
usepackageMnSymbol
defaultfontfeaturesLigatures=TeX
setallmainfontsLinux Libertine O
usepackagepolyglossia
setmainlanguagegreek
setotherlanguageenglish
setmainfontLinux Libertine O
%newfontfamilygreekfontLinux Libertine O
% Definitions of Greek (in math mode)
defalphaα
defbetaβ
defgammaγ
defdeltaδ
defepsilonε
defzetaζ
defetaη
defthetaθ
defiotaι
defkappaκ
deflambdaλ
defmuμ
defnuν
defxiξ
%defοo
defpiπ
defrhoρ
defsigmaσ
deftauτ
defupsilonυ
defphiφ
defvarphiϕ
defchiχ
defpsiψ
defomegaω
defvarsigmaς
defvarrhoϱ
defvarthetaϑ
defAlphaΑ
defBetaΒ
defGammaΓ
defDeltaΔ
defEpsilonΕ
defZetaΖ
defEtaΗ
defThetaΘ
defIotaΙ
defKappaΚ
defLambdaΛ
defMuΜ
defNuΝ
defXiΞ
%defΟO
defPiΠ
defRhoΡ
defSigmaΣ
defTauΤ
defUpsilonΥ
defPhiΦ
defChiΧ
defPsiΨ
defOmegaΩ
begindocument
selectlanguageenglish
English text
[
alpha_α
beta_β
gamma_γ
delta_δ
epsilon_ε
zeta_ζ
eta_η
theta_θ
iota_ι
kappa_κ
lambda_λ
mu_μ
nu_ν
xi_ξ
%ο_o
pi_π
rho_ρ
sigma_σ
tau_τ
upsilon_υ
phi_φ
varphi_ϕ
chi_χ
psi_ψ
omega_ω
varsigma_ς
varrho_ϱ
vartheta_ϑ]
[
Alpha_Α
Beta_Β
Gamma_Γ
Delta_Δ
Epsilon_Ε
Zeta_Ζ
Eta_Η
Theta_Θ
Iota_Ι
Kappa_Κ
Lambda_Λ
Mu_Μ
Nu_Ν
Xi_Ξ
%Ο_O
Pi_Π
Rho_Ρ
Sigma_Σ
Tau_Τ
Upsilon_Υ
Phi_Φ
Chi_Χ
Psi_Ψ
Omega_Ω
]
selectlanguagegreek
Ελληνικό κείμενο εδώ
enddocument
Output:
edited Oct 17 '17 at 13:56
answered Oct 16 '17 at 23:34
koleygrkoleygr
13.4k11039
13.4k11039
Thanks for the answer! Any idea why this works? It is not an ideal solution as I've already got a large document with Greek letters as math macros.
– tusky_mcmammoth
Oct 17 '17 at 6:31
2
@tusky_mcmammoth: I don't know why this works. I just found it by testing... I initially thought thatalphabeta
package solves the problem, but found out it doesnt. As for your document, you can always redefine the math macros like (defalphaα etc) just after loading all the packages
– koleygr
Oct 17 '17 at 11:33
add a comment |
Thanks for the answer! Any idea why this works? It is not an ideal solution as I've already got a large document with Greek letters as math macros.
– tusky_mcmammoth
Oct 17 '17 at 6:31
2
@tusky_mcmammoth: I don't know why this works. I just found it by testing... I initially thought thatalphabeta
package solves the problem, but found out it doesnt. As for your document, you can always redefine the math macros like (defalphaα etc) just after loading all the packages
– koleygr
Oct 17 '17 at 11:33
Thanks for the answer! Any idea why this works? It is not an ideal solution as I've already got a large document with Greek letters as math macros.
– tusky_mcmammoth
Oct 17 '17 at 6:31
Thanks for the answer! Any idea why this works? It is not an ideal solution as I've already got a large document with Greek letters as math macros.
– tusky_mcmammoth
Oct 17 '17 at 6:31
2
2
@tusky_mcmammoth: I don't know why this works. I just found it by testing... I initially thought that
alphabeta
package solves the problem, but found out it doesnt. As for your document, you can always redefine the math macros like (defalphaα etc) just after loading all the packages– koleygr
Oct 17 '17 at 11:33
@tusky_mcmammoth: I don't know why this works. I just found it by testing... I initially thought that
alphabeta
package solves the problem, but found out it doesnt. As for your document, you can always redefine the math macros like (defalphaα etc) just after loading all the packages– koleygr
Oct 17 '17 at 11:33
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%2f396528%2fxelatex-minion-pro-subscript-vertical-alignment%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
Any updates here? Fits the answer all your needs? Would you accept/ vote for the answer? - Or are you looking for another solution?
– Bobyandbob
May 14 '18 at 19:51
Actually, I switched to using plain ol' LaTeX with the MinionPro package... I felt that having to redefine all the greek letters is quite hacky and not something one would want to have if it can be avoided.
– tusky_mcmammoth
May 15 '18 at 5:22