Skip to content

Commit

Permalink
添加了表格浮动项和算法浮动项例子
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcui committed Mar 3, 2019
1 parent a220a75 commit 038b0ad
Show file tree
Hide file tree
Showing 5 changed files with 686 additions and 84 deletions.
1 change: 1 addition & 0 deletions Main.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
\use_default_options false
\begin_modules
theorems-ams
algorithm2e
\end_modules
\maintain_unincluded_children false
\language chinese-simplified
Expand Down
1 change: 1 addition & 0 deletions chapters/Appendix.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
\master ../Main.lyx
\begin_modules
theorems-ams
algorithm2e
\end_modules
\maintain_unincluded_children false
\begin_local_layout
Expand Down
163 changes: 154 additions & 9 deletions chapters/FrontMatter.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,79 @@ InsetLayout Flex:Keywords
LatexType Command
LatexName keywords
End

Style notationlist
Category List
Margin First_Dynamic
LatexType Item_environment
LatexName notationlist
NextNoIndent 1
LeftMargin MM
LabelSep xxx
ParSkip 0.4
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Manual
LabelFont
Series Bold
EndFont
HTMLTag dl
HTMLAttr class='description'
HTMLItem dd
HTMLLabel dt
HTMLLabelFirst 1
HTMLStyle
dl.description dt { font-weight: bold; }
EndHTMLStyle
End


Style 符号说明
Margin Static
LatexType Environment
LatexName notation
Category FrontMatter
NextNoIndent 1
ToggleIndent Always
LeftMargin MMM
RightMargin MMM
ParIndent MM
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
LabelType Centered
LabelString "符号说明"
LabelBottomSep 0.5
Font
Size Small
EndFont
LabelFont
Series Bold
Size Large
EndFont
HTMLLabelFirst 1
HTMLForceCSS 1
HTMLStyle
div.abstract {
margin: 4ex;
}
div.abstract_item {
font-size: small;
padding-top: 1ex;
}
div.abstract_label {
font-weight: bold;
}
EndHTMLStyle
End


#######
NoStyle Chapter
NoStyle Chapter*
Expand Down Expand Up @@ -159,7 +232,21 @@ NoStyle ChapterSpecial
status open

\begin_layout Plain Layout
中国科学技术大学;学位论文;Lyx模板;博士;硕士;学士
中国科学技术大学;学位论文;\SpecialChar LyX
模板;
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
LaTeX{}
\end_layout

\end_inset

模版;博士;硕士;学士
\end_layout

\end_inset
Expand All @@ -175,7 +262,8 @@ status open
\end_layout

\begin_layout EnglishAbstract
This is a sample document of USTC thesis Lyx template for bachelor, master
This is a sample document of USTC thesis \SpecialChar LyX
template for bachelor, master
and doctor.
The template is created by zepinglee and seisman, which orignate from the
template created by ywg.
Expand All @@ -184,8 +272,19 @@ This is a sample document of USTC thesis Lyx template for bachelor, master

\begin_layout EnglishAbstract
This document will show the usage of basic commands provided by
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
LaTeX{} and some features provided by the template.
LaTeX{}
\end_layout

\end_inset

and some features provided by the template.
For more information, please refer to the template document ustcthesis.pdf..
\end_layout

Expand Down Expand Up @@ -330,7 +429,7 @@ status open
status open

\begin_layout Plain Layout
Denotation, 主要符号对照表
符号对照表
\end_layout

\begin_layout Plain Layout
Expand All @@ -350,7 +449,7 @@ status open


\backslash
chapter{主要符号对照表}
chapter{符号说明}
\end_layout

\end_inset
Expand All @@ -367,7 +466,7 @@ chapter{主要符号对照表}

\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
<lyxtabular version="3" rows="5" columns="2">
<features tabularvalignment="middle">
<column alignment="left" valignment="top">
<column alignment="left" valignment="top">
Expand Down Expand Up @@ -420,19 +519,65 @@ CLS
\end_inset


\begin_inset space ~
\end_layout

\end_inset
</cell>
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
能量
\end_layout

\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $\ensuremath{{\displaystyle \sum_{i=1}^{n}a_{i}}}$
\end_inset


\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
The sum of
\begin_inset Formula $a_{i}$
\end_inset


\end_layout

\end_inset
</cell>
<cell alignment="left" valignment="top" usebox="none">
</row>
<row>
<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
能量
\begin_inset Formula $\ensuremath{{\displaystyle m}}$
\end_inset


\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
The mass of one angel
\end_layout

\end_inset
Expand Down
5 changes: 3 additions & 2 deletions chapters/Introduction.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
\master ../Main.lyx
\begin_modules
theorems-ams
algorithm2e
\end_modules
\maintain_unincluded_children false
\begin_local_layout
Expand Down Expand Up @@ -108,7 +109,7 @@ NoStyle Cover
\begin_body

\begin_layout Chapter
本Lyx模板介绍
本LyX模板介绍
\end_layout

\begin_layout Section
Expand Down Expand Up @@ -252,7 +253,7 @@ https://github.com/ustctug/ustcthesis/wiki/新手指南
\end_layout

\begin_layout Subsection
安装Lyx
安装LyX
\end_layout

\begin_layout Standard
Expand Down
Loading

0 comments on commit 038b0ad

Please sign in to comment.