Hot answers tagged

7

You could do this from the menus with LyX. Use: Insert > Special Characters > Symbols,... And get this pop-up window: And input your symbol that way (like Word's ALT-I, if memory serves). You then can copy/paste if you want to keep using that symbol. You can also use the "Evil Red Text" technique as noted by @AFeldman. If you use that approach, ...


4

Go to Document > Settings > Local Layout and put provides graphicx 1 Click on Validate, then click "OK". What this does is it tells LyX "I'm taking care of loading the graphicx package, don't worry about." Then the responsibility is on you. To find out more details, consider reading Help > Customization > 5.3.4 General text class parameters. (thanks to ...


4

The character U+0111 is not a math symbol. There is no symbol for the inexact differential in Unicode, as far as I know. I suggest defining a macro for it: \documentclass{article} \newcommand{\diff}{\mathop{}\!d} % http://tex.stackexchange.com/a/253108/4427 \newcommand{\dbar}{{\mkern3mu\mathchar'26\mkern-12mu d}} % \newcommand{\idiff}{\mathop{}\!\dbar} \...


3

the multlined facility of mathtools can be used here: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{align} A &= \begin{multlined}[t] \text{first line of A}\\ \text{second line of A} \end{multlined}\\ \text{other} &= \begin{multlined}[t] \text{first line of other}\\ \text{second line of other} \...


3

Go to View > Toolbars > Command Buffer or do Alt + x (may depend on your OS, this works on Ubuntu). Go down to the bottom where a text box appeared and enter unicode-insert 0111 and then press return. LyX will take care of the rest. If you do this in plain text, LyX inserts \dj{} for you. If you do this in math, LyX inserts $\mkern3mu\mathchar'26\mkern-12mu ...


3

In order for your child document to use information from a different .lyx file, LyX needs to know where to look. In your child document go to Document > Settings, check the box "Select default master document", and then browse to select the master lyx file, and then click "OK". Some useful information can also be bound on this LyX wiki page.


3

A bit of technique first. LyX is based on Qt, and Qt delegates the input of Unicode character to input to a component called the Input Method. This includes typing the code point directly, as stated here: https://bugreports.qt.io/browse/QTBUG-8. Thus LyX receives the Unicode character directly in interpreted form from the Input Method. In particular what ...


2

Try \renewcommand{\cftsecfont}{\fontseries{md}\fontsize{14}{16}\selectfont} \renewcommand{\cftsubsecfont}{\fontseries{md}\fontsize{10}{12}\selectfont} If you want the corresponding page numbers to have the same font size (or another size), use \renewcommand{\cftsecpagefont}{\fontsize{14}{16}\selectfont} \renewcommand{\cftsubsecpagefont}{\fontsize{10}{12}...


2

For the record: in Linux, with Lyx (or without Lyx): Alt Gr + D = ð Alt Gr + F = đ To use the unicode character in math mode you can use \text{đ} or \text{\textit{đ}} of amsmath package: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \begin{document} \[f(x) \mathop{\!}dx+g(y)\mathop{}\text{\textit{đ}} ...


2

As mentioned similar quostion here. The CLS file uses the document class Article. It seems that easiest is to set up local aaltothesis.layout file for your thesis, not working yet: errors documented below. Other option is to put it under /Applications/LyX.app/Contents/Resources/layouts/ but so far at least not working in my OSX Lyx. The Aaltothesis.cls ...


1

Modern Versions of Windows - since Windows 7 - have the where command installed. It checks whether an executable is in one of the folders that is listed in your $PATH. Enter the command on the cmd or in Powershell: PS C:\Users\me> where.exe pdflatex C:\texlive\2016\bin\win32\pdflatex.exe If Lyx installs pdflatex on the $PATH, you should be able to ...


1

May be you want this (captions aligned and images top-aligned)? \documentclass[11pt,a4paper]{book} \usepackage[utf8]{inputenc} % \usepackage{geometry} \usepackage{floatrow, graphicx} \begin{document} \begin{figure}[!ht] \floatsetup{style=plain, floatrowsep=qquad, heightadjust=object, valign=t, captionskip=2.5ex} \begin{floatrow} \ffigbox[\FBwidth]{\...


1

Write the following in the document's local layout: InsetLayout ERT Font Color latex Family typewriter Size Small EndFont End (Tiny is an acceptable value as well.) This is an application of the general answer found there: https://tex.stackexchange.com/a/281207/87201


1

Solution: in preferences use the "save" button to permanently save, not the "apply" button. You've run into a common confusion, represented by this LyX bug. The "apply" button is meant only to apply it for that LyX session. It is a useful feature if you understand the difference, because this way you can experiment with various preferences without concern ...


1

LyX (even the last version 2.2.0) doesn't provide native support for BibLaTeX yet, but if you see here: https://wiki.lyx.org/BibTeX/Biblatex you'll find how to use the built-in citation manager with BibLaTeX with some little tricks. In pratice you leave the the BibTeX inset (Insert→List/TOC→BibTeX Bibliography...) in a LyX note or comment, in this way LyX ...


1

../classicthesis.sty means latex searches in the parent folder for the sty file. to fix this you have two possibilities: if classicthesis.sty is located in the same folder as your document, change ../classicthesis.sty to ./classicthesis.sty move classicthesis.sty to the folder above your document.


1

Your .lyx file doesn't seem to show this, but the error message you posted indicate where things went wrong: Runaway argument? {\noindent \resizebox {\textwidth }{!}{\begin {table} \begin {tabular\ETC. This tells me that you put the \resizebox around both the floating container (\begin{table} in the code) and the table itself (\begin{tabular), which is ...


1

This is not really an actual solution but more of a workaround. Instead of copying the image into its Float Figure container, I use the Insert graphics tab beneath the menu bar. A more definite solution was to reinstall lyx (make sure you save the files you've been working on before; do not leave anything in the default working directories).


1

to end items and go back to your normal paragraph press enter and you l be put in a new item righ? look up to the icon "implicite" next to "liste numeroté",, it looks like a paper with lines in it ,, press it and bamm ! problem solved.


1

Actually, it seems the latest release (May 2016) changes the default environment to use align instead of eqnarray. From the update post: Ctrl+M now inserts \text in math mode instead of \mbox, and Ctrl+Enter introduces by default an AMS align environment instead of an eqnarray. So if you've installed the latest version of LyX (>= 2.2), this should no ...



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