i copy paste the requested codes you requested.
So this is the source code from Lyx (just taken the relevant part with the references and deleted most of the text.
Code: Select all
% Preview source code
%% LyX 2.1.0 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[british]{report}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{amsmath}
\usepackage{graphicx}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{appendix} %
\usepackage{array} % package for modifying table properties
\setlength{\extrarowheight}{2pt} % to add extra spacing between table rows (only top)
\usepackage{url}
\usepackage{emptypage} % to delete footer/header/page numbers in empty pages
\makeatother
\usepackage{babel}
\begin{document}
\begin{table}
\protect\caption{Comparison between measured and extrapolated densities for $35\%$
glycol/water mixture.}
\label{tab:density35pcExperVSextrap}
\centering{}%
\begin{tabular}{cccc}
\hline
$T$ & \multicolumn{3}{c}{$\rho$ $\left[\mathrm{kg/m^{3}}\right]$ for $x=35\%$}\tabularnewline
\cline{2-4}
$\left[^{\circ}\mathrm{C}\right]$ & Measured & Extrapolated & $\Delta_{rel}$\tabularnewline
\hline
\hline
20 & 1028.8 & 1028.7 & -0.01\%\tabularnewline
\hline
30 & 1023.4 & 1023.3 & -0.01\%\tabularnewline
\hline
40 & 1017.6 & 1017.5 & -0.01\%\tabularnewline
\hline
50 & 1011.3 & 1011.3 & 0.00\%\tabularnewline
\hline
60 & 1004.6 & 1004.8 & 0.02\%\tabularnewline
\hline
70 & 997.6 & 997.8 & 0.02\%\tabularnewline
\hline
80 & 990.1 & 990.5 & 0.04\%\tabularnewline
\hline
\end{tabular}
\end{table}
The experimental values for dynamic viscosity obtained for the sample
from Høje Taastrup field (see Table \ref{fig:GlycWatViscosVSTemp_35pc})
\begin{figure}
\begin{centering}
\includegraphics[width=0.5\columnwidth]{DTUKEM_Viscosity_35pc}
\par\end{centering}
\protect\caption{Dynamic viscosity of the propylene glycol/water mixture.}
\label{fig:GlycWatViscosVSTemp_35pc}
\end{figure}
The measured viscosity values are shown as markers in Figure \ref{fig:GlycWatViscosVSTemp_35pc}.
Hence, the viscosity of the heat transfer fluid in Høje Taastrup field
was calculated by the piecewise function Eq.(\ref{eq:mu_35pc_glycol}),
consisting of the third degree polynomial and the power function,
whose trends can also be seen in Figure \ref{fig:GlycWatViscosVSTemp_35pc}.
\begin{equation}
\mu=\begin{cases}
7.289-2.337\cdot10^{\textrm{-}1}\, T+3.066\cdot10^{\textrm{-}3}\, T^{2}-1.449\cdot10^{\textrm{-}5}\, T^{3} & 20\,\mathrm{^{\circ}C}<T<40\,\mathrm{^{\circ}C}\\
180.29\, T^{\textrm{-}1.232} & T\geq40\,\mathrm{^{\circ}C}
\end{cases}\label{eq:mu_35pc_glycol}
\end{equation}
\end{document}
Code: Select all
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (preloaded format=pdflatex 2014.11.27) 21 SEP 2015 15:02
entering extended mode
**Example.tex
(C:\Users\febav\AppData\Local\Temp\lyx_tmpdir.yvQysAzR2496\lyx_tmpbuf0\Example.
tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2013-05-26, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2013-05-26, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\report.cls"
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\fontenc.sty"
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\t1enc.def"
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
)) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\inputenc.sty"
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\latin9.def"
File: latin9.def 2008/03/30 v1.1d Input encoding file
)) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsmath\amsmath.sty"
Package: amsmath 2013/01/14 v2.14 AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the `?' option.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsmath\amstext.sty"
Package: amstext 2000/06/29 v2.01
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsmath\amsgen.sty"
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks16
\ex@=\dimen103
)) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsmath\amsbsy.sty"
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen104
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsmath\amsopn.sty"
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count88
LaTeX Info: Redefining \frac on input line 210.
\uproot@=\count89
\leftroot@=\count90
LaTeX Info: Redefining \overline on input line 306.
\classnum@=\count91
\DOTSCASE@=\count92
LaTeX Info: Redefining \ldots on input line 378.
LaTeX Info: Redefining \dots on input line 381.
LaTeX Info: Redefining \cdots on input line 466.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big@size=\dimen105
LaTeX Font Info: Redeclaring font encoding OML on input line 566.
LaTeX Font Info: Redeclaring font encoding OMS on input line 567.
\macc@depth=\count93
\c@MaxMatrixCols=\count94
\dotsspace@=\muskip10
\c@parentequation=\count95
\dspbrk@lvl=\count96
\tag@help=\toks17
\row@=\count97
\column@=\count98
\maxfields@=\count99
\andhelp@=\toks18
\eqnshift@=\dimen106
\alignsep@=\dimen107
\tagshift@=\dimen108
\tagwidth@=\dimen109
\totwidth@=\dimen110
\lineht@=\dimen111
\@envbody=\toks19
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay@stack=\toks20
LaTeX Info: Redefining \[ on input line 2665.
LaTeX Info: Redefining \] on input line 2666.
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphicx.sty"
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks21
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\trig.sty"
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\graphics.cfg"
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 91.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\pdftex-def\pdftex.def"
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty"
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty"
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count100
))
\Gin@req@height=\dimen112
\Gin@req@width=\dimen113
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\appendix\appendix.sty"
Package: appendix 2009/09/02 v1.2b extra appendix facilities
\c@@pps=\count101
\c@@ppsavesec=\count102
\c@@ppsaveapp=\count103
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tools\array.sty"
Package: array 2008/09/09 v2.4c Tabular extension package (FMi)
\col@sep=\dimen114
\extrarowheight=\dimen115
\NC@list=\toks22
\extratabsurround=\skip46
\backup@length=\skip47
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\url\url.sty"
\Urlmuskip=\muskip11
Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
) (C:\Users\febav\AppData\Roaming\MiKTeX\2.9\tex\latex\emptypage\emptypage.sty
Package: emptypage 2010/05/30 v1.2 Suppress page numbers and headings on empty
pages
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\babel.sty"
Package: babel 2008/07/08 v3.8m The Babel package
*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\bblopts.cfg"
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\english.ldf"
Language: english 2005/03/30 v3.3o English support from the babel system
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\babel.def"
File: babel.def 2008/07/08 v3.8m Babel common definitions
\babel@savecnt=\count104
\U@D=\dimen116
)
\l@canadian = a dialect from \language\l@american
\l@australian = a dialect from \language\l@british
\l@newzealand = a dialect from \language\l@british
))
(C:\Users\febav\AppData\Local\Temp\lyx_tmpdir.yvQysAzR2496\lyx_tmpbuf0\Example.
aux)
Runaway argument?
{\contentsline {table}{\numberline {1}{\ignorespaces Comparison betwe\ETC.
! File ended while scanning use of \@writefile.
<inserted text>
\par
l.32 \begin{document}
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 32.
LaTeX Font Info: ... okay on input line 32.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 32.
LaTeX Font Info: ... okay on input line 32.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 32.
LaTeX Font Info: ... okay on input line 32.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 32.
LaTeX Font Info: ... okay on input line 32.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 32.
LaTeX Font Info: ... okay on input line 32.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 32.
LaTeX Font Info: ... okay on input line 32.
("C:\Program Files (x86)\MiKTeX 2.9\tex\context\base\supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count105
\scratchdimen=\dimen117
\scratchbox=\box28
\nofMPsegments=\count106
\nofMParguments=\count107
\everyMPshowfont=\toks23
\MPscratchCnt=\count108
\MPscratchDim=\dimen118
\MPnumerator=\count109
\makeMPintoPDFobject=\count110
\everyMPtoPDFconversion=\toks24
)
LaTeX Warning: Reference `fig:GlycWatViscosVSTemp_35pc' on page 1 undefined on
input line 90.
<0C__Users_febav_Dropbox_PhD_PressureDropModel_F___mple35__h__jeTaastrup_DTUKEM
_Viscosity_35pc.pdf, id=1, 482.22758pt x 382.39864pt>
File: 0C__Users_febav_Dropbox_PhD_PressureDropModel_F___mple35__h__jeTaastrup_D
TUKEM_Viscosity_35pc.pdf Graphic file (type pdf)
<use 0C__Users_febav_Dropbox_PhD_PressureDropModel_F___mple35__h__jeTaastrup_DT
UKEM_Viscosity_35pc.pdf>
Package pdftex.def Info: 0C__Users_febav_Dropbox_PhD_PressureDropModel_F___mple
35__h__jeTaastrup_DTUKEM_Viscosity_35pc.pdf used on input line 94.
(pdftex.def) Requested size: 172.5pt x 136.78816pt.
LaTeX Warning: Reference `fig:GlycWatViscosVSTemp_35pc' on page 1 undefined on
input line 102.
LaTeX Warning: Reference `eq:mu_35pc_glycol' on page 1 undefined on input line
104.
LaTeX Warning: Reference `fig:GlycWatViscosVSTemp_35pc' on page 1 undefined on
input line 106.
Overfull \hbox (11.97061pt too wide) detected at line 113
\OML/cmm/m/it/10 \OT1/cmr/m/n/10 = []
[]
[1{C:/Users/febav/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}
<C:/Users/febav/AppData/Local/Temp/lyx_tmpdir.yvQysAzR2496/lyx_tmpbuf0/0C__Use
rs_febav_Dropbox_PhD_PressureDropModel_F___mple35__h__jeTaastrup_DTUKEM_Viscosi
ty_35pc.pdf>]
(C:\Users\febav\AppData\Local\Temp\lyx_tmpdir.yvQysAzR2496\lyx_tmpbuf0\Example.
aux)
Runaway argument?
{\contentsline {table}{\numberline {1}{\ignorespaces Comparison betwe\ETC.
! File ended while scanning use of \@writefile.
<inserted text>
\par
l.117 \end{document}
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
LaTeX Warning: There were undefined references.
)
Here is how much of TeX's memory you used:
2509 strings out of 493921
31803 string characters out of 3144875
89268 words of memory out of 3000000
5795 multiletter control sequences out of 15000+200000
7167 words of font info for 20 fonts, out of 3000000 for 9000
841 hyphenation exceptions out of 8191
27i,11n,20p,257b,240s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:\Users\febav\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\
ecrm0700.pk> <C:\Users\febav\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\
ec\dpi600\ecbx1000.pk> <C:\Users\febav\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour
\jknappen\ec\dpi600\ecrm1000.pk><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/
public/amsfonts/cm/cmex10.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/pu
blic/amsfonts/cm/cmmi10.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/publ
ic/amsfonts/cm/cmmi7.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/
amsfonts/cm/cmr10.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/ams
fonts/cm/cmr7.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfont
s/cm/cmsy10.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/
cm/cmsy7.pfb>
Output written on Example.pdf (1 page, 94836 bytes).
PDF statistics:
108 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
6 words of extra memory for PDF output out of 10000 (max. 10000000)