Typograf

Preparing text for publication

Typograf
Punctuation:
Math expressions:
Extended rules:
Extended rules (continued):
Other (basic):

Rule Descriptions

Below are all the rules that Bquadro Typograf applies. They are divided into basic and extended and can be enabled individually. The table of contents on the left helps you quickly jump to the desired item. The description of each rule gives an understanding of what exactly will be changed in the text. Use this section as a reference when configuring the service.

Basic Punctuation
The rule corrects repeating characters and normalizes ellipsis. It brings '?!' to a uniform view and corrects the order of characters next to quotes. As a result, the text looks neater and reads more smoothly.
Example
Before:
After:This! How can this be?
Remove Edge Spaces
Removes spaces and tabs at the beginning and end of text. This protects against empty indents when pasting and copying. The final string becomes cleaner and shorter.
Example
Before:
After:Example text
Remove Duplicate Spaces and Tabs
Compresses multiple spaces and tabs to one space. This eliminates accidental 'holes' in the text and evens out the typing. The layout looks more stable in any containers.
Example
Before:
After:Example text and spaces
Hyphen Spelling
Normalizes hyphens in compound words and set phrases. The rule ensures that hyphens don't turn into dashes and vice versa. The text maintains correct orthographic forms.
Example
Before:
After:user-friendly
Apostrophe Between Latin and Cyrillic
Places an apostrophe between the Latin part and Cyrillic ending. This is important for correct names and transliterations. The appearance of words becomes uniform.
Example
Before:
After:API'ish
Digit Grouping
Groups long numbers with spaces and increases readability. The rule preserves the decimal part and doesn't break abbreviations. Numbers are easier to perceive in interfaces and reports.
Example
Before:
After:1 000 000
Math Expression Spelling
Brings mathematical signs to correct symbols. Normalizes spaces around operations and records 'x' as multiplication. Formulas look neater.
Example
Before:
After:2×2 = 4
Correct Degree Display
Corrects the notation of degrees and temperature designations. The degree symbol is placed correctly and separated with a non-breaking space. This reduces the risk of incorrect line breaks.
Example
Before:
After:10 m²
Correct Fraction Display
Normalizes the notation of fractions and division signs. Removes extra spaces and brings the format to a uniform view. Shares and fractions are read predictably.
Example
Before:
After:½
Temperature Range Spelling
Brings ranges to the form '5–7 °C' with the correct dash. A non-breaking space is placed between the number and unit. The format is stable during line breaks.
Example
Before:
After:5–7 °C
Remove HTML Tags
Removes HTML tags, leaving only text content. Suitable for cases when you need a clean string without markup.
Example
Before:
After:Text inside tag
Extended Punctuation
Corrects special cases with character combinations and ellipses. Normalizes repeating characters and rare combinations. This improves text quality in marketing materials.
Example
Before:
After:Well then…
Quote Replacement
Brings quotes to proper typographic quotes and correct nested quotes. Monitors the correct closing of quotes at the end of phrases. As a result, the text meets typographic standards.
Example
Before:
After:«Example»
Remove Extra Spaces
Removes spaces before punctuation marks and after opening brackets. Corrects incorrect intervals near quotes and percents. The typing becomes even and neat.
Example
Before:
After:Hello, world!
Remove Final Period
Removes the period in very short strings and headings. This reduces visual noise in interfaces. The rule doesn't affect normal sentences.
Example
Before:
After:Heading
Non-Breaking Spaces
Places non-breaking spaces after short words and abbreviations. The rule protects initials, units of measurement, and set phrases. The text doesn't fall apart at inconvenient breaks.
Example
Before:
After:i. e.
Yo-fication by Dictionary
Uses dictionary for precise replacement of 'е' with 'ё'. Word case is preserved, and ambiguous cases are skipped. This gives a more correct result than a general algorithm.
Example
Before:
After:hedgehog (yozhik)
Phone Formatting
Brings Russian numbers to a uniform format with code and hyphens. Non-breaking spaces are placed between groups so the number doesn't break with a line wrap. This is convenient for landing pages and contact blocks.
Example
Before:
After:8 (800) 555-55-55
Dashes and Ranges
Replaces hyphen with correct dash in text phrases. Date and number ranges get em dash. The result matches typography and reads naturally.
Example
Before:
After:test — example
Number Formatting
Normalizes thousands separators and decimal signs. Eliminates mixing of commas and dots within one number. Numerical data becomes uniform.
Example
Before:
After:1 234.56
Currency and Amounts
Converts currency codes to symbols and places correct spaces. Combines amounts with 'K' and 'M' abbreviations. Monetary values look familiar and compact.
Example
Before:
After:1 000 $
Convert Words to Lowercase
Lowers case in individual words where it's acceptable by style. The rule works by list and doesn't touch the beginning of sentences. This helps maintain text tone.
Example
Before:
After:On website
Miscellaneous: Brands and Abbreviations
Normalizes the spelling of brands, abbreviations and popular terms. Corrects variants like Wi‑Fi, SMS, Mastercard and others. The text becomes uniform and recognizable.
Example
Before:
After:Wi-Fi and SMS

FAQ

Basic typograf rules and extended settings are enabled: punctuation, spaces, dashes, numbers, currency.
Yes, the default limit is 1mb.
Dictionary replaces 'е' with 'ё' in needed words while preserving case.
Russian numbers are converted to `+7 (XXX) XXX-XX-XX` format with non-breaking spaces.
Currency codes are replaced with symbols, and numbers are grouped and normalized to one format.
It's a space that prevents short phrases from breaking to a new line.
No, text is processed on the fly and not saved in the database.