# Tag Info

19

In the base LaTeX format \dots is just an alias for \ldots and is always on the baseline. If you add amsmath then it does change according to context, but not in this case, it is more optimised for the case where the binary operator is explicit: \documentclass{article} %\usepackage{amsmath} \begin{document} $(1-\theta_1) \times \dots \times(1-\theta_m)$ ...

15

Never use " for quotes. In particular, languages where babel uses " as a shorthand will make straight double quotes fail in various ways. The correct form is Content: \add \ent{Node add form'' base form} or, with Unicode characters Content: \add \ent{“Node add form” base form} Why " mustn't be used for quotes? It's true that what's printed is, ...

13


5

You want dot in caption and don't in references. This can be done with caption package. Redefine the labelsep like \captionsetup[table]{labelsep=period} \captionsetup[figure]{labelsep=period} separately or you can simply put \captionsetup{labelsep=period} and it is applicable to both figures and tables. A small example: \documentclass{book} ...

5

Here is an answer inspired by qingkuan@bbs.ctex.org. You can set a punctuation mark as \active, and then justify its position. Code: %!TEX program = xelatex \documentclass{article} \usepackage{xeCJK} \setCJKmainfont{SimSun} \makeatletter \begingroup \catcode\，=\active \@firstofone{\endgroup\protected\def，}{% \hskip -.4ex\rlap{\raise -.9 ex ...

4

It is only a draft: \documentclass[11pt]{article} \usepackage{kmath, kerkis} \font\commaf=cmr11 \begin{document} It's hard to tell apart commas, and periods. It's hard to tell apart commas{\commaf,} and periods. If there will be no math: \def\cmcomma{{\commaf,}} \let\commasign\cmcomma \catcode\,=13 %\def,{\commasign} \def,{\cmcomma} It's hard to tell ...

3

The approach cannot work directly. The type of author is not field but is a list of names. The format of author is controlled by \DeclareNameFormat. This directive format each name in the list in turn. Thus it requires a more complex definition, where you use the trick on the last element in the list of names. Here is a simplified definition ...

3

Here is yet another solution, which requires luatex, using OpenType font feature files which, amazingly, also work with Type1 fonts. Save the following as kerkis.fea: languagesystem DFLT dflt; languagesystem latn dflt; lookup SHIFT_N { # shift the apostrophe down and add some space on the right pos quoteright <0 -600 60 0> ; } SHIFT_N ; lookup ...

3

Statically changing the reference mechanisms to end by dots is, in my opinion, bad practice. It forces your structures. It is also unclear in the code how it should be interpreted, for instance: Bla bla ... as is seen in \ref{tab.some} Hence we can conclude in my view this looks like you forgot a ., however, that is not the case. Why would you have a dot ...

2

Since posting this question, I have discovered another question that deals with aspects of this issue in a non-microtype context. The accepted answer there, by topskip (code modified by him or her based on commented suggestions by egreg) suggests the following TeX "hack": \catcode`\—=13 ...

2

Trick revtex into thinking a period is there: \documentclass[aps,prl,12pt,amsmath]{revtex4-1} % I'm using the options aps, prl, and 12pt just to suppress % some warnings; they do not affect the problem illustrated. \newcommand\trick[1]{} \begin{document} This text includes an endnote that ends with an equation.% ~\footnote{% ...

1

Another approach is to make the apostrophe an active character and define it to use \raisebox only when small caps are in effect. I have small cap chapter headings and running headings but the table of contents is not small caps. This works for me: \let\horn@scshape\scshape ...

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