Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2499c8ccbe8cf70

Jump to content

Template:Mvarb/doc

From Wikipedia, the free encyclopedia

The {{mvarb}} template is the bold-formatting counterpart to the italics-set {{mvar}}. {{mvarb}} makes the first parameter (required) bold and formats as mathematics. It is used to refer to individual variables in normal running text. It should not be used within a {{math}} template.

Note that digits in a variable name are conventionally not bold, so {{mvarb}} accepts a 2nd parameter as an undecorated subscript (but it will still be formatted in the same mathematics font as {{math}}). For example, {{mvarb|x|1}} is a convenient shorthand for {{math|''x''<sub>1</sub>}} to produce x1.

Functions and variables made up of multiple letters are conventionally set in upright letters so {{math}} should be used in that case too; for example {{math|cos}} to produce cos.

Usage

[edit]
MarkupRenders as
 Let {{mvarb|x}} be ... 

Let x be ...

 {{mvarb|A|1}} is ... 

A1 is ...

 {{mvarb|V|+}} is the ... 

V+ is the ...

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Mvarb in articles based on its TemplateData.

TemplateData for Mvarb

Marks text as a variable and formats it as bold math, with optional subscript

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
variable1

no description

Linerequired
subscript2

no description

Stringoptional

See also

[edit]
  • {{mvar}}, for mathematical variables in italics
  • {{var}}, for non-mathematical variables
  • {{math}}, which formats its argument as mathematics
  • {{bigmath}}, the same as {{math}} but makes it bigger
  • {{tmath}}, which wraps a TeX math expression in <math> tags