# Tag Info

### NewDocumentEnvironment optional argument changes behaviour with \obeylines

The issue is "obviously" (*) that the optional argument grabber tries to tokenize the newline token, which normally has catcode 5 ("end of line") before \obeylines is executed ...
• 2,218

### How do I globally adjust/stretch the in-between vertical spacing of items in lists only when they include display style fractions in inline math mode?

Here is the way I come up with. Instead of figuring out whether there is \dfrac somewhere in the list and then change the sep, you can locally redefine \dfrac itself, so that it is a bit "taller&...
• 2,030

### Adding two diacritical points under letters

Totally different approach: Why not simply make use of Unicode's U+0323 COMBINING DOT BELOW and U+0324 COMBINING DIAERESIS BELOW? Ḥāfiz̤, Shams-ud-Dīn Muḥammad Other exampl̤e
• 5,395

### Adding two diacritical points under letters

With a very simple modification of your code: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} \newcommand{\dd}[1]{% \ooalign{#1\cr\hfil\raisebox{-.5ex}{\...
• 261k
Accepted

### Adding two diacritical points under letters

\ooalign is not the right tool. \documentclass{article} \DeclareRobustCcommand{\dd}[1]{% \vtop{% \offinterlineskip \ialign{% ##\cr % template #1\cr % top line \noalign{\...
• 993k

### Adding two diacritical points under letters

Mimicking the plain definition for \d works well. \makeatletter \newcommand{\dd}[1]{{\o@lign{\relax#1\crcr \hidewidth\ltx@sh@ft{-1ex}.\kern-.1em.\hidewidth}}} \makeatother {\Huge \d{H}\={a}fi\dd{...
• 1,089
1 vote
Accepted

### Grouped Bar chart - scaling problem

You need set ytick=data. You are better to see the enlarge limit effect when there are axis lines drawn. Enlarge limit will make the two bars plot drawn in the proper distance. Also you axis height is ...
• 4,338

### How to add spacings within one line?

You need to set a higher value to \lineskiplimit (standard is 0pt) and to \lineskip (standard is 1pt). \documentclass[a4paper]{article} \usepackage{unicode-math} \unimathsetup{bold-style=ISO,sans-...
• 993k

• 327

### avoid space after commas used as thousands separator in math mode

If you want an upper punctuation (freistehender Hochpunkt) without empty space in a math environment try \dot\, example: $14\dot\,000\dot\,000 \cdot \mbox{0,6} = 8\dot\,400\dot\,000$ which will ...
• 101
1 vote

### Weird word breaks in table

Using tabularray package, \small font size, and rotate table as suggested {Mico in his nice answer (+1): \documentclass[11pt,fleqn,demo]{article} \usepackage{geometry} \usepackage[T1]{fontenc} \...
• 255k

### Weird word breaks in table

My main recommendation is that you employ landscape mode for the table. In the code below, this is accomplished by (a) loading the rotating package and (b) using the package's sidewaystable ...
• 439k

### Weird word breaks in table

Ok, here is some analysis and some trials to approach your desired result a little bit more. All changes where done with the questions in mind "does it compile?" and "do I move into the ...
• 1,774
Accepted

### How can I automatically overwrite a wrapped line?

baselineskip set to 0pt \documentclass{article} \begin{document} \setlength\baselineskip{0pt} \setlength\lineskiplimit{-\maxdimen} These are some words that I'd like to overwrite when they wrap ...
• 668k
1 vote
Accepted

### Setting left margin in itemize pushes right-margin to be unaligned to section-right

Unless you're getting different results from me, the problem isn't that they're not right aligned. The problem is that the items inside the lists started with \resumeSubHeadingListStart are typeset ...
• 36.7k
Accepted

### Vertical spacing between equation and itemize environments

Here is a solution: with a patch for lists in beamer. using gather* (from amsmath package) instead of equation* Note: An equation in the last item of a list is only distinguished from an equation ...
• 68.1k
Accepted

### how can I diagnose inserted vertical (rubber) space?

\showoutput logs the internal box structure, you can use \showboxdepth to limit the log to the main vertical list, eg \documentclass{article} \usepackage{amsmath} \showoutput \showboxdepth=3 \...
• 668k
1 vote

### Weird space before each bibliography in beamer

As noted in the comments, redefining \item is having unintended consequences on the bibliography, since the \bibitem command used in the bibliography file contains commands defined in terms of \item. ...
• 36.7k
Accepted

### What is \mathopen{} for?

Some people write ]-1,1[ to denote the open interval from -1 to 1. The default TeX math status of the characters [ and ] is mathopen and mathclose, respectively. To properly typeset the open interval ...
• 439k
Accepted

### Using different font sizes and double spacing to be same as in MS Word

Well — you should never use explicit font sizes in LaTeX; that should be a task for the document class designer to select a coherent set of fonts. But you can have rope to hang yourself if you want. ...
• 30.2k
1 vote

• 668k

Top 50 recent answers are included