Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vairis
latex-template-thesis
Commits
2f47b1be
Commit
2f47b1be
authored
Mar 13, 2017
by
Vairis
Browse files
pievienoti pielikumi, fixed #8
parent
9821a242
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
2 deletions
+53
-2
darbs-sagatave.tex
darbs-sagatave.tex
+53
-2
No files found.
darbs-sagatave.tex
View file @
2f47b1be
...
...
@@ -51,6 +51,41 @@
\usepackage
{
amsmath
}
\usepackage
{
amsfonts
}
\usepackage
{
lipsum
}
%Lai ģenerētu nejaušus tekstus...
\usepackage
{
listings
}
\usepackage
{
color
}
\definecolor
{
mygreen
}{
rgb
}{
0,0.6,0
}
\definecolor
{
mygray
}{
rgb
}{
0.5,0.5,0.5
}
\definecolor
{
mymauve
}{
rgb
}{
0.58,0,0.82
}
\lstset
{
%
backgroundcolor=
\color
{
white
}
,
% choose the background color; you must add \usepackage{color} or \usepackage{xcolor}; should come as last argument
basicstyle=
\footnotesize
,
% the size of the fonts that are used for the code
breakatwhitespace=false,
% sets if automatic breaks should only happen at whitespace
breaklines=true,
% sets automatic line breaking
captionpos=b,
% sets the caption-position to bottom
commentstyle=
\color
{
mygreen
}
,
% comment style
deletekeywords=
{
...
}
,
% if you want to delete keywords from the given language
escapeinside=
{
\%*
}{
*)
}
,
% if you want to add LaTeX within your code
extendedchars=false,
% lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
frame=single,
% adds a frame around the code
keepspaces=true,
% keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=
\color
{
blue
}
,
% keyword style
language=Octave,
% the language of the code
morekeywords=
{
*,...
}
,
% if you want to add more keywords to the set
numbers=left,
% where to put the line-numbers; possible values are (none, left, right)
numbersep=5pt,
% how far the line-numbers are from the code
numberstyle=
\tiny\color
{
mygray
}
,
% the style that is used for the line-numbers
rulecolor=
\color
{
black
}
,
% if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
showspaces=false,
% show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false,
% underline spaces within strings only
showtabs=false,
% show tabs within strings adding particular underscores
stepnumber=2,
% the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=
\color
{
mymauve
}
,
% string literal style
tabsize=2,
% sets default tabsize to 2 spaces
title=
\lstname
% show the filename of files included with \lstinputlisting; also try caption instead of title
}
%% Mainīt chapteru izskatu - centrēts un definētais sffamily fonts (skatīt augstāk)
\usepackage
{
titlesec
}
...
...
@@ -94,6 +129,10 @@
%% Pakotne lai saliktu automātisku figūru skaitīšanu
\usepackage
{
totcount
}
\newcounter
{
nofappendices
}
\setcounter
{
nofappendices
}{
0
}
\regtotcounter
{
nofappendices
}
\newtotcounter
{
fignum
}
\def\oldfigure
{}
\let\oldfigure
=
\figure
\def\figure
{
\stepcounter
{
fignum
}
\oldfigure
}
...
...
@@ -198,7 +237,7 @@ Maģistra darbā ir \pageref{LastPage} lapas, un \total{fignum} attēli.
\parbox
[c]
{
0.3
\textwidth
}{
\textbf
{
Academic Advisor:
}}&
\parbox
[t]
{
0.65
\textwidth
}{
\defZinVaditajs
}
\\
\parbox
[c]
{
0.3
\textwidth
}{
\textbf
{
The volume of the work:
}}&
\parbox
[t]
{
0.65
\textwidth
}{
\textcolor
{
black
}{
\pageref
{
LastPage
}}
pages, XX~tables,
\total
{
fignum
}
~images, XX~equations, XX~literature sources,
XX
~appendices
}
\\
\parbox
[t]
{
0.65
\textwidth
}{
\textcolor
{
black
}{
\pageref
{
LastPage
}}
pages, XX~tables,
\total
{
fignum
}
~images, XX~equations, XX~literature sources,
\total
{
nofappendices
}
~appendices
}
\\
\parbox
[c]
{
0.3
\textwidth
}{
\textbf
{
Keywords:
}}&
\parbox
[t]
{
0.65
\textwidth
}{
Life, Universe, Questions, Philosophy
}
\\
&
\\
...
...
@@ -220,7 +259,7 @@ In the first novel and radio series, a group of hyper-intelligent pan-dimensiona
\parbox
[c]
{
0.3
\textwidth
}{
\textbf
{
Encadrants:
}}&
\parbox
[t]
{
0.65
\textwidth
}{
\defZinVaditajs
}
\\
\parbox
[c]
{
0.3
\textwidth
}{
\textbf
{
Volume:
}}&
\parbox
[t]
{
0.65
\textwidth
}{
\text
{
\pageref
{
LastPage
}}
pages, XX~tables,
\total
{
fignum
}
~images, XX~équations, XX~sources de literature,
XX
~annexes
}
\\
\parbox
[t]
{
0.65
\textwidth
}{
\text
{
\pageref
{
LastPage
}}
pages, XX~tables,
\total
{
fignum
}
~images, XX~équations, XX~sources de literature,
\total
{
nofappendices
}
~annexes
}
\\
\parbox
[c]
{
0.3
\textwidth
}{
\textbf
{
Mots cléfs:
}}&
\parbox
[t]
{
0.65
\textwidth
}{
La vie, L'univers, Les questions, La philosphie
}
\\
&
\\
...
...
@@ -331,7 +370,19 @@ Phrases from The Hitchhiker's Guide to the Galaxy [tiešsaiste] Vikipēdija [sk
\label
{
LastPage
}
%% Te vajadzētu pielikumus
\appendix
\chapter
{
Pirmais pielikums
}
\addtocounter
{
nofappendices
}{
1
}
\label
{
appendix:tituldati
}
%\lstinputlisting[firstline=6, lastline=15]{../codes/calcHomogInfModel.m}
\lstinputlisting
[firstline=18, lastline=25]
{
README.md
}
\chapter
{
Otrais pielikums
}
\addtocounter
{
nofappendices
}{
1
}
\label
{
appendix:tituldati2
}
\lstinputlisting
{
README.md
}
%% Vēl jāpievieno atzīmes lapa
\pagebreak
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment