Guest User

Untitled

a guest
Feb 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. documentclass{article}
  2.  
  3. usepackage{luatex85}
  4. usepackage{fourier}
  5. usepackage{fontspec}
  6.  
  7. setmainfont{Erewhon}[
  8. Extension=.otf,
  9. UprightFont=*-Regular,
  10. ItalicFont=*-Italic,
  11. BoldFont=*-Bold,
  12. BoldItalicFont=*-BoldItalic,
  13. SlantedFont=*-RegularSlanted,
  14. BoldSlantedFont=*-BoldSlanted,
  15. ]
  16.  
  17. setsansfont{texgyreheros}[
  18. Scale=MatchUppercase,% or MatchLowercase
  19. Extension=.otf,
  20. UprightFont=*-regular,
  21. ItalicFont=*-italic,
  22. BoldFont=*-bold,
  23. BoldItalicFont=*-bolditalic,
  24. ]
  25.  
  26. usepackage{bm,siunitx}
  27.  
  28. sisetup{
  29. unit-mode = text,
  30. locale=FR,
  31. detect-all,% Problème avec euro, utiliser text{€} en mode math
  32. inter-unit-product = ensuremath{{}cdot{}},
  33. group-minimum-digits=4,
  34. text-angstrom={Å},math-angstrom={text{Å}},
  35. text-micro=ensuremath{othermu},
  36. math-micro=othermu,
  37. detect-inline-weight = math
  38. }
  39.  
  40. begin{document}
  41. $num{5} SI{50}{km}$
  42.  
  43. $bm{bob{num{5}num{.1}SI{30}{km}}}$
  44.  
  45. $num{0}<num{.03}<num{.045}<num{.09}<bm{{num{.1}}}$
  46.  
  47. textbf{SI{30}{km}}
  48. end{document}
Add Comment
Please, Sign In to add comment