# Tag Info

5

You shouldn't be using the threeparttable package and its eponymous environment to encase a longtable environment. Instead, use the threeparttablex package. (Note that its syntax is not the same as that of the threeparttable package.) \documentclass{article} \usepackage[margin=1in,a4paper]{geometry} % page parameters ...

5

I would just use \addbibresource{filename.bib} and arrange the input paths on the two machines so that works in both cases. Either by putting the file in your normal texmf tree or setting the environment variables so S:/dir3/dir1/dir2/filename.bib is found. but if you don't want to do that for some reason, do ...

5

Above the float, you should see a box with the text "float: Figure". If you right click it, then select "Settings...", then you should get this box: Uncheck "Use default placement" and play around with the settings under "Advanced Placement Options". To try David Carlisle's suggestion of htp, select "Here if possible", "Top of page" and "Page of floats".

4

Use tocloft. From its manual: A sample: \documentclass{article} \usepackage{tocloft} \usepackage{blindtext} \cftpagenumbersoff{section} \cftpagenumbersoff{subsection} \cftpagenumbersoff{subsubsection} \begin{document} \tableofcontents \Blinddocument \end{document} Now wondering how to publish the TOC only, but that's probably for another ...

3

No, there is to my knowledge no such thing. You can use Instant preview (http://wiki.lyx.org/LyX/InstantPreview) for equations, and things you put inside a Preview box (Insert --> Preview), but I don't think there is an option for live updating the PDF.

3

You must define somewhere these control sequences. This can be done in the body of the document in a ERT box, and/or in the LaTeX preamble, directly ( writing yourself in plain TeX \def\eqdeclaration#1{#1 ...} or LaTeX code as as \newcommand{\eqdeclaration}[1]{#1...}, etc.) or including a .tex file with these macros (\input{mymacros}) or a package (.sty ...

3

The Claim environment forms part of a "Theorems" module. It can be numbered in a variety of ways. Most likely you have it set to be "Numbered by Chapter" (or perhaps "Numbered by Section"): Delete that selection, which will remove the subordinate numbering.

3

This is the default for the AMS article document class - sections are set in small caps. These defaults are set in what is called a layout (and stored in a .layout file). Layouts are available in the in the Resources/layouts subfolder of your LyX folder, if you want to take a gander. Specifically, the AMS article layout is available in amsart.layout. If you ...

3

Write your tikzpicture in a separate plain text file, then include it in your LyX document, using the menu item Insert | File | Child Document. You have to make sure that you use the Include type: Input here.

3

Here are the steps you can follow for obtaining a vectorized version of an image: Download an SVG version. Let's assume you download this file: Convert it to PDF using something like Inkscape. In LyX, Insert > Graphics... and identify the PDF you want to insert: I've changed the LaTeX and LyX options to be height=.7\baselineskip. You can choose ...

3

With the following code : \documentclass[print]{nuthesis} % Require http://www.math.unl.edu/graduate/nuthesis/nuthesis.zip \begin{document} \chapter{Foreword} \section{First section} \begin{figure} \caption{First figure} \end{figure} \section{Second Section} \begin{figure} \caption{Second figure} \end{figure} ...

3

You probably want \emptyset, not \O; or \varnothing from amssymb.

2

Something like this? If you don't like the vertical bar, consider replacing \mid with \setminus. \documentclass{article} \usepackage{amsmath} % for 'align*' environment \begin{document} \begin{align*} x+2 &= 2 \qquad \mid -2\\ x\phantom{{}+2} &= 0 \end{align*} \end{document} Addendum: If your systems of equations tend to be more involved ...

2

To have the ultimate control over where this content is displayed and whether/not it ends up elsewhere in the document, I would patch \@maketitle in the Document > Settings... > LaTeX Preamble using etoolbox: \usepackage{etoolbox} \patchcmd{\@maketitle}% <cmd> {\ifx\@empty\@dedicatory}% <search> {\smallskip \begin{center} ...

2

Don't put formatting in the \section argument! Just define section to be inline rather than display (by changing the sign of the space argument) \documentclass[english]{amsart} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{amsthm} \usepackage{setspace} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands. ...

2

The entries for the ToC (and LoF, LoT etc.) are done with \addcontentsline, more precisely: \def\addcontentsline#1#2#3{% \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}}} If \thepage is removed from the \contentsline call, all page numbers will be dropped. If the page numbers for particular structuring levels should be removed use tocloft ...

2

2

Don't include too much in the argument of \section; here, only the word Introduction seems to belong in sectioning header. Don't use eqnarray -- it's a badly deprecated command. Consider loading the amsmath package and using \cfrac (instead of \frac) to typeset continued fractions. Don't overuse \left and \right. Not modified from your example code, but ...

2

Insert the title using the Title paragraph style. Then, while still within the title (preferably at the front, although it doesn't matter), Insert > Short Title or Alt + A, 1 and type the title that will be displayed in the header for all pages that are not the title page: Your output should resemble

2

As PDF export from Inkscape works well, as you say, you should configure Lyx to use Inkscape as a file converter. For doing so go to Tools > Preferences > File Handling > Converters. Find the Converter SVG -> PDF (graphics). In the field Converter I use the following command on a Linux system inkscape --file=i --export-area-page --without-gui ...

2

@Deve gave the right hint In the Inkscape wiki http://wiki.lyx.org/Tips/UseInkscapeSVGImages they state: as of version 2.0.0 LyX is capable of displaying SVGs without configuring Inkscape as converter (i.e. without doing the procedure above) but in some cases (e.g. SVG containing text, LyX running on Windows), the rendering will be buggy (see ...

1

Follow Insert > Program Listing to insert a listing. Then right-click inside the listing and choose Settings... > Float (under Main Settings / Placement).

1

Sorry for the messy comment, but I made a new .lyx file in the directory: /classicthesis-LyX-v4.2_biblatex_biber then I followed the advice of @MWE and added these following lines to the preamble: \usepackage{classicthesis} \usepackage{listings} \usepackage{nomencl} \usepackage{algorithm,algpseudocode} \addbibresource{MasterCite.bib} At the and of ...

1

You could use a Latex editor and copy paste the code once you're done. Or use a Latex editor, save file and import it to lyx. lyx is supposed to be a text editor, somewhat like MS word, and indeed using ERT is not fun. btw, you can use ctrl+L to open the ERT box

1

If you put the bioinfo.cls in the proper directory, such as (on Ubuntu): /usr/share/texlive/texmf-dist/tex/latex/bioinfo/ Then you can make a Lyx layout as -- #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[bioinfo]{article (Bioinformatics)} # Read the definitions from article.layout Input article.layout -- And ...

1

Try inserting the following TeX code. \bigl[\!\begin{smallmatrix} a \\ b \end{smallmatrix}\!\bigr] If that doesn't look right (it might be slightly too tall), you could also try \left[\begin{smallmatrix} a \\ b \end{smallmatrix}\right] or \left[\!\begin{smallmatrix} a \\ b \end{smallmatrix}\!\right] and see if they look nicer to you.

1

The construction you want to place is referred to under AMS math as a "small matrix". Here are the steps: Insert > Math > Inline Formula Insert > Math > Delimeters or click on the button and select the delimiters [ (for left) and ] (for right): Within the inline formula type \smallmatrix and hit →. This inserts a smallmatrix environment inside the ...

1

I'd use Sweave, with an R snippet that access the web info. I'm assuming you will use links that return numbers, not search results (as the provided link does). I could post the snippet if you posted a link that provides a number.

1

Thank you for your replies, now I solved the issue. The problem was that I accidentally put my bibliography in a section and I haven't seen it until I looked in the source view: \section*{\bibliographystyle{IEEEtran} \bibliography{\string"MyBibliography\string"} } I just changed to standard: \bibliography{\string"MyBibliography\string"}

Only top voted, non community-wiki answers of a minimum length are eligible