# Tag Info

1

As commented by Jan Hlavacek, you can use "math macros (Insert -> Math -> Macro)" for instant view of custom latex commands (\newcommand).

0

A well-known bibliography style that generates authoryear-style citation call-outs and uses & as the conjunction if the bib entry has exactly two authors (or editors) is agsm. This bibliography style is part of the harvard citation management package, but it's compatible with the natbib package as well.

0

To have the numbering on the right, you have to replace \documentclass[english]{amsart} by \documentclass[english,reqno]{amsart} (See Placing equation numbers on the right) Edit : and like @Mico said, juste comment your numberwithin commands

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. ...

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".

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 ...

0

It was done in the last LyX update. They added a new option to disable pasting by pressing the middle mouse button. See: http://wiki.lyx.org/LyX/NewInLyX22

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 ...

0


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 ...

2

3

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

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} ...

0

While I still do not know the culprit of this problem, I think I have found a workaround. Even when paste is disabled, I found paste recent is still active, so I just binded ctrl+v to paste 0 instead of paste. It seems to be working well so far. -- Edited -- I spoke too early. It works within LyX, but paste recent does not capture texts copied outside of ...

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.

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

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

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.

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 ...

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 ...

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"}

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.

0

You can have two bibliography files in the argument of \bibliography. Put you additional references in a file myrefs.bib and call \bibliography{literature,my-refs}

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

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.

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

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.

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 ...

0


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 ...

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 ...

0

As R.Schumacher said. I would use a template from latextemplates.com and then add the title-page to my pdf via an external software that adds 2 pdf together. \begin{titlepage} ... \end{titlepage} https://en.wikibooks.org/wiki/LaTeX/Title_Creation read into it and add it into your report. latextemplates.com also has report templates with a title page in ...

Top 50 recent answers are included