Skip to content

Commit ac5b6f0

Browse files
committed
1 docs: update MISSING_FEATURES.md for delimiter sizing
2 3 Mark manual delimiter sizing (\big, \Big, \bigg, \Bigg) as implemented. 4 Update summary statistics: now 8/12 features implemented (67%). 5 6 Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent c55e7d2 commit ac5b6f0

File tree

1 file changed

+21
-23
lines changed

1 file changed

+21
-23
lines changed

MISSING_FEATURES.md

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ This document lists LaTeX features that are **not yet implemented** in SwiftMath
55
## Summary
66

77
- **Total Features Tested**: 12
8-
- **Fully Implemented**: 7 (58%)
8+
- **Fully Implemented**: 8 (67%)
99
- **Partially Implemented**: 0 (0%)
10-
- **Not Implemented**: 5 (42%)
10+
- **Not Implemented**: 4 (33%)
1111

1212
---
1313

@@ -56,22 +56,26 @@ This document lists LaTeX features that are **not yet implemented** in SwiftMath
5656

5757
---
5858

59-
### 4. ❌ Manual Delimiter Sizing: `\big`, `\Big`, `\bigg`, `\Bigg`
60-
**Status**: ❌ Not Implemented
61-
**Error**: `Invalid command \big`
62-
59+
### 4. ✅ Manual Delimiter Sizing: `\big`, `\Big`, `\bigg`, `\Bigg` - **IMPLEMENTED**
60+
**Status**: ✅ Working
6361
**Description**: Manually control delimiter sizes (4 levels beyond normal)
6462

65-
**Examples**:
66-
```latex
67-
\big( x \big) % slightly larger
68-
\Big[ y \Big] % larger
69-
\bigg\{ z \bigg\} % even larger
70-
\Bigg| w \Bigg| % largest
71-
```
63+
**Test Results**: All tests passed
64+
- `\big( x \big)` - ✅ Works (1.2x font size)
65+
- `\Big[ y \Big]` - ✅ Works (1.8x font size)
66+
- `\bigg\{ z \bigg\}` - ✅ Works (2.4x font size)
67+
- `\Bigg| w \Bigg|` - ✅ Works (3.0x font size)
68+
69+
**Supported Commands**:
70+
- `\big`, `\Big`, `\bigg`, `\Bigg` - basic sizing
71+
- `\bigl`, `\Bigl`, `\biggl`, `\Biggl` - left delimiter variants
72+
- `\bigr`, `\Bigr`, `\biggr`, `\Biggr` - right delimiter variants
73+
- `\bigm`, `\Bigm`, `\biggm`, `\Biggm` - middle delimiter variants
7274

7375
**Use Case**: Fine control over delimiter appearance, nested expressions
7476

77+
**Implementation**: Added `delimiterHeight` property to `MTInner`, stores size multiplier (1.2, 1.8, 2.4, 3.0), applied in `MTTypesetter.makeLeftRight()`.
78+
7579
---
7680

7781
### 5. ❌ Spacing Commands: `\,`, `\:`, `\;`, `\!`
@@ -200,11 +204,10 @@ x \, y \: z \; w % mixed spacing
200204

201205
### Remaining High Priority Features
202206
1. **Spacing commands** (`\,`, `\:`, `\;`, `\!`) - Used in almost all advanced math
203-
2. **Manual delimiter sizing** (`\big`, etc.) - Common in published mathematics
204-
3. **`\middle`** - Useful for conditional notation
207+
2. **`\middle`** - Useful for conditional notation
205208

206209
### Remaining Medium Priority Features
207-
4. **`\boldsymbol`** - Important for vector notation with Greek letters
210+
3. **`\boldsymbol`** - Important for vector notation with Greek letters
208211

209212
---
210213

@@ -217,7 +220,7 @@ All tests use the `MTMathListBuilder.build(fromString:error:)` API and automatic
217220
- `testDisplayStyle()` - ✅ Passed (IMPLEMENTED)
218221
- `testMiddleDelimiter()` - ⏭️ Skipped (not implemented)
219222
- `testSubstack()` - ✅ Passed (IMPLEMENTED)
220-
- `testManualDelimiterSizing()` - ⏭️ Skipped (not implemented)
223+
- `testManualDelimiterSizing()` - ✅ Passed (IMPLEMENTED)
221224
- `testSpacingCommands()` - ⏭️ Skipped (not implemented)
222225
- `testMultipleIntegrals()` - ✅ Passed (IMPLEMENTED)
223226
- `testContinuedFractions()` - ✅ Passed (IMPLEMENTED)
@@ -233,11 +236,6 @@ All tests use the `MTMathListBuilder.build(fromString:error:)` API and automatic
233236
- Needs integration with existing `\left...\right` delimiter pairing system
234237
- Should support all delimiter types that work with `\left` and `\right`
235238

236-
### For Manual Sizing (`\big`, etc.):
237-
- Needs 4 size levels beyond normal
238-
- Each size approximately 1.2x the previous
239-
- Should work with all delimiter types
240-
241239
### For Spacing Commands:
242240
- Need to insert proper `MTMathSpace` atoms
243241
- Different space types: positive (`\,`, `\:`, `\;`) and negative (`\!`)
@@ -252,4 +250,4 @@ All tests use the `MTMathListBuilder.build(fromString:error:)` API and automatic
252250

253251
*Generated: 2025-10-01*
254252
*SwiftMath Version: Based on iosMath v0.9.5*
255-
*Last Updated: 2025-10-01 - Implemented 4 major features: \substack, \smallmatrix, starred matrices, \iiiint*
253+
*Last Updated: 2026-01-10 - Implemented manual delimiter sizing (\big, \Big, \bigg, \Bigg and variants)*

0 commit comments

Comments
 (0)