# \negmedspace

Used in AMS math expressions to tighten spacing by a medium negative amount between adjacent symbols or subexpressions.

https://texform.dev/latex/commands/negmedspace

## Metadata

| Field | Value |
| --- | --- |
| Topic | [Spacing](https://texform.dev/latex/topics/spacing) |
| Packages | ams |
| Allowed mode | math |
| Tags | spacing |
| Commonality | low |
| Kind | prefix |

## Syntax

### ams

Argument specification: ``

Used in AMS math expressions to tighten spacing by a medium negative amount between adjacent symbols or subexpressions.

## Examples

```latex
a\negmedspace b
```

[Open in Playground](https://play.texform.dev/?input=a%5Cnegmedspace+b)

## Renderer support

| Package | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- |
| ams | full | full | full |

## Usage frequency

<0.01% of formulas in the measured corpus contain this entry, rank 209 of 263 entries with frequency data.

## In TeXForm

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

## See also

- [\\,](https://texform.dev/latex/commands/-2c-)
- [\\;](https://texform.dev/latex/commands/-3b-)
- [\\:](https://texform.dev/latex/commands/-3a-)
- [\\!](https://texform.dev/latex/commands/-21-)
- [\\>](https://texform.dev/latex/commands/-3e-)
- [\\enspace](https://texform.dev/latex/commands/enspace)
- [\\negthickspace](https://texform.dev/latex/commands/negthickspace)
- [\\negthinspace](https://texform.dev/latex/commands/negthinspace)
- [\\qquad](https://texform.dev/latex/commands/qquad)
- [\\quad](https://texform.dev/latex/commands/quad)
- [\\thinspace](https://texform.dev/latex/commands/thinspace)

## Test cases

### ams

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \negmedspace | Positive: baseline | Pass | Pass | Pass |
