# Tag Info

4

Within the default Article (Standard Class) (see you Document > Settings... > Document Class tab), the Title (Author and Date) is set using a macro called \@maketitle (inside article.cls. This is what that macro looks like: \def\@maketitle{% \newpage \null \vskip 2em% \begin{center}% \let \footnote \thanks {\LARGE \@title \par}% \vskip ...

4

(Copied here from my comments, with some additions.) LyX automatically escapes things before passing them to LaTeX. For example, – is replaced by \textendash, $is replaced by \$, and indeed " is replaced by \textquotedbl. LyX also takes care of which packages to load and encoding to use (but isn't perfect). So the concern here is not which macro to use ...

4

You have redefined the the internal command \raise used for moving boxes up and down. Such boxes typically contain characters to typeset. This is used in the optional argument of the \sqrt command to get the symbol at an appropriate height, and in many other places in LaTeX. In fact, I am surprised that nothing else in your document triggered the error. ...

3

Without dealing with external programs, LaTeX code or shortcuts of Preferences menu: Method 1: From menu Menu Insert > Special character > Symbol > Category Basic Latin > " > Apply Method 2: Copy from math mode Ctrl+M (math mode) ⇧ Shift+2 (type " in math mode, i.e.: $"$) ⇧ Shift + <- (select ") Ctrl + C (copy ") → → (out of math mode) ...

3

You are simply missing a closing brace. \ifthenelse{\equal{#1}{D}}{\item[{Cons}]}{}}} should be \ifthenelse{\equal{#1}{D}}{\item[{Cons}]}{}}}} MWE: \documentclass{article} \usepackage{nomencl} \usepackage{ifthen} \renewcommand{\nomgroup}[1]{% \ifthenelse{\equal{#1}{A}}{\item[{Sets and Indicis:}]}{% \ifthenelse{\equal{#1}{B}}{\item[{Variables:}]}{% ...

3

\label records the last referencable item, which is the section head in your case. Normally to refer to a formula you would use equation or align but sometimes in tables you can do it "by hand" \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \usepackage{float} ...

3

LyX can handle direct copy-paste of ASCII tables into lyx tables. You just have the columns delimited by tabs in the ASCII table. Then copy the ASCII table from your ASCII editor to the clipboard. In LyX, create an empty table with the appropriate number of columns and rows, e.g. by the menu Insert->Table or even quicker with the pulldown menu in the ...

3

You could use the macro \textquotedbl, which requires loading the fontenc package with an option such as T1. \documentclass{article} \usepackage[T1]{fontenc} \begin{document} \textquotedbl this\textquotedbl \end{document}

3

This is straight-forward in LaTeX. The idea would be to save the larger image in a box. Once this is done, you can measure it's height and move the smaller image up by some distance relative to the larger one. In terms of LyX you can follow these instructions: Insert the following in your Document > Settings... > LaTeX Preamble: \newsavebox{\savedimage} ...

2

A dirty trick (I am too lazy to redefine \maketitle): \documentclass[11pt]{article} \usepackage{doc} \title{Title} \author{Author} \date{\today} \begin{document} Some {\em previous} text \begin{minipage}{\textwidth} \maketitle \end{minipage} \section{Introduction} Lore ipsum ... \end{document} In LyX, with the Insertmenu you can make ...

2

For single straight quotes, use Ctrl+'; for double straight quotes use Ctrl+".

1

I don't know how to input it in LyX, but this LaTeX code should do. \documentclass{article} \begin{document} \begin{tabular}{ *{7}{r} | c@{}l } \multicolumn{1}{c}{a} & \multicolumn{1}{c}{b} & \multicolumn{1}{c}{c} & \multicolumn{1}{c}{d} & \multicolumn{1}{c}{e} & \multicolumn{1}{c}{f} & \multicolumn{1}{c}{g} & ...

1

I've managed to seemingly fix this myself. I just ran: Tools -> Reconfigure

1

The rpm of 2.1.2 version for x64 can be downloaded here. In the same page you can check the dependencies, in case there are some extra packages you may have to install. Once you have the rpm file, follow the instructions provided in the askfedora forum here. In terminal: rpm -Uvh --nodeps lyx-2.1.2-1.fc20.x86_64.rpm

1

I'm afraid that I cannot remember where exactly I got the original code for this, but it seems that I modified it at some point as I have versioning notes. The Package Specification Anyway, here is the .spec file I used to create an .rpm for a dummy package: Name: texlive2012-dummy-cfr Version: 1.0 Release: 2%{?dist} Summary: This is a fake TeXLive ...

1

Using LyX or Word, you never should use white spaces to add indentation to the first line of a paragraph. This bad habit is prone to errors and if you need change the layout later, you must change manually each indentation. Unlike Work, LyX (LateX) fortunately avoid you do that with normal spaces. The indents can be adjusted globally for all the document is ...

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