Help! Why does my curly brace show as a straight line?
I'm a beginner at latex and I've been reading everything I found about curl braces. I managed to positioned it where I wanted it but now my curly brace appears as a straight line. When I write the code in a new different file with just this diagram, the curly brace shows, only in another position. what can I do to fix it? Thanks!!
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{pgf,tikz}
usetikzlibrary{positioning, arrows, automata}
begin{document}
scalebox{1.1}
{
begin{tikzpicture}
[node distance= 1cm,auto,
every node/.style={text=white,rounded corners=0.05cm},
grande/.style={rectangle, fill=green!60!blue, font=large, minimum width= 7cm, minimum height=0.8cm},
peque/.style={rectangle, fill=green!30!black, font=large, minimum width=3.5cm, minimum height= 0.4cm}]
node[grande, xshift=1.5cm] (oracion){Oración};
node[grande, below of=oracion] (evento) {Evento};
node[grande, below of=evento] (EPA) {EPA};
node[peque, below of= EPA, anchor=east, minimum width=3.5cm](syntax){Sintaxis};
node[peque, right=0.03cm of syntax,minimum width=3.5cm](semantics){Semántica};
node[peque, below of=syntax, yshift=0.4cm](funciones){scriptsize F. sintácticas};
node[peque, right=0.03cm of funciones, minimum width=1.73cm, yshift=0cm](roles){tiny R. temáticos};
node[peque, right=0.03cm of roles, minimum width=1.73cm](rasgos){tiny R. semánticos};
draw [decorate,decoration={brace,amplitude=10pt},xshift=-0.5cm,yshift=-5cm] (-2,1.0) -- (-2,2.5) node [black,midway,xshift=-0.6cm, yshift=0cm] {footnotesize Diátesis};
end{tikzpicture}}
end{document}
tikz-pgf brackets braces
New contributor
add a comment |
I'm a beginner at latex and I've been reading everything I found about curl braces. I managed to positioned it where I wanted it but now my curly brace appears as a straight line. When I write the code in a new different file with just this diagram, the curly brace shows, only in another position. what can I do to fix it? Thanks!!
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{pgf,tikz}
usetikzlibrary{positioning, arrows, automata}
begin{document}
scalebox{1.1}
{
begin{tikzpicture}
[node distance= 1cm,auto,
every node/.style={text=white,rounded corners=0.05cm},
grande/.style={rectangle, fill=green!60!blue, font=large, minimum width= 7cm, minimum height=0.8cm},
peque/.style={rectangle, fill=green!30!black, font=large, minimum width=3.5cm, minimum height= 0.4cm}]
node[grande, xshift=1.5cm] (oracion){Oración};
node[grande, below of=oracion] (evento) {Evento};
node[grande, below of=evento] (EPA) {EPA};
node[peque, below of= EPA, anchor=east, minimum width=3.5cm](syntax){Sintaxis};
node[peque, right=0.03cm of syntax,minimum width=3.5cm](semantics){Semántica};
node[peque, below of=syntax, yshift=0.4cm](funciones){scriptsize F. sintácticas};
node[peque, right=0.03cm of funciones, minimum width=1.73cm, yshift=0cm](roles){tiny R. temáticos};
node[peque, right=0.03cm of roles, minimum width=1.73cm](rasgos){tiny R. semánticos};
draw [decorate,decoration={brace,amplitude=10pt},xshift=-0.5cm,yshift=-5cm] (-2,1.0) -- (-2,2.5) node [black,midway,xshift=-0.6cm, yshift=0cm] {footnotesize Diátesis};
end{tikzpicture}}
end{document}
tikz-pgf brackets braces
New contributor
1
Welcome to the TeX.SE. Please, can you edit your code and can you add the documentclass used? Thank you.
– Sebastiano
11 hours ago
1
@Sebastiano Judging from the second line of the code, I think the OP is usingbeamer
.
– JouleV
11 hours ago
@JouleV I agree with you. I thinked that beamer could to contain also any options with the brackets .
– Sebastiano
11 hours ago
@JouleV Exactly , it is a beamer presentation. Sorry about that guys! I'll edit now
– rociorm
8 hours ago
add a comment |
I'm a beginner at latex and I've been reading everything I found about curl braces. I managed to positioned it where I wanted it but now my curly brace appears as a straight line. When I write the code in a new different file with just this diagram, the curly brace shows, only in another position. what can I do to fix it? Thanks!!
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{pgf,tikz}
usetikzlibrary{positioning, arrows, automata}
begin{document}
scalebox{1.1}
{
begin{tikzpicture}
[node distance= 1cm,auto,
every node/.style={text=white,rounded corners=0.05cm},
grande/.style={rectangle, fill=green!60!blue, font=large, minimum width= 7cm, minimum height=0.8cm},
peque/.style={rectangle, fill=green!30!black, font=large, minimum width=3.5cm, minimum height= 0.4cm}]
node[grande, xshift=1.5cm] (oracion){Oración};
node[grande, below of=oracion] (evento) {Evento};
node[grande, below of=evento] (EPA) {EPA};
node[peque, below of= EPA, anchor=east, minimum width=3.5cm](syntax){Sintaxis};
node[peque, right=0.03cm of syntax,minimum width=3.5cm](semantics){Semántica};
node[peque, below of=syntax, yshift=0.4cm](funciones){scriptsize F. sintácticas};
node[peque, right=0.03cm of funciones, minimum width=1.73cm, yshift=0cm](roles){tiny R. temáticos};
node[peque, right=0.03cm of roles, minimum width=1.73cm](rasgos){tiny R. semánticos};
draw [decorate,decoration={brace,amplitude=10pt},xshift=-0.5cm,yshift=-5cm] (-2,1.0) -- (-2,2.5) node [black,midway,xshift=-0.6cm, yshift=0cm] {footnotesize Diátesis};
end{tikzpicture}}
end{document}
tikz-pgf brackets braces
New contributor
I'm a beginner at latex and I've been reading everything I found about curl braces. I managed to positioned it where I wanted it but now my curly brace appears as a straight line. When I write the code in a new different file with just this diagram, the curly brace shows, only in another position. what can I do to fix it? Thanks!!
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{pgf,tikz}
usetikzlibrary{positioning, arrows, automata}
begin{document}
scalebox{1.1}
{
begin{tikzpicture}
[node distance= 1cm,auto,
every node/.style={text=white,rounded corners=0.05cm},
grande/.style={rectangle, fill=green!60!blue, font=large, minimum width= 7cm, minimum height=0.8cm},
peque/.style={rectangle, fill=green!30!black, font=large, minimum width=3.5cm, minimum height= 0.4cm}]
node[grande, xshift=1.5cm] (oracion){Oración};
node[grande, below of=oracion] (evento) {Evento};
node[grande, below of=evento] (EPA) {EPA};
node[peque, below of= EPA, anchor=east, minimum width=3.5cm](syntax){Sintaxis};
node[peque, right=0.03cm of syntax,minimum width=3.5cm](semantics){Semántica};
node[peque, below of=syntax, yshift=0.4cm](funciones){scriptsize F. sintácticas};
node[peque, right=0.03cm of funciones, minimum width=1.73cm, yshift=0cm](roles){tiny R. temáticos};
node[peque, right=0.03cm of roles, minimum width=1.73cm](rasgos){tiny R. semánticos};
draw [decorate,decoration={brace,amplitude=10pt},xshift=-0.5cm,yshift=-5cm] (-2,1.0) -- (-2,2.5) node [black,midway,xshift=-0.6cm, yshift=0cm] {footnotesize Diátesis};
end{tikzpicture}}
end{document}
tikz-pgf brackets braces
tikz-pgf brackets braces
New contributor
New contributor
edited 8 hours ago
rociorm
New contributor
asked 11 hours ago
rociormrociorm
133
133
New contributor
New contributor
1
Welcome to the TeX.SE. Please, can you edit your code and can you add the documentclass used? Thank you.
– Sebastiano
11 hours ago
1
@Sebastiano Judging from the second line of the code, I think the OP is usingbeamer
.
– JouleV
11 hours ago
@JouleV I agree with you. I thinked that beamer could to contain also any options with the brackets .
– Sebastiano
11 hours ago
@JouleV Exactly , it is a beamer presentation. Sorry about that guys! I'll edit now
– rociorm
8 hours ago
add a comment |
1
Welcome to the TeX.SE. Please, can you edit your code and can you add the documentclass used? Thank you.
– Sebastiano
11 hours ago
1
@Sebastiano Judging from the second line of the code, I think the OP is usingbeamer
.
– JouleV
11 hours ago
@JouleV I agree with you. I thinked that beamer could to contain also any options with the brackets .
– Sebastiano
11 hours ago
@JouleV Exactly , it is a beamer presentation. Sorry about that guys! I'll edit now
– rociorm
8 hours ago
1
1
Welcome to the TeX.SE. Please, can you edit your code and can you add the documentclass used? Thank you.
– Sebastiano
11 hours ago
Welcome to the TeX.SE. Please, can you edit your code and can you add the documentclass used? Thank you.
– Sebastiano
11 hours ago
1
1
@Sebastiano Judging from the second line of the code, I think the OP is using
beamer
.– JouleV
11 hours ago
@Sebastiano Judging from the second line of the code, I think the OP is using
beamer
.– JouleV
11 hours ago
@JouleV I agree with you. I thinked that beamer could to contain also any options with the brackets .
– Sebastiano
11 hours ago
@JouleV I agree with you. I thinked that beamer could to contain also any options with the brackets .
– Sebastiano
11 hours ago
@JouleV Exactly , it is a beamer presentation. Sorry about that guys! I'll edit now
– rociorm
8 hours ago
@JouleV Exactly , it is a beamer presentation. Sorry about that guys! I'll edit now
– rociorm
8 hours ago
add a comment |
2 Answers
2
active
oldest
votes
You need to load decorations.pathreplacing
library to use the decoration.
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{pgf,tikz}
usetikzlibrary{positioning, arrows, automata, decorations.pathreplacing}
begin{document}
scalebox{1.1}
{
begin{tikzpicture}
[node distance= 1cm,auto,
every node/.style={text=white,rounded corners=0.05cm},
grande/.style={rectangle, fill=green!60!blue, font=large, minimum width= 7cm, minimum height=0.8cm},
peque/.style={rectangle, fill=green!30!black, font=large, minimum width=3.5cm, minimum height= 0.4cm}]
node[grande, xshift=1.5cm] (oracion){Oración};
node[grande, below of=oracion] (evento) {Evento};
node[grande, below of=evento] (EPA) {EPA};
node[peque, below of= EPA, anchor=east, minimum width=3.5cm](syntax){Sintaxis};
node[peque, right=0.03cm of syntax,minimum width=3.5cm](semantics){Semántica};
node[peque, below of=syntax, yshift=0.4cm](funciones){scriptsize F. sintácticas};
node[peque, right=0.03cm of funciones, minimum width=1.73cm, yshift=0cm](roles){tiny R. temáticos};
node[peque, right=0.03cm of roles, minimum width=1.73cm](rasgos){tiny R. semánticos};
draw [decorate,decoration={brace,amplitude=10pt},xshift=-0.5cm,yshift=-5cm] (-2,1.0) -- (-2,2.5) node [black,midway,xshift=-0.6cm, yshift=0cm] {footnotesize Diátesis};
end{tikzpicture}}
end{document}
Ahhh thank you!! Of course I forgot to load that! I started creating the image in another file and when I moved it I forgot to load it. Thank you so much!!
– rociorm
8 hours ago
add a comment |
off-topic (sine your main problem is solved by @JouleV answer), but it can be helpful:
- image is enclosed in
frame
environment (since you usebeamer
document class - for positioning of nodes is used syntax from the
positioning
packages - used are only relative coordinates,
- nodes are in two chains
- in nodes are used only two different font sizes and their definition is moved inside nodes styles
for brace is used
calligraphic brace
defined in the packagecalligraphy
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{tikz}
usetikzlibrary{arrows, automata,
calc, chains,
decorations.pathreplacing,
calligraphy,
positioning}
begin{document}
begin{frame}[fragile]
frametitle{My image}
begin{tikzpicture}[
node distance = 2mm and 1mm,
start chain = A going right,
start chain = B going above,
base/.style = {rounded corners=0.5mm, text=white},
grande/.style = {base, fill=green!60!blue, font=large,
minimum width=87mm, minimum height=8mm,
on chain=B},
peque/.style args = {#1/#2}{base, fill=green!30!black,
minimum width=#1, minimum height= 5mm,
font=#2,
on chain=A},
BC/.style = {decorate,
decoration={calligraphic brace, amplitude=5pt,
pre =moveto, pre length=1pt,
post=moveto, post length=1pt,
raise=5pt}, % for mirroring of brace
very thick,
pen colour=black},
]
node[peque=43mm/scriptsize] (funciones) {F. sintácticas};
node[peque=21mm/scriptsize] {R. temáticos};
node[peque=21mm/scriptsize] {R. semánticos};
node[peque=43mm/large,
above=of funciones] (syntax) {Sintaxis};
node[peque=43mm/large] (semantics) {Semántica};
node[grande,
above=of $(syntax.north)!0.5!(semantics.north)$] {EPA};
node[grande] {Evento};
node[grande] {Oración};
%
draw[BC] (funciones.south west) --
node[left=9pt,font=footnotesize] {Diátesis}
(syntax.north west);
end{tikzpicture}
end{frame}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
rociorm is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483190%2fhelp-why-does-my-curly-brace-show-as-a-straight-line%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to load decorations.pathreplacing
library to use the decoration.
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{pgf,tikz}
usetikzlibrary{positioning, arrows, automata, decorations.pathreplacing}
begin{document}
scalebox{1.1}
{
begin{tikzpicture}
[node distance= 1cm,auto,
every node/.style={text=white,rounded corners=0.05cm},
grande/.style={rectangle, fill=green!60!blue, font=large, minimum width= 7cm, minimum height=0.8cm},
peque/.style={rectangle, fill=green!30!black, font=large, minimum width=3.5cm, minimum height= 0.4cm}]
node[grande, xshift=1.5cm] (oracion){Oración};
node[grande, below of=oracion] (evento) {Evento};
node[grande, below of=evento] (EPA) {EPA};
node[peque, below of= EPA, anchor=east, minimum width=3.5cm](syntax){Sintaxis};
node[peque, right=0.03cm of syntax,minimum width=3.5cm](semantics){Semántica};
node[peque, below of=syntax, yshift=0.4cm](funciones){scriptsize F. sintácticas};
node[peque, right=0.03cm of funciones, minimum width=1.73cm, yshift=0cm](roles){tiny R. temáticos};
node[peque, right=0.03cm of roles, minimum width=1.73cm](rasgos){tiny R. semánticos};
draw [decorate,decoration={brace,amplitude=10pt},xshift=-0.5cm,yshift=-5cm] (-2,1.0) -- (-2,2.5) node [black,midway,xshift=-0.6cm, yshift=0cm] {footnotesize Diátesis};
end{tikzpicture}}
end{document}
Ahhh thank you!! Of course I forgot to load that! I started creating the image in another file and when I moved it I forgot to load it. Thank you so much!!
– rociorm
8 hours ago
add a comment |
You need to load decorations.pathreplacing
library to use the decoration.
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{pgf,tikz}
usetikzlibrary{positioning, arrows, automata, decorations.pathreplacing}
begin{document}
scalebox{1.1}
{
begin{tikzpicture}
[node distance= 1cm,auto,
every node/.style={text=white,rounded corners=0.05cm},
grande/.style={rectangle, fill=green!60!blue, font=large, minimum width= 7cm, minimum height=0.8cm},
peque/.style={rectangle, fill=green!30!black, font=large, minimum width=3.5cm, minimum height= 0.4cm}]
node[grande, xshift=1.5cm] (oracion){Oración};
node[grande, below of=oracion] (evento) {Evento};
node[grande, below of=evento] (EPA) {EPA};
node[peque, below of= EPA, anchor=east, minimum width=3.5cm](syntax){Sintaxis};
node[peque, right=0.03cm of syntax,minimum width=3.5cm](semantics){Semántica};
node[peque, below of=syntax, yshift=0.4cm](funciones){scriptsize F. sintácticas};
node[peque, right=0.03cm of funciones, minimum width=1.73cm, yshift=0cm](roles){tiny R. temáticos};
node[peque, right=0.03cm of roles, minimum width=1.73cm](rasgos){tiny R. semánticos};
draw [decorate,decoration={brace,amplitude=10pt},xshift=-0.5cm,yshift=-5cm] (-2,1.0) -- (-2,2.5) node [black,midway,xshift=-0.6cm, yshift=0cm] {footnotesize Diátesis};
end{tikzpicture}}
end{document}
Ahhh thank you!! Of course I forgot to load that! I started creating the image in another file and when I moved it I forgot to load it. Thank you so much!!
– rociorm
8 hours ago
add a comment |
You need to load decorations.pathreplacing
library to use the decoration.
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{pgf,tikz}
usetikzlibrary{positioning, arrows, automata, decorations.pathreplacing}
begin{document}
scalebox{1.1}
{
begin{tikzpicture}
[node distance= 1cm,auto,
every node/.style={text=white,rounded corners=0.05cm},
grande/.style={rectangle, fill=green!60!blue, font=large, minimum width= 7cm, minimum height=0.8cm},
peque/.style={rectangle, fill=green!30!black, font=large, minimum width=3.5cm, minimum height= 0.4cm}]
node[grande, xshift=1.5cm] (oracion){Oración};
node[grande, below of=oracion] (evento) {Evento};
node[grande, below of=evento] (EPA) {EPA};
node[peque, below of= EPA, anchor=east, minimum width=3.5cm](syntax){Sintaxis};
node[peque, right=0.03cm of syntax,minimum width=3.5cm](semantics){Semántica};
node[peque, below of=syntax, yshift=0.4cm](funciones){scriptsize F. sintácticas};
node[peque, right=0.03cm of funciones, minimum width=1.73cm, yshift=0cm](roles){tiny R. temáticos};
node[peque, right=0.03cm of roles, minimum width=1.73cm](rasgos){tiny R. semánticos};
draw [decorate,decoration={brace,amplitude=10pt},xshift=-0.5cm,yshift=-5cm] (-2,1.0) -- (-2,2.5) node [black,midway,xshift=-0.6cm, yshift=0cm] {footnotesize Diátesis};
end{tikzpicture}}
end{document}
You need to load decorations.pathreplacing
library to use the decoration.
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{pgf,tikz}
usetikzlibrary{positioning, arrows, automata, decorations.pathreplacing}
begin{document}
scalebox{1.1}
{
begin{tikzpicture}
[node distance= 1cm,auto,
every node/.style={text=white,rounded corners=0.05cm},
grande/.style={rectangle, fill=green!60!blue, font=large, minimum width= 7cm, minimum height=0.8cm},
peque/.style={rectangle, fill=green!30!black, font=large, minimum width=3.5cm, minimum height= 0.4cm}]
node[grande, xshift=1.5cm] (oracion){Oración};
node[grande, below of=oracion] (evento) {Evento};
node[grande, below of=evento] (EPA) {EPA};
node[peque, below of= EPA, anchor=east, minimum width=3.5cm](syntax){Sintaxis};
node[peque, right=0.03cm of syntax,minimum width=3.5cm](semantics){Semántica};
node[peque, below of=syntax, yshift=0.4cm](funciones){scriptsize F. sintácticas};
node[peque, right=0.03cm of funciones, minimum width=1.73cm, yshift=0cm](roles){tiny R. temáticos};
node[peque, right=0.03cm of roles, minimum width=1.73cm](rasgos){tiny R. semánticos};
draw [decorate,decoration={brace,amplitude=10pt},xshift=-0.5cm,yshift=-5cm] (-2,1.0) -- (-2,2.5) node [black,midway,xshift=-0.6cm, yshift=0cm] {footnotesize Diátesis};
end{tikzpicture}}
end{document}
answered 11 hours ago
JouleVJouleV
10.5k22559
10.5k22559
Ahhh thank you!! Of course I forgot to load that! I started creating the image in another file and when I moved it I forgot to load it. Thank you so much!!
– rociorm
8 hours ago
add a comment |
Ahhh thank you!! Of course I forgot to load that! I started creating the image in another file and when I moved it I forgot to load it. Thank you so much!!
– rociorm
8 hours ago
Ahhh thank you!! Of course I forgot to load that! I started creating the image in another file and when I moved it I forgot to load it. Thank you so much!!
– rociorm
8 hours ago
Ahhh thank you!! Of course I forgot to load that! I started creating the image in another file and when I moved it I forgot to load it. Thank you so much!!
– rociorm
8 hours ago
add a comment |
off-topic (sine your main problem is solved by @JouleV answer), but it can be helpful:
- image is enclosed in
frame
environment (since you usebeamer
document class - for positioning of nodes is used syntax from the
positioning
packages - used are only relative coordinates,
- nodes are in two chains
- in nodes are used only two different font sizes and their definition is moved inside nodes styles
for brace is used
calligraphic brace
defined in the packagecalligraphy
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{tikz}
usetikzlibrary{arrows, automata,
calc, chains,
decorations.pathreplacing,
calligraphy,
positioning}
begin{document}
begin{frame}[fragile]
frametitle{My image}
begin{tikzpicture}[
node distance = 2mm and 1mm,
start chain = A going right,
start chain = B going above,
base/.style = {rounded corners=0.5mm, text=white},
grande/.style = {base, fill=green!60!blue, font=large,
minimum width=87mm, minimum height=8mm,
on chain=B},
peque/.style args = {#1/#2}{base, fill=green!30!black,
minimum width=#1, minimum height= 5mm,
font=#2,
on chain=A},
BC/.style = {decorate,
decoration={calligraphic brace, amplitude=5pt,
pre =moveto, pre length=1pt,
post=moveto, post length=1pt,
raise=5pt}, % for mirroring of brace
very thick,
pen colour=black},
]
node[peque=43mm/scriptsize] (funciones) {F. sintácticas};
node[peque=21mm/scriptsize] {R. temáticos};
node[peque=21mm/scriptsize] {R. semánticos};
node[peque=43mm/large,
above=of funciones] (syntax) {Sintaxis};
node[peque=43mm/large] (semantics) {Semántica};
node[grande,
above=of $(syntax.north)!0.5!(semantics.north)$] {EPA};
node[grande] {Evento};
node[grande] {Oración};
%
draw[BC] (funciones.south west) --
node[left=9pt,font=footnotesize] {Diátesis}
(syntax.north west);
end{tikzpicture}
end{frame}
add a comment |
off-topic (sine your main problem is solved by @JouleV answer), but it can be helpful:
- image is enclosed in
frame
environment (since you usebeamer
document class - for positioning of nodes is used syntax from the
positioning
packages - used are only relative coordinates,
- nodes are in two chains
- in nodes are used only two different font sizes and their definition is moved inside nodes styles
for brace is used
calligraphic brace
defined in the packagecalligraphy
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{tikz}
usetikzlibrary{arrows, automata,
calc, chains,
decorations.pathreplacing,
calligraphy,
positioning}
begin{document}
begin{frame}[fragile]
frametitle{My image}
begin{tikzpicture}[
node distance = 2mm and 1mm,
start chain = A going right,
start chain = B going above,
base/.style = {rounded corners=0.5mm, text=white},
grande/.style = {base, fill=green!60!blue, font=large,
minimum width=87mm, minimum height=8mm,
on chain=B},
peque/.style args = {#1/#2}{base, fill=green!30!black,
minimum width=#1, minimum height= 5mm,
font=#2,
on chain=A},
BC/.style = {decorate,
decoration={calligraphic brace, amplitude=5pt,
pre =moveto, pre length=1pt,
post=moveto, post length=1pt,
raise=5pt}, % for mirroring of brace
very thick,
pen colour=black},
]
node[peque=43mm/scriptsize] (funciones) {F. sintácticas};
node[peque=21mm/scriptsize] {R. temáticos};
node[peque=21mm/scriptsize] {R. semánticos};
node[peque=43mm/large,
above=of funciones] (syntax) {Sintaxis};
node[peque=43mm/large] (semantics) {Semántica};
node[grande,
above=of $(syntax.north)!0.5!(semantics.north)$] {EPA};
node[grande] {Evento};
node[grande] {Oración};
%
draw[BC] (funciones.south west) --
node[left=9pt,font=footnotesize] {Diátesis}
(syntax.north west);
end{tikzpicture}
end{frame}
add a comment |
off-topic (sine your main problem is solved by @JouleV answer), but it can be helpful:
- image is enclosed in
frame
environment (since you usebeamer
document class - for positioning of nodes is used syntax from the
positioning
packages - used are only relative coordinates,
- nodes are in two chains
- in nodes are used only two different font sizes and their definition is moved inside nodes styles
for brace is used
calligraphic brace
defined in the packagecalligraphy
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{tikz}
usetikzlibrary{arrows, automata,
calc, chains,
decorations.pathreplacing,
calligraphy,
positioning}
begin{document}
begin{frame}[fragile]
frametitle{My image}
begin{tikzpicture}[
node distance = 2mm and 1mm,
start chain = A going right,
start chain = B going above,
base/.style = {rounded corners=0.5mm, text=white},
grande/.style = {base, fill=green!60!blue, font=large,
minimum width=87mm, minimum height=8mm,
on chain=B},
peque/.style args = {#1/#2}{base, fill=green!30!black,
minimum width=#1, minimum height= 5mm,
font=#2,
on chain=A},
BC/.style = {decorate,
decoration={calligraphic brace, amplitude=5pt,
pre =moveto, pre length=1pt,
post=moveto, post length=1pt,
raise=5pt}, % for mirroring of brace
very thick,
pen colour=black},
]
node[peque=43mm/scriptsize] (funciones) {F. sintácticas};
node[peque=21mm/scriptsize] {R. temáticos};
node[peque=21mm/scriptsize] {R. semánticos};
node[peque=43mm/large,
above=of funciones] (syntax) {Sintaxis};
node[peque=43mm/large] (semantics) {Semántica};
node[grande,
above=of $(syntax.north)!0.5!(semantics.north)$] {EPA};
node[grande] {Evento};
node[grande] {Oración};
%
draw[BC] (funciones.south west) --
node[left=9pt,font=footnotesize] {Diátesis}
(syntax.north west);
end{tikzpicture}
end{frame}
off-topic (sine your main problem is solved by @JouleV answer), but it can be helpful:
- image is enclosed in
frame
environment (since you usebeamer
document class - for positioning of nodes is used syntax from the
positioning
packages - used are only relative coordinates,
- nodes are in two chains
- in nodes are used only two different font sizes and their definition is moved inside nodes styles
for brace is used
calligraphic brace
defined in the packagecalligraphy
documentclass{beamer}
usetheme{Frankfurt}
setbeamercovered{transparent}
usepackage{tikz}
usetikzlibrary{arrows, automata,
calc, chains,
decorations.pathreplacing,
calligraphy,
positioning}
begin{document}
begin{frame}[fragile]
frametitle{My image}
begin{tikzpicture}[
node distance = 2mm and 1mm,
start chain = A going right,
start chain = B going above,
base/.style = {rounded corners=0.5mm, text=white},
grande/.style = {base, fill=green!60!blue, font=large,
minimum width=87mm, minimum height=8mm,
on chain=B},
peque/.style args = {#1/#2}{base, fill=green!30!black,
minimum width=#1, minimum height= 5mm,
font=#2,
on chain=A},
BC/.style = {decorate,
decoration={calligraphic brace, amplitude=5pt,
pre =moveto, pre length=1pt,
post=moveto, post length=1pt,
raise=5pt}, % for mirroring of brace
very thick,
pen colour=black},
]
node[peque=43mm/scriptsize] (funciones) {F. sintácticas};
node[peque=21mm/scriptsize] {R. temáticos};
node[peque=21mm/scriptsize] {R. semánticos};
node[peque=43mm/large,
above=of funciones] (syntax) {Sintaxis};
node[peque=43mm/large] (semantics) {Semántica};
node[grande,
above=of $(syntax.north)!0.5!(semantics.north)$] {EPA};
node[grande] {Evento};
node[grande] {Oración};
%
draw[BC] (funciones.south west) --
node[left=9pt,font=footnotesize] {Diátesis}
(syntax.north west);
end{tikzpicture}
end{frame}
answered 9 hours ago
ZarkoZarko
129k868169
129k868169
add a comment |
add a comment |
rociorm is a new contributor. Be nice, and check out our Code of Conduct.
rociorm is a new contributor. Be nice, and check out our Code of Conduct.
rociorm is a new contributor. Be nice, and check out our Code of Conduct.
rociorm is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483190%2fhelp-why-does-my-curly-brace-show-as-a-straight-line%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Welcome to the TeX.SE. Please, can you edit your code and can you add the documentclass used? Thank you.
– Sebastiano
11 hours ago
1
@Sebastiano Judging from the second line of the code, I think the OP is using
beamer
.– JouleV
11 hours ago
@JouleV I agree with you. I thinked that beamer could to contain also any options with the brackets .
– Sebastiano
11 hours ago
@JouleV Exactly , it is a beamer presentation. Sorry about that guys! I'll edit now
– rociorm
8 hours ago