Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. documentclass{article}
  2. usepackage{tikz}
  3. begin{document}
  4. usetikzlibrary{matrix}
  5. % The table environment:
  6. newenvironment{matrixtable}[3]{%
  7. begin{tikzpicture}[matrix of nodes/.style={
  8. execute at begin cell=nodebgroupstrut,
  9. execute at end cell=egroup;}]
  10. matrix (m) [matrix of nodes,top color=white!20,
  11. bottom color=white!80,draw=white,
  12. nodes={draw,top color=white!10,bottom color=blue!15,
  13. draw,inner sep=2pt,minimum height=3.1ex},
  14. column sep=1ex,row sep=0.6ex,inner sep=2ex,
  15. rounded corners,column 1/.style={minimum width=#1},
  16. column 2/.style={minimum width=#2},
  17. column 3/.style={minimum width=#3}]}
  18. %
  19. {;end{tikzpicture}}
  20. %
  21.  
  22.  
  23. begin{center}
  24. begin{frame}
  25.  
  26. begin{matrixtable}{7cm}{3cm}{7cm}{
  27. head{Intervalle} & head{Inégalité} & head{Représentation graphique} \
  28. $[a~;~b]text{ fermé }$ & $ ale xle b$ & graph 1 \
  29. $[a~;~b[text{ fermé à gauche, ouvert à droite }$ & $ale x<b $ & graph2 \
  30. $]a~;~b]text{ ouvert à gauche, fermé à droite }$ & $a<xle b$ & graph3\
  31. $]a~;+infty [$ & $x>a$ & graph4 \
  32. $[a~;+infty [$ & $xge a$ & graph5 \
  33. $]-infty;b~ [$ & $x< b$ & graph6 \
  34. $]-infty;b~ ]$ & $xle b$ & graph7 \
  35. }
  36. end{matrixtable}
  37.  
  38. end{frame}
  39. end{center}
  40. end{document}
  41.  
  42. usepackage{tikz}
  43. usetikzlibrary{arrows.meta,decorations.pathreplacing}
  44. begin{document}
  45. begin{tikzpicture}
  46. draw[stealth-stealth] (-6,0) node[below]{$-infty$} -- (6,0) node[below]{$infty$};
  47. draw[very thick,blue,{Bracket[reversed,width=1.2em]}-{Bracket[width=1.2em]}] (-3.05,0) -- (2,0) node[pos=-1/40,above]{$a$} node[pos=29/30,above]{$b$};
  48. end{tikzpicture}
  49. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement