1

I've asked about how similar is mathptmx to Times New Roman. I have a fine answer for that, but I forgot to mention I have a few accented characters... They doesn't look similar at all to the desired.

Can I fix the accented characters somehow (all the other characters are fine)? I have no idea whether this is even possible...

What I wanted (sg similar would do):

enter image description here

What I've got with mathptmx:

enter image description here

Example code what we have for the last one.

\documentclass[doc,a5paper,landscape,12pt]{apa6}

\PassOptionsToPackage{chapternumber=Huordinal}{magyar.ldf}
\usepackage[magyar]{babel}
\usepackage[utf8]{inputenc}
\usepackage{t1enc}
\usepackage{graphicx}

\newgeometry{
    margin=2.5cm,
    bindingoffset=0.5cm,
    headheight=2cm,
}

\usepackage{times}

\usepackage{microtype}

\usepackage{lipsum}

\shorttitle{}

\begin{document}

ABCDEFGHIJKLMNOPQRSTUVWXYZ\\
abcdefghijklmnopqrstuvwxyz\\
0123456789\\
ÁÉÍÓÖŐÚÜŰáéíóöőúüű

\end{document}

(yes, Hungarian has a bunch of accented characters...)

Or can I use Times New Roman, apa6 and Hungarian anyhow? (some of the commenters mentioned LuaLaTeX and XeTeX but I could get them work together)

  • 6
    what font encoding are you using? (Please always provide a complete document, then we wouldn't need to ask) – David Carlisle Nov 18 '13 at 19:46
  • 1
    The lower one looks like Times, not Times New Roman (I have both installed on a Mac and I just compared). But is the effort you are putting into this really worth it? Will the people looking at your thesis really notice the difference and if they do, will they really care? – Szabolcs Nov 18 '13 at 19:50
  • 2
    It is hard to believe these thesis requirements are really requirements (my thesis was done on a typewriter and I still passed:-) But anyway if you are really that concerned why don't you use xetex and use the system installation of times new roman exactly. – David Carlisle Nov 18 '13 at 20:58
  • 1
    @masu If you are so concerned about the identity of the font, why not compile your document with XeLaTeX or LuaLaTeX and actually use Times New Roman? – Alan Munn Nov 18 '13 at 20:59
  • 4
    If an institution fails a thesis because of the slope of the accents on capital letters, you've got to question the institution. You say LuaLaTeX doesn't support Hungarian but that seems unlikely, it may be that the magyar babel option doesn't work in lualatex but that isn't the same thing. – David Carlisle Nov 18 '13 at 21:24
1

Thanks to all the help in the comments I managed to create a XeLaTeX document.

\documentclass[12pt]{apa6}

%\PassOptionsToPackage{chapternumber=Huordinal}{magyar.ldf}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Times New Roman}
\usepackage[magyar]{babel}

\shorttitle{}

\begin{document}

ABCDEFGHIJKLMNOPQRSTUVWXYZ

abcdefghijklmnopqrstuvwxyz

0123456789

ÁÉÍÓÖŐÚÜŰáéíóöőúüű

\end{document}
  • You should not use inputenc with XeLaTeX (and your file must be encoded as UTF8 not any other encoding.) – Alan Munn Nov 19 '13 at 14:04
  • @AlanMunn thanks, I've used only to make a warning go away. I suppose it didn't change anything else. – masu Nov 19 '13 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.