From a97f84674ea613dd505d87c0d219f8fef3a9e4ac Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Thu, 23 Aug 2018 16:36:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=82=D0=B8=D0=BB=D1=8C=20TightLeft?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- espdinsets.inc | 86 +++++++++++++++++++++++++++++++------------------- 1 file changed, 53 insertions(+), 33 deletions(-) diff --git a/espdinsets.inc b/espdinsets.inc index 23fa361..3c251d7 100644 --- a/espdinsets.inc +++ b/espdinsets.inc @@ -621,9 +621,9 @@ End InsetLayout Flex:TightCentered - LyXType custom - LabelString TightCentered - LatexType environment + LyXType custom + LabelString TightCentered + LatexType environment LatexName tightcentered Preamble \newenvironment{tightcentered}{ @@ -635,45 +635,65 @@ InsetLayout Flex:TightCentered } EndPreamble LabelFont - Color latex - Size Tiny + Color latex + Size Tiny + EndFont +End + +InsetLayout Flex:TightLeft + LyXType custom + LabelString TightLeft + LatexType environment + LatexName tightleft + Preamble +\newenvironment{tightleft}{ + \setlength\topsep{0pt} + \setlength\parskip{0pt} + \begin{flushleft} +}{ + \end{flushleft} +} + EndPreamble + LabelFont + Color latex + Size Tiny EndFont End InsetLayout Flex:Code - LyxType charstyle - LabelString code - LatexType command - LatexName code - Font - Family Typewriter - Size Small - Series Normal - EndFont - Preamble - \newcommand{\code}[1]{\texttt{\small{#1}}} - EndPreamble - InToc true - HTMLTag code + LyxType charstyle + LabelString code + LatexType command + LatexName code + Font + Family Typewriter + Size Small + Series Normal + EndFont + Preamble + \newcommand{\code}[1]{\texttt{\small{#1}}} + EndPreamble + InToc true + HTMLTag code ResetsFont true End InsetLayout Flex:Code-Bold - LyxType charstyle - LabelString code-bold - LatexType command - LatexName codebold - Font - Family Typewriter - Size Small - Series Bold - EndFont - Preamble - \newcommand{\codebold}[1]{\texttt{\textbf{\small{}{#1}}}} - EndPreamble - InToc true - HTMLTag code + LyxType charstyle + LabelString code-bold + LatexType command + LatexName codebold + Font + Family Typewriter + Size Small + Series Bold + EndFont + Preamble + \newcommand{\codebold}[1]{\texttt{\textbf{\small{}{#1}}}} + EndPreamble + InToc true + HTMLTag code ResetsFont true End