Template:LaTeX preset characters/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) m ArrowHead294 moved page Template:Texchars/doc to Template:LaTeX preset characters/doc: Make full name in title |
Dave Keenan (talk | contribs) →Usage: Updated to refer to \lvsp and \rvsp instead of \vsp, as per recent changes to the multiple angle bracket templates |
||
(11 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{dochead}}{{{{ROOTPAGENAME}} }} | {{dochead}}{{{{ROOTPAGENAME}} }} | ||
This template defines pre-defined character sequences for brackets, in order to make typesetting of operators such as [[Monzo]]s and [[Val]]s in LaTeX easier. | |||
=== Usage === | === Usage === | ||
This template is used to pre-define bracket sequences for typesetting [[Monzo]]s and [[Val]]s. | |||
{{Shortcut|texchars}} | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ style="font-size: 105% | |+ style="font-size: 105%;" | Pre-defined LaTeX character sequences | ||
|- | |- | ||
! You type !! You get | ! You type !! You get !! Rendered | ||
|- | |- | ||
| <code>\llangle</code> || <math>\llangle\right.\right.</math> | | <code>\llangle</code> || <code>\left\langle\lvsp\left\langle</code> || <math>\llangle\right.\right.</math> | ||
|- | |- | ||
| <code>\lllangle</code> || <math>\lllangle\right.\right.\right.</math> | | <code>\lllangle</code> || <code>\left\langle\lvsp\left\langle\lvsp\left\langle</code> || <math>\lllangle\right.\right.\right.</math> | ||
|- | |- | ||
| <code>\llllangle</code> || <math>\llllangle\right.\right.\right.\right.</math> | | <code>\llllangle</code> || <code>\left\langle\lvsp\left\langle\lvsp\left\langle\lvsp\left\langle</code> || <math>\llllangle\right.\right.\right.\right.</math> | ||
|- | |- | ||
| <code>\llbrack</code> || <math>\llbrack\right.\right.</math> | | <code>\llbrack</code> || <code>\left[\left[</code> || <math>\llbrack\right.\right.</math> | ||
|- | |- | ||
| <code>\lllbrack</code> || <math>\lllbrack\right.\right.\right.</math> | | <code>\lllbrack</code> || <code>\left[\left[\left[</code> || <math>\lllbrack\right.\right.\right.</math> | ||
|- | |- | ||
| <code>\llllbrack</code> || <math>\llllbrack\right.\right.\right.\right.</math> | | <code>\llllbrack</code> || <code>\left[\left[\left[\left[</code> || <math>\llllbrack\right.\right.\right.\right.</math> | ||
|- | |- | ||
| <code>\llvert</code> || <math>\llvert\right.\right.</math> | | <code>\llvert</code> || <code>\left\vert\left\vert</code> || <math>\llvert\right.\right.</math> | ||
|- | |- | ||
| <code>\lllvert</code> || <math>\lllvert\right.\right.\right.</math> | | <code>\lllvert</code> || <code>\left\vert\left\vert\left\vert</code> || <math>\lllvert\right.\right.\right.</math> | ||
|- | |- | ||
| <code>\llllvert</code> || <math>\llllvert\right.\right.\right.\right.</math> | | <code>\llllvert</code> || <code>\left\vert\left\vert\left\vert\left\vert</code> || <math>\llllvert\right.\right.\right.\right.</math> | ||
|- | |- | ||
| <code>\rrangle</code> || <math>\left.\left.\rrangle</math> | | <code>\rrangle</code> || <code>\right\rangle\rvsp\right\rangle</code> || <math>\left.\left.\rrangle</math> | ||
|- | |- | ||
| <code>\rrrangle</code> || <math>\left.\left.\left.\rrrangle</math> | | <code>\rrrangle</code> || <code>\right\rangle\rvsp\right\rangle\rvsp\right\rangle</code> || <math>\left.\left.\left.\rrrangle</math> | ||
|- | |- | ||
| <code>\rrrrangle</code> || <math>\left.\left.\left.\left.\rrrrangle</math> | | <code>\rrrrangle</code> || <code>\right\rangle\rvsp\right\rangle\rvsp\right\rangle\rvsp\right\rangle</code> || <math>\left.\left.\left.\left.\rrrrangle</math> | ||
|- | |- | ||
| <code>\rrbrack</code> || <math>\left.\left.\rrbrack</math> | | <code>\rrbrack</code> || <code>\right]\right]</code> || <math>\left.\left.\rrbrack</math> | ||
|- | |- | ||
| <code>\rrrbrack</code> || <math>\left.\left.\left.\rrrbrack</math> | | <code>\rrrbrack</code> || <code>\right]\right]\right]</code> || <math>\left.\left.\left.\rrrbrack</math> | ||
|- | |- | ||
| <code>\rrrrbrack</code> || <math>\left.\left.\left.\left.\rrrrbrack</math> | | <code>\rrrrbrack</code> || <code>\right]\right]\right]\right]</code> || <math>\left.\left.\left.\left.\rrrrbrack</math> | ||
|} | |} | ||
Here, <code>\lvsp</code> and <code>\rvsp</code> are used to adjust the spacing between angle brackets. | |||
=== See also === | |||
* [[:Template:LaTeX operators]] | |||
* [[:Template:LaTeX mapping operators]] |
Latest revision as of 22:22, 6 August 2025
Monzos and Vals in LaTeX easier.
This template defines pre-defined character sequences for brackets, in order to make typesetting of operators such asUsage
This template is used to pre-define bracket sequences for typesetting Monzos and Vals.
Note: You can use {{texchars}}
as a shortcut.
You type | You get | Rendered |
---|---|---|
\llangle |
\left\langle\lvsp\left\langle |
[math]\displaystyle{ \llangle\right.\right. }[/math] |
\lllangle |
\left\langle\lvsp\left\langle\lvsp\left\langle |
[math]\displaystyle{ \lllangle\right.\right.\right. }[/math] |
\llllangle |
\left\langle\lvsp\left\langle\lvsp\left\langle\lvsp\left\langle |
[math]\displaystyle{ \llllangle\right.\right.\right.\right. }[/math] |
\llbrack |
\left[\left[ |
[math]\displaystyle{ \llbrack\right.\right. }[/math] |
\lllbrack |
\left[\left[\left[ |
[math]\displaystyle{ \lllbrack\right.\right.\right. }[/math] |
\llllbrack |
\left[\left[\left[\left[ |
[math]\displaystyle{ \llllbrack\right.\right.\right.\right. }[/math] |
\llvert |
\left\vert\left\vert |
[math]\displaystyle{ \llvert\right.\right. }[/math] |
\lllvert |
\left\vert\left\vert\left\vert |
[math]\displaystyle{ \lllvert\right.\right.\right. }[/math] |
\llllvert |
\left\vert\left\vert\left\vert\left\vert |
[math]\displaystyle{ \llllvert\right.\right.\right.\right. }[/math] |
\rrangle |
\right\rangle\rvsp\right\rangle |
[math]\displaystyle{ \left.\left.\rrangle }[/math] |
\rrrangle |
\right\rangle\rvsp\right\rangle\rvsp\right\rangle |
[math]\displaystyle{ \left.\left.\left.\rrrangle }[/math] |
\rrrrangle |
\right\rangle\rvsp\right\rangle\rvsp\right\rangle\rvsp\right\rangle |
[math]\displaystyle{ \left.\left.\left.\left.\rrrrangle }[/math] |
\rrbrack |
\right]\right] |
[math]\displaystyle{ \left.\left.\rrbrack }[/math] |
\rrrbrack |
\right]\right]\right] |
[math]\displaystyle{ \left.\left.\left.\rrrbrack }[/math] |
\rrrrbrack |
\right]\right]\right]\right] |
[math]\displaystyle{ \left.\left.\left.\left.\rrrrbrack }[/math] |
Here, \lvsp
and \rvsp
are used to adjust the spacing between angle brackets.