Hola,gracias por las explicaciones de los videos,tengo una duda,como hago para que no aparezca en el documento las citaciones,pero que si se reflejen en la bibliografía.Gracias
Dang! Wish I saw this before I recorded the next video. That’s awesome. I updated the upcoming example online. But the video is already scheduled. This is a good way to do it. Thanks for the comment!
@@nithin.m2675 as of right now, Typst only supports referencing an equation that is in block mode and not in-line. You would have to manually type the numbers and references for in-line equations.
@@nithin.m2675 I think I understand. The way to make the block numbering have that format is to set the numbering style and supplement: set math.equation(numbering: "(1)", supplement: [Eq.]) The way to adjust the in-line reference to that equation to be in parenthesis, (1) for example. Takes a little bit of scripting: // Configure appearance of equation references show ref: it => { let eq = math.equation let el = it.element if el != none and el.func() == eq { // Override equation references. link( el.label, [#el.supplement #numbering( el.numbering, ..counter(eq).at(el.location()) )] ) } else { // Other references as usual. it } } This will make the code pre-pend with the suppliment, add the counter for the equation number in parenthesis. If you don't want the supplement "Eq." you can delete it and and no supplement will be used. hope this helps!
Gracias por tu tiempo amigo. Quisiera saber si hay una forma en typst para alterar la fuente sólo de los digitos numericos. #set text(font: "TeX Gyre Heros") #show math.equation: set text(font: "TeX Gyre Schola Math") $ sum_(k=sans(0))^n k &= sans(1) + ... + n^sans(2) \ &= (n(n+sans(1))) / sans(2) $ como podras ver donde encuentro un digito númerico tengo que colocarle la función sans([content]), y quisiera saber si puedo crear una función para que reconosca los digitos númericos y los ponga en sans-serift.
I will have to look into this. Right now, I’m not sure it’s possible to have separate fonts for numbers and equations; but, I’ll have to look into it more.
Thank you very much.very clear and very useful
This couldn't have come at a better time! I'm thinking about using Typst to write my thesis, and this is exactly what I needed, awesome vid man!
Nicely done. Well structured and informative...
Great video!
Much appreciated!
Great work, will be sharing this around
Great intro video. Thanks!
Hola,gracias por las explicaciones de los videos,tengo una duda,como hago para que no aparezca en el documento las citaciones,pero que si se reflejen en la bibliografía.Gracias
Thank you for this video! Great first access for someone more used to LaTeX. Are you planning on making any more Typst tutorial videos? Thanks
Yes. I will be releasing more soon. Stay tuned. I have more planned. I think I can get one made every three weeks (that’s my goal at least).
@@BamDone Great, thanks a lot for your service
Great video. p.s. Instead of "upright(d)x" in the integral, use "dif x". The former doesn't produce the correct spacing.
Dang! Wish I saw this before I recorded the next video. That’s awesome. I updated the upcoming example online. But the video is already scheduled. This is a good way to do it. Thanks for the comment!
i want to reference also as Equation (1) in the inline text. How can this be done?
@@nithin.m2675 as of right now, Typst only supports referencing an equation that is in block mode and not in-line. You would have to manually type the numbers and references for in-line equations.
@@BamDone Thanks. I mean block equation only. But i want parenthesis around equation number while refering to block equation in an inline text too
@@nithin.m2675 I think I understand. The way to make the block numbering have that format is to set the numbering style and supplement:
set math.equation(numbering: "(1)", supplement: [Eq.])
The way to adjust the in-line reference to that equation to be in parenthesis, (1) for example. Takes a little bit of scripting:
// Configure appearance of equation references
show ref: it => {
let eq = math.equation
let el = it.element
if el != none and el.func() == eq {
// Override equation references.
link(
el.label,
[#el.supplement #numbering(
el.numbering,
..counter(eq).at(el.location())
)]
)
} else {
// Other references as usual.
it
}
}
This will make the code pre-pend with the suppliment, add the counter for the equation number in parenthesis. If you don't want the supplement "Eq." you can delete it and and no supplement will be used.
hope this helps!
@@BamDone one last thing , in line 9, the error says variable el not recognised
Gracias por tu tiempo amigo. Quisiera saber si hay una forma en typst para alterar la fuente sólo de los digitos numericos.
#set text(font: "TeX Gyre Heros")
#show math.equation: set text(font: "TeX Gyre Schola Math")
$
sum_(k=sans(0))^n k
&= sans(1) + ... + n^sans(2) \
&= (n(n+sans(1))) / sans(2)
$
como podras ver donde encuentro un digito númerico tengo que colocarle la función sans([content]), y quisiera saber
si puedo crear una función para que reconosca los digitos númericos y los ponga en sans-serift.
I will have to look into this. Right now, I’m not sure it’s possible to have separate fonts for numbers and equations; but, I’ll have to look into it more.