This commit is contained in:
Andrei Astafev 2019-04-23 15:54:33 +03:00
parent 7c64668e7f
commit 66832b7fbe
20 changed files with 220 additions and 0 deletions

View File

@ -0,0 +1,89 @@
---
title: "LyX: редактирование ЕСПД"
category: LaTeX
tags: LaTeX, текст, LyX
summary:
...
Установить пакеты:
```sh
sudo apt-get install lyx texlive-xetex
```
Установить стили LaTeX для ЕСПД:
```
git clone https://git.246060.ru/f1x1t/latex-style-esdpx ~/texmf/tex/latex/espdx
```
Установить шаблоны для LyX:
```
git clone https://git.246060.ru:/f1x1t/lyx-layout-espdx.git ~/.lyx/layouts
```
Запустить LyX и в меню __Инструменты__ выбрать __Обновить конфигурацию__
и перезапустить программу.
Скачать [шаблон]({static}/files/espdx-template.lyx) для LyX, открыть файл
**espdx-template.lyx** и в меню выбрать __Документ / Настройки...__.
В появившемся окне нажать кнопку __Сохранить как параметры документа по умолчанию__.
Пример настройки:
![Класс документа]({static}/files/lyx-espdx/01.png)
Класс документа
{: .img-center }
![Модули]({static}/files/lyx-espdx/02.png)
Модули
{: .img-center }
![03]({static}/files/lyx-espdx/03.png)
{: .img-center }
![04]({static}/files/lyx-espdx/04.png)
{: .img-center }
![05]({static}/files/lyx-espdx/05.png)
{: .img-center }
![06]({static}/files/lyx-espdx/06.png)
{: .img-center }
![07]({static}/files/lyx-espdx/07.png)
{: .img-center }
![08]({static}/files/lyx-espdx/08.png)
{: .img-center }
![09]({static}/files/lyx-espdx/09.png)
{: .img-center }
![10]({static}/files/lyx-espdx/10.png)
{: .img-center }
![11]({static}/files/lyx-espdx/11.png)
{: .img-center }
![12]({static}/files/lyx-espdx/12.png)
{: .img-center }
![13]({static}/files/lyx-espdx/13.png)
{: .img-center }
![14]({static}/files/lyx-espdx/14.png)
{: .img-center }
![15]({static}/files/lyx-espdx/15.png)
{: .img-center }
![16]({static}/files/lyx-espdx/16.png)
{: .img-center }
![17]({static}/files/lyx-espdx/17.png)
{: .img-center }

View File

@ -12,6 +12,7 @@ summary: ""
2) Среди слоёв выбрать слой с рельефом местности и типом геометрии `LineString`. 2) Среди слоёв выбрать слой с рельефом местности и типом геометрии `LineString`.
![Слои карты](files/qgis-heights1.png) ![Слои карты](files/qgis-heights1.png)
Слои карты
{: .img-center } {: .img-center }
3) На панели **Панель слоёв** правой кнопкой мыши щелкнуть на слое, 3) На панели **Панель слоёв** правой кнопкой мыши щелкнуть на слое,
@ -27,6 +28,7 @@ summary: ""
6) В появившемся диалоговом окне выбрать имя выходного файла, например, `heights`. 6) В появившемся диалоговом окне выбрать имя выходного файла, например, `heights`.
![Имя выходного файла](files/qgis-heights2.png) ![Имя выходного файла](files/qgis-heights2.png)
Имя выходного файла
{: .img-center } {: .img-center }
7) В каталоге `/home/a/work/map` выполнить команду, которая в файле 7) В каталоге `/home/a/work/map` выполнить команду, которая в файле
@ -51,4 +53,5 @@ gdal_grid -a invdist:power=3.0:smoothing=1.0 -outsize 2000 2000 -of BMP -ot Byte
После этого на карте можно строить профили местности. После этого на карте можно строить профили местности.
![Матрица высот](files/qgis-heights3.png) ![Матрица высот](files/qgis-heights3.png)
Матрица высот
{: .img-center } {: .img-center }

View File

@ -0,0 +1,128 @@
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass espdtext
\begin_preamble
\input{preamble}
\ESPDdocName{}
\ESPDfileName{}
\ESPDsignature{}
\ESPDtitleApprovingSheet{}
\ESPDauthor{}
\ESPDdate{2019/01/01}
%\ESPDdepartment{Ведомство}
%\ESPDcompany{Предприятие}
%\ESPDclassCode{Код по классификатору}
%\ESPDtitleApprovedBy{Должность утверждающего}{Фам. утвер.}
%\ESPDtitleAgreedBy{Должность первого согласовавшего}{Фам. первого согл.}
%\ESPDtitleAgreedBy{Должность второго согласовавшего}{Фам. второго согл.}
%\ESPDtitleAgreedBy{Должность третьего согласовавшего}{Фам. третьего согл.}
%\ESPDtitleDesignedBy{Должность первого автора}{Фам. первого автора}
%\ESPDtitleDesignedBy{Должность второго автора}{Фам. второго автора}
\usepackage{espdchngsheet}
\usepackage{espdlist}
\usepackage{espdrtis}
\usepackage[numbertop,numbercenter]{espdframe} % Закомментировать для ТЗ
%\usepackage[numbertop,numbercenter]{espdplain} % Раскомметировать для ТЗ
\usepackage[acronym,toc]{glossaries}
\end_preamble
\options 14pt
\use_default_options true
\begin_modules
espdmarkup
\end_modules
\maintain_unincluded_children false
\language russian
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts true
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures false
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing onehalf
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style swiss
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\bulletLaTeX 0 "\textendash"
\bullet 1 0 8 -1
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Standard
\end_layout
\end_body
\end_document

BIN
wiki/files/lyx-espdx/01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
wiki/files/lyx-espdx/02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

BIN
wiki/files/lyx-espdx/03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

BIN
wiki/files/lyx-espdx/04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
wiki/files/lyx-espdx/05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
wiki/files/lyx-espdx/06.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
wiki/files/lyx-espdx/07.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
wiki/files/lyx-espdx/08.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

BIN
wiki/files/lyx-espdx/09.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
wiki/files/lyx-espdx/10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
wiki/files/lyx-espdx/11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
wiki/files/lyx-espdx/12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
wiki/files/lyx-espdx/13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
wiki/files/lyx-espdx/14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

BIN
wiki/files/lyx-espdx/15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

BIN
wiki/files/lyx-espdx/16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
wiki/files/lyx-espdx/17.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB