[Home](./index.md) > [@jsamr/counter-style](./counter-style.md) > [CounterStyleRenderer](./counter-style.counterstylerenderer.md) > [withRtl](./counter-style.counterstylerenderer.withrtl.md) ## CounterStyleRenderer.withRtl() method Create a new renderer which renders Right-to-left. Signature: ```typescript withRtl(options?: RtlOptions): CounterStyleRenderer; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | options | [RtlOptions](./counter-style.rtloptions.md) | | Returns: [CounterStyleRenderer](./counter-style.counterstylerenderer.md) ## Remarks By default: - The order of prefix, counter representation and suffix will be reversed when rendering marker. - The letter ordering of prefix and suffix will be reversed when rendering marker, prefix and suffix. - The letter ordering of counter representation will not be reversed when rendering marker and counter. See [RtlOptions](./counter-style.rtloptions.md).