# Tag Info

0

This has nothing to do specifically with empheq. The simple document \documentclass{article} \begin{document} 0,5 $0,5$ \end{document} will show the same behavior. In math mode a comma is a punctuation symbol, so TeX automatically adds a thin space after it, which is needed in formulas like $(a,b)$. Either you use 0{,}5 in math mode, because this makes ...

0

You can reduce the space by putting comma inside braces like 0{,}5. But it is better to use siunitx. \documentclass[a4paper,11pt]{book} \usepackage{empheq} \usepackage[detect-all]{siunitx} \begin{document} 0,5 \begin{empheq}{align} 0{,}5\\ \num[output-decimal-marker = {,}]{0.5} \end{empheq} \end{document}

4

csquotes has predefined styles based on the language setting. If your language is british, then you get single quotes. Otherwise you could define them manually. You can alter them using \DeclareQuoteStyle as described in the manual on pp. 14--15 (texdoc csquotes). \documentclass{article} \usepackage[british]{babel} \usepackage{csquotes} \begin{document} He ...

7

assuming your file is UTF8 encoded the log file shows Missing character: There is no in font ptmr7t! Missing character: There is no in font ptmr7t! Missing character: There is no in font ptmr7t! as you have not told latex you are using UTF-8, so it sees a dash as three separate characters from its three bytes. All of them have the 8th bit set and the ...

4

As noted in the comments one should use matching text and math fonts which use very simmilar punctuation symbols. According to the TeXbook using Test with variable $x$. is to be preferred as well as Test with one $x$, two $y$, or three variables $z$. mainly because in several cases the punctuation symbols are more tightly spaced in math mode than in text. ...

10

Under the normal setting, the math code for comma is "613B as it results from \mathcode\,="613B in Plain TeX and \DeclareMathSymbol{,}{\mathpunct}{letters}{"3B} in LaTeX (precisely in fontmath.ltx). This means that the comma is a punctuation symbol (class 6), and that it's taken from the font specialized for math letters (family 1, where the math ...

8

\documentclass{article} \begin{document} \showoutput $,$, \end{document} produces which are "quite similar" in the default computer modern fonts, but if you look at the log you see ....\mathon ....\OML/cmm/m/it/10 ; ....\mathoff ....\OT1/cmr/m/n/10 , So the second one is a , in cmr10 whereas the first is a ; in cmmi10 (classic TeX encodings are ...

0

The listings package is not compatible with Unicode, only with extended ASCII. The listingsutf8 package provides some support for UTF-8 but, in general, if you want to typeset listings that contain Unicode characters, you're better off using one of the packages that fully support it, such as minted or pythontex. Besides, copying & pasting listings is ...

1

The correct way for dealing with consecutive quotes is separating them with a thin space: He said it was off the hook'\,'' Here's a sample, where various inputs are compared: \documentclass{article} \begin{document} \begin{tabular}{@{}ll@{}} Input & Rendering \\ \verb|He said it was off the hook'''| & He said it was off the hook''' \\ ...

1

Use the csquotes package! It also offers great possibilieties to cope with the different quoting styles of the various languages (babel and polyglossia are supported) \documentclass[parskip=half]{scrartcl} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguages{german} \usepackage{fontspec} \setmainfont{Deja Vu Sans} ...

2

You could try something like this. But I didn't check carefully if it does the expected thing with the other quoting commands. \documentclass{article} \usepackage[american]{babel} \usepackage[autostyle,autopunct=true]{csquotes} \listfiles \begin{document} \renewcommand{\mktextquote}[6]{% #1#2\ifblank{#4}{#5}{#4}#3#6} \let\enquote\textquote ...

2

Punctuation spacing style is configurable. And there are 6 predefined styles in xeCJK: quanjiao, banjiao, kaiming, hangmobanjiao, CCT and plain. What you need is the plain style, which does not change the original width of punctuations. If you can read Chinese, you should read the package document of xeCJK first. \documentclass[12pt,a4paper]{article} ...

1


5

This requires the makeindex style file to be changed/extended. For example, a dashindex.ist can be defined to be item_1 "\n \\subitem -- , " item_x1 "\n \\subitem -- , " saying, that the sub levels should be preceeded by a dash and a comma. Calling flow: pdflatex foo makeindex -s dashindex.ist foo pdflatex foo ...

2

When dealing with quotes the csquotes package is most convenient. Then you won’t have to use \glqq and \grqq at all. The basic usage would be: \documentclass{article} \usepackage{csquotes} \begin{document} \enquote{\textit{Analysis II}} \end{document} Of course you can make your italic quotes into a custom macro with ...

3

This period is hard coded into boxhandler.sty. For me, this would be sufficient reason not to use this package. You coild edit that file and make changes to six of the internal caption commands: \offset@caption \nooffset@caption \shortleft@caption \shortcenter@caption \shortright@caption \new@makecaption Remove the period after #2 in each of their ...

2

I find this way is very convenient: package: \usepackage[frenchb]{babel} in text: \og text \fg{}

1

Even though it's already been mentioned in the posting, it's worth discussing the dcolumn package in more detail. The package provides a column type called D that performs alignment on the decimal marker. The D column type takes three inputs: the input decimal marker (usually . or ,), the output decimal marker (again, usually . or ,), and the number of ...

Top 50 recent answers are included