File:Hanging punctuation.svg
Исходный файл (SVG-файл, номинально 380 × 227 пкс, размер файла: 52 КБ)
Краткие подписи
Краткое описание
[править]ОписаниеHanging punctuation.svg |
English: An example of hanging punctuation.
From the XeLaTeX code copied below, I generated a PDF, then added vertical coloured lines to the PDF in macOS Preview 10, then cropped and converted to SVG in Inkscape, then halved the file size with SVGO. The intermediate stage with Preview was because I was initially just going to make a PNG screenshot, before deciding that I could keep it as vectors. % !TEX program = xelatex
\documentclass[a4paper, 12pt]{letter}
\usepackage{fontspec}
\usepackage[left=60mm, right=60mm, top=30mm, bottom=40mm]{geometry}
\usepackage[latin]{babel}
% Expansion is good, but doesn't work with XeLaTeX yet.
\usepackage[protrusion=true, expansion=false, factor=1000]{microtype}
\SetProtrusion{encoding={*},family={*},series={*},size={12}}
{
{“}={1000,1000}, {,}={1000,1000}, {-}={1000,1000},
{.}={1000,1000}, {*}={1000,1000}, {;}={1000,1000},
{(}={1000,1000}, {)}={1000,1000}
}
\begin{document}
``Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi.
Morbi auctor lorem non justo.
Nam lacus libero, pretium at, lobortis vit\ae, ultricies et, tellus.
Donec aliquet, tortor sed accumsan bibendum, erat ligula aliquet magna, vit\ae\
ornare odio metus a mi.
Morbi ac orci et nisl hendrerit* mollis.
Suspendisse ut massa. Cras nec ante. Pellentesque a nulla.
Cum sociis natoque penatibus;
(et magnis dis parturient montes, nascetur ridiculus) mus.
Aliquam tincidunt urna.''
\end{document} I hereby release the above source code into the public domain. The XeLaTeX code uses the Microtype package, which improves typography and allows fine control of it. By default, Microtype wouldn't be as zealous as this, but instead allow characters to hang into the margin only as much as they need to in order for the edges to feel straight. I, however, pumped the setting up to 1000. The font is Latin Modern Roman 12pt; the text is Lorem ipsum nonsense, with added punctuation. Created to replace File:Hanging_quotation.png, which was a raster image, small, only showing one hanging punctuation mark (only on the left), poorly justified on the right-hand side, &c. |
Дата | |
Источник | Собственная работа |
Автор | Correctrix |
Лицензирование
[править]- Вы можете свободно:
- делиться произведением – копировать, распространять и передавать данное произведение
- создавать производные – переделывать данное произведение
- При соблюдении следующих условий:
- атрибуция – Вы должны указать авторство, предоставить ссылку на лицензию и указать, внёс ли автор какие-либо изменения. Это можно сделать любым разумным способом, но не создавая впечатление, что лицензиат поддерживает вас или использование вами данного произведения.
- распространение на тех же условиях – Если вы изменяете, преобразуете или создаёте иное произведение на основе данного, то обязаны использовать лицензию исходного произведения или лицензию, совместимую с исходной.
История файла
Нажмите на дату/время, чтобы увидеть версию файла от того времени.
Дата/время | Миниатюра | Размеры | Участник | Примечание | |
---|---|---|---|---|---|
текущий | 03:53, 9 июня 2018 | 380 × 227 (52 КБ) | Correctrix (обсуждение | вклад) | Added 10px padding around the outside. | |
03:42, 9 июня 2018 | 354 × 201 (52 КБ) | Correctrix (обсуждение | вклад) | User created page with UploadWizard |
Вы не можете перезаписать этот файл.
Использование файла
Следующая страница использует этот файл:
Глобальное использование файла
Данный файл используется в следующих вики:
- Использование в de.wikipedia.org
- Использование в en.wikipedia.org
- Использование в ru.wikipedia.org
Метаданные
Файл содержит дополнительные данные, обычно добавляемые цифровыми камерами или сканерами. Если файл после создания редактировался, то некоторые параметры могут не соответствовать текущему изображению.
Ширина | 380.212 |
---|---|
Высота | 227.391 |