> For the complete documentation index, see [llms.txt](https://xlswriter-docs.viest.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xlswriter-docs.viest.me/english/style/combination.md). Agents can also search and read this documentation through its [MCP server](https://xlswriter-docs.viest.me/~gitbook/mcp).

# Combination style

Combine multiple styles into one new style applied to the cell

```php
// Combine bold and italic into one style
$format          = new \Vtiful\Kernel\Format($fileHandle);
$boldItalicStyle = $format->bold()->italic()->toResource();
```
