Thank you Stefan,
I got this worked.
\begin{tikzpicture}[
vertex/.style = {circle, draw=black, fill=blue!30,
minimum size=1.2cm, font=\bfseries},
edge/.style = {thick},
weight/.style = {font=\small, fill=white, inner sep=1pt}
]
\node (A) [vertex, fill=green!50] at (0,2) {A};
\node (B ...
Search found 7 matches
- Sat Mar 15, 2025 8:39 pm
- Forum: Graphics, Figures & Tables
- Topic: Usage of TikZ with Lyx
- Replies: 12
- Views: 34631
- Sat Mar 15, 2025 7:51 pm
- Forum: Graphics, Figures & Tables
- Topic: Usage of TikZ with Lyx
- Replies: 12
- Views: 34631
Re: Usage of TikZ with Lyx
Hi Stefan,
when I remove tikzpicture, I am successfully able to see the pdf document.
Attached the .tex file.
when I remove tikzpicture, I am successfully able to see the pdf document.
Attached the .tex file.
- Sat Mar 15, 2025 7:34 pm
- Forum: Graphics, Figures & Tables
- Topic: Usage of TikZ with Lyx
- Replies: 12
- Views: 34631
Re: Usage of TikZ with Lyx
Sorry. it took awhile to find the log file.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex 2023.2.2) 15 MAR 2025 20:30
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**0-1_Knapsack.tex
(./0-1_Knapsack.tex
LaTeX2e <2022-11 ...
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex 2023.2.2) 15 MAR 2025 20:30
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**0-1_Knapsack.tex
(./0-1_Knapsack.tex
LaTeX2e <2022-11 ...
- Sat Mar 15, 2025 7:03 pm
- Forum: Graphics, Figures & Tables
- Topic: Usage of TikZ with Lyx
- Replies: 12
- Views: 34631
Re: Usage of TikZ with Lyx
Hi Stefan,
I received the same error:
"Illegal parameter number in definition of \pgfkeyscurrentkey."
Thank you in advance,
Fatih
I received the same error:
"Illegal parameter number in definition of \pgfkeyscurrentkey."
Thank you in advance,
Fatih
- Sat Mar 15, 2025 6:33 pm
- Forum: Graphics, Figures & Tables
- Topic: Usage of TikZ with Lyx
- Replies: 12
- Views: 34631
Re: Usage of TikZ with Lyx
Hi Stefan,
"Illegal parameter number in definition of \pgfkeyscurrentkey." this is the error for the following tikz code:
\begin{tikzpicture}
\tikzset{
vertex/.style={circle, draw=black, fill=blue!30, minimum size=1.2cm, font=\bfseries},
edge/.style={thick},
weight/.style={font=\small, fill ...
"Illegal parameter number in definition of \pgfkeyscurrentkey." this is the error for the following tikz code:
\begin{tikzpicture}
\tikzset{
vertex/.style={circle, draw=black, fill=blue!30, minimum size=1.2cm, font=\bfseries},
edge/.style={thick},
weight/.style={font=\small, fill ...
- Sat Mar 15, 2025 5:58 pm
- Forum: Graphics, Figures & Tables
- Topic: Usage of TikZ with Lyx
- Replies: 12
- Views: 34631
Re: Usage of TikZ with Lyx
Hello Stefan,
Thank you accepting me to the forum.
This code successfully:
\begin{tikzpicture}
% Define the nodes (vertices)
\node[circle, draw=blue, fill=blue!20, minimum size=15mm] (A) at (0, 0) {1};
\node[circle, draw=blue, fill=blue!20, minimum size=15mm] (B) at (4, 0) {2};
\node[circle ...
Thank you accepting me to the forum.
This code successfully:
\begin{tikzpicture}
% Define the nodes (vertices)
\node[circle, draw=blue, fill=blue!20, minimum size=15mm] (A) at (0, 0) {1};
\node[circle, draw=blue, fill=blue!20, minimum size=15mm] (B) at (4, 0) {2};
\node[circle ...
- Fri Mar 14, 2025 10:09 pm
- Forum: Graphics, Figures & Tables
- Topic: Usage of TikZ with Lyx
- Replies: 12
- Views: 34631
Usage of TikZ with Lyx
Hello,
I would like some help regarding the usage of tikz with lyx. When I have simple tikz code, it works fine. If the tikz code becomes a little complex suc as including tikzset, I do get error. What is the cause of this error? I put the required packages to the preamble.
Thank you in advance ...
I would like some help regarding the usage of tikz with lyx. When I have simple tikz code, it works fine. If the tikz code becomes a little complex suc as including tikzset, I do get error. What is the cause of this error? I put the required packages to the preamble.
Thank you in advance ...