# Tag Info

9

It is easy to get a large accent, eg {\Huge\'{}} positioning it over a normal size letter usually means a bit of trial and error to get something that looks right but perhaps: \documentclass{article} \newcommand\biga[1]{\leavevmode\vbox{\offinterlineskip \halign{##\cr\hss\makebox(0,0){\Huge\'{}}\hss\cr\noalign{\vskip-3pt}#1\cr}}} \begin{document} ...

15

For the breve accent in text mode use \u{\i}, for the háček use \v{\i}. In math mode, they are \breve{\imath} and \check{\imath}. \documentclass{article} \begin{document} \verb|\u{\i}|: \u{\i} \verb|\v{\i}|: \v{\i} \verb|$\breve{\imath}\ne\check{\imath}$|: $\breve{\imath}\ne\check{\imath}$ \end{document}

1

Option applemac is the source of the problem. It seems (compiled on PC) that we can omit it. If not, follow the expalanation from the help message on error about options clash. \documentclass[a4paper, 16pts,notitlepage]{report} \usepackage{amsfonts} %\usepackage{amsfonts} %double! -- PS \usepackage{graphicx} \usepackage[utf8]{inputenc} ...

3

The error is that you are nesting inline math... and it is not allowed. Also, you should use \widehat instead of \hat if you want to include more than one character. I would modify that to (using article since I don't have your document class): \documentclass{article} \usepackage{amsmath} \begin{document} $\{\widehat{P},\widehat{Cl}\}$ \end{document} ...

3

You're opening and closing math mode without a reason. \documentclass{article} \usepackage{amsmath} \begin{document} $\left\{\hat{P},\hat{Cl}\right\}$ \end{document} However, the result is really bad because the fences are stretched too much. Also “Cl” should be treated in a different way: \documentclass{article} \usepackage{amsmath} ...

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 ...

0

Based on egreg's answer: \documentclass{scrartcl} \usepackage{unicode-math} \usepackage{amsmath} \AtBeginDocument{\mathcodex="8000 } \begingroup\lccode~=`x \lowercase{\endgroup\def~}{\addaccent{x}} \makeatletter \newcommand\addaccent[1]{% \@ifnextchar ^^^^0303{\text{\emph{#1̃}}\@gobble}{% \@ifnextchar ^^^^0302{\text{\emph{#1̂}}\@gobble}{% ...

5

There is no Unicode “LATIN SMALL LETTER X WITH TILDE” so you get “x̃” by typing x followed by U+0303 “COMBINING TILDE”. This can't work in math mode, which strictly works from left to right and a following character doesn't influence what's before it. You can make existent Unicode points such as “LATIN SMALL LETTER O WITH TILDE” to behave like \tilde{o} in ...

4


3

Without additional packages. These macros correct width of a box with a slanted entry. \documentclass{article} \begin{document} \newdimen\slantmathcorr \def\oversl#1{%assuming that mathslant=0.25 \setbox0=\hbox{$#1$} \slantmathcorr=\wd0 \hskip 0.2\slantmathcorr \overline{\hbox to 0.8\wd0{% \vphantom{\hbox{$#1$}}}} \hskip-\wd0\hbox{$#1$} } ...

2

To get "short" underlines in math mode, you could use the \ushort macro of the ushort package. To avoid a near- or full collision between \bar{t} and ], you could insert a \, ("thin space") spacer. In the following example, the modified code in on the left and your original code is on the right. \documentclass{article} \usepackage[T1]{fontenc} ...

Top 50 recent answers are included