3
votes
1answer
324 views

Undefined control sequence on legitimate LyX macro

I'm trying to define a LyX macro, Insert -> Math -> Macro on the menus. It's a very simple macro. Source code under View -> View Source: \global\long\def\Z{\mathbb{Z}} The file compiles nicely if I ...
2
votes
1answer
461 views

How to render \Lyx like \LaTeX [duplicate]

Possible Duplicate: How to write (La)TeX (with braces) [or any other TeX-related logo] Is there a macro defined somewhere that I can use so that \LyX{} renders like \LaTeX in pure LaTeX? ...
1
vote
1answer
168 views

Adding new parameter in lyx

In texmaker, I create document_setting.tex for input some document attribution like the author, publisher, some attribution in acknowledgements. And then input document_setting in master document ...
7
votes
1answer
253 views

Keeping the names of things consistent in LyX.

I'm documenting a software project using LyX and many of the "things" (classes, processes, etc.) that I'm describing don't yet have good names. As my understanding of these things improves, I want to ...
11
votes
1answer
985 views

Alternatives to $\backslash$

Background Instead of marking up the text with bold or emphasis, I read (and agree) that it is better to define a command, or environment, that describes the content. Then apply text formatting ...
5
votes
2answers
399 views

Lyx customized view of command

I have a command definition in my LaTeX preamble: \newcommand*{\code}[1]{\texttt{#1}} But the usage of this command appears as an ERT e.g. \code{select}. I would like this to appear as select that ...
6
votes
2answers
807 views

Automatically define macros in LyX documents

I'm using LyX all the time and over the last 2 years I've accumulated some very handy macros for my lecture notes. As it is today, every time I start a new document, I copy and paste the macros from ...