LINUX.ORG.RU

История изменений

Исправление roof, (текущая версия) :

Набросал за десять минут такое:

\documentclass{article}
\usepackage{libertine}
\usepackage{tikz}
\usepackage{polyglossia}
\usepackage[top=5mm, bottom=5mm, left=5mm, right=5mm]{geometry}
\usetikzlibrary{shapes}
\setmainlanguage{russian}
\setotherlanguage[variant = us]{english}
\enablehyphenation
\begin{document}
\flushleft
\begin{tikzpicture}
\draw [step=5mm, , help lines] (0mm, 0mm) grid (205mm, 265mm);
\node [shape=rounded rectangle, draw, fill=white, 
minimum width=40mm, minimum height=10mm, align=left, 
inner sep=2mm, rounded rectangle arc length=180] 
at (180mm,255mm) {};
\node [shape=rounded rectangle, draw, fill=white, 
minimum width=120mm, minimum height=10mm, align=left, 
inner sep=2mm, rounded rectangle arc length=180] 
at (75mm,255mm) {};
\node [shape=rectangle, draw, fill=white, 
minimum width=15mm, minimum height=15mm, align=left, 
inner sep=2mm, rounded corners] 
at (190mm,10mm) {};
\end{tikzpicture}
\newpage
\begin{tikzpicture}
\draw [ystep=10mm, xstep=260mm, help lines] (0mm, 0mm) grid (205mm, 265mm);
\node [shape=rounded rectangle, draw, fill=white, 
minimum width=40mm, minimum height=10mm, align=left, 
inner sep=2mm, rounded rectangle arc length=180] 
at (180mm,255mm) {};
\node [shape=rounded rectangle, draw, fill=white, 
minimum width=120mm, minimum height=10mm, align=left, 
inner sep=2mm, rounded rectangle arc length=180] 
at (75mm,255mm) {};
\node [shape=rectangle, draw, fill=white, minimum width=15mm, 
minimum height=15mm, align=left, inner sep=2mm, 
rounded corners] at (190mm,10mm) {};
\end{tikzpicture}
\end{document}

Результат

Код ужасен, но подход понятен, надеюсь.

Исходная версия roof, :

\documentclass{article}
\usepackage{libertine}
\usepackage{tikz}
\usepackage{polyglossia}
\usepackage[top=5mm, bottom=5mm, left=5mm, right=5mm]{geometry}
\usetikzlibrary{shapes}
\setmainlanguage{russian}
\setotherlanguage[variant = us]{english}
\enablehyphenation
\begin{document}
\flushleft
\begin{tikzpicture}
\draw [step=5mm, , help lines] (0mm, 0mm) grid (205mm, 265mm);
\node [shape=rounded rectangle, draw, fill=white, 
minimum width=40mm, minimum height=10mm, align=left, 
inner sep=2mm, rounded rectangle arc length=180] 
at (180mm,255mm) {};
\node [shape=rounded rectangle, draw, fill=white, 
minimum width=120mm, minimum height=10mm, align=left, 
inner sep=2mm, rounded rectangle arc length=180] 
at (75mm,255mm) {};
\node [shape=rectangle, draw, fill=white, 
minimum width=15mm, minimum height=15mm, align=left, 
inner sep=2mm, rounded corners] 
at (190mm,10mm) {};
\end{tikzpicture}
\newpage
\begin{tikzpicture}
\draw [ystep=10mm, xstep=260mm, help lines] (0mm, 0mm) grid (205mm, 265mm);
\node [shape=rounded rectangle, draw, fill=white, 
minimum width=40mm, minimum height=10mm, align=left, 
inner sep=2mm, rounded rectangle arc length=180] 
at (180mm,255mm) {};
\node [shape=rounded rectangle, draw, fill=white, 
minimum width=120mm, minimum height=10mm, align=left, 
inner sep=2mm, rounded rectangle arc length=180] 
at (75mm,255mm) {};
\node [shape=rectangle, draw, fill=white, minimum width=15mm, 
minimum height=15mm, align=left, inner sep=2mm, 
rounded corners] at (190mm,10mm) {};
\end{tikzpicture}
\end{document}

Результат