I am writing my assignment in LyX. I am very new to this program, but I would like to create a scheme similar to this:
Is this possible to do? Does anyone have templates similar to this one?
I would appreciate your help.
Best Answer
You could use tikz directly in LyX.
Choose Document --> Settings --> LaTeX preamble and add these two lines:
\usepackage{tikz}
\usetikzlibrary{matrix,shapes}
Then, in your document - within a figure environment (since I wrote \centering it should be put within a group), or a center environment directly (without \centering) or any other similar way you like - put the following code in an ERT (pressing ctrl+L or the specific icon or via menu Insert --> TeX code). Note that when pasting code into an ERT you must use Ctrl + Shift + V (Edit -> Paste special) to preserve line breaks.
Insert your numbered sections and then, right after the number, right click and select Insert Short Title. Leave that title blank, click behind the small red frame and Press <Enter>. You will be on a new line where you can enter text, with the numbered section intact and the short title not printing.
Best Answer
You could use
tikz
directly in LyX.Choose
Document --> Settings --> LaTeX preamble
and add these two lines:Then, in your document - within a
figure
environment (since I wrote\centering
it should be put within a group), or acenter
environment directly (without\centering
) or any other similar way you like - put the following code in anERT
(pressing ctrl+L or the specific icon or via menuInsert --> TeX code
). Note that when pasting code into anERT
you must use Ctrl + Shift + V (Edit -> Paste special
) to preserve line breaks.After running and this is the result:
This is the complete code you could save with a
.lyx
extension and open directly in LyX: