Skip to content

Commit

Permalink
Add multi-argument example to latexstring docs (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
stillyslalom committed Jun 13, 2020
1 parent 684defa commit 0bfce05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ you might want to use `latexstring` instead of `L"..."` is that only
the former supports [string
interpolation](http://docs.julialang.org/en/latest/manual/strings/#interpolation)
(inserting the values of other variables into your string).
Note that you can supply a mixture of string, LaTeXString, and numeric arguments,
*e.g.* `latexstring("an equation: ", L"1 + \alpha^2 = ", round(pi, digits=3))`


Finally, you can use the lowest-level constructor
`LaTeXString(s)`. The only advantage of this is that it
Expand Down

0 comments on commit 0bfce05

Please sign in to comment.