Tag Info

Hot answers tagged

2

the ] at the end of your \psline are printed as a normal character. The reason why your origin of the coordinate system is shifted to the right by the width of this character. And this happens three times. Remove the star of your pspicture environment and you'll see what happens. The three ] are placed relative to the origin of the coordinates system: ...


2

You should load xeCJK and remove CJKutf8; also xunicode and xltxtra are unneeded. I disable also protrusion, which doesn't really make sense with Chinese. The example is reduced, but it should show what you need to get started on the right path. \documentclass[11pt,a4paper]{moderncv} % moderncv themes %\moderncvtheme[blue]{casual} % ...


2

\dfrac is defined in amsmath but never use \\ to force line breaks: \documentclass{article} \usepackage{amsmath} \usepackage{unicode-math} \setmathfont{XITS Math} \begin{document} The quadratic formula is \[ x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a} \] \end{document}


2

You can achieve all this with David Carlisle's tabularx package. I thought to provide 2 different solutions, since manual breaks can be done inside a tabular environment, but that does not solve your problem properly IMO. Column width is fixed within tabularx preamble: >{\centering\arraybackslash}X means "centered-text (>{\centering\arraybackslash}), ...


2

The makecell package is done for that: it allows for linebreaks in cells, and common formatting for column heads. Also you shouldn't use \esizebox as it also scales the text in a tabular. I used the tabulars environment instead, with a table total width of 16 cm.. Although one should not use \multicolumns that come across X type columns, it seems to be ...


1

Here, I introduce \spaceout{} where the argument can contain text, \color macros, and any other macro intercepts you build in (for demo purposes, I intercept \label as well). The parameter defined by \def\theLetterSpace{-15pt} determines the additional kern applied to interletter-space. The last of the lines in my output is the product of \spaceout with ...


1

It's apparently the ISO 639-1 code that is used. For Khmer the two-letter code is "km" (official source: Language codes - ISO 639).



Only top voted, non community-wiki answers of a minimum length are eligible