Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

kirbykirby

  • one year ago

Is there a way to draw something like this using LaTeX?

  • This Question is Closed
  1. kirbykirby
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    |dw:1373153808945:dw|

  2. kirbykirby
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    drawing 3 lines like that, with some overbrace ?

  3. SnuggieLad
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Well, here we only have a limited version of latex. The full version is not usable here as the code team didn't see it necessary. It very much is but the didn't feel that way. It is much easer to just use the draw tool. On the full latex you can make lines, graph, etc with only limited codes.

  4. dumbsearch2
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @SnuggieLad Still, this can be done. I've seen other users do it.

  5. SnuggieLad
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Otherwise, you can use things like dashes and underscores and size them up to overlap them.

  6. SnuggieLad
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Yes it can sean.

  7. dumbsearch2
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Similar things like this can be done, even with the current version. http://openstudy.com/study#/updates/51d5f910e4b036b89af6ef69

  8. SnuggieLad
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Its extensively painstaking to do it that way. I can make a chessboard if i wanted to.

  9. SnuggieLad
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    as a matter of fact... \(\huge \color{white}{██} \huge \hspace{-18pt} \color{grey}{♖}██ \huge \hspace{-18pt} \color{white}{♘}\color{white}{██} \huge \hspace{-18pt} \color{grey}{♗}\color{}{█} {█}\huge \hspace{-18pt} \color{white}{♕}\color{white}{██}\huge \hspace{-18pt} \color{grey}{♔}██\huge \hspace{-18pt} \color{white}{♗}\color{white}{██}\huge \hspace{-18pt} \color{grey}{♘}██\huge \hspace{-18pt} \color{white}{♖}\) \(\huge ██\huge \hspace{-18pt} \color{white}{♙}\color{white}{██}\huge \hspace{-18pt} \color{grey}{♙} ██\huge \hspace{-18pt} \color{white}{♙}\color{white}{██}\huge \hspace{-18pt} \color{grey}{♙}██\huge \hspace{-18pt} \color{white}{♙}\color{white}{██}\huge \hspace{-18pt} \color{grey}{♙}██\huge \hspace{-18pt} \color{white}{♙}\color{white}{██}\huge \hspace{-18pt} \color{grey}{♙}\) \(\huge \color{white}{██}██\color{white}{██}██\color{white}{██}██\color{white}{██}██\) \(\huge ██\color{white}{██}██\color{white}{██}██\color{white}{██}██\color{white}{██}\) \(\huge \color{white}{██}██\color{white}{██}██\color{white}{██}██\color{white}{██}██\) \(\huge ██\huge \hspace{-18pt} \color{black}{♟}\color{white}{██}\huge \hspace{-18pt} \color{black}{♟}██\huge \hspace{-18pt} \color{black}{♟}\color{white}{██}\huge \hspace{-18pt} \color{black}{♟}██\huge \hspace{-18pt} \color{black}{♟}\color{white}{██}\huge \hspace{-18pt} \color{black}{♟}██\huge \hspace{-18pt} \color{black}{♟}\color{white}{██}\huge \hspace{-18pt} \color{black}{♟}\) \(\huge \color{white}{██}\huge \hspace{-18pt} \color{black }{♜}██\huge \hspace{-18pt} \color{black}{♞}\color{white}{██}\huge \hspace{-18pt} \color{black}{♝}██\huge \hspace{-18pt} \color{black}{♛}\color{white}{██}\huge \hspace{-18pt} \color{black}{♚}██\huge \hspace{-18pt} \color{black}{♝}\color{white}{██}\huge \hspace{-18pt} \color{black}{♞}██\huge \hspace{-18pt} \color{black }{♜}\)

  10. SnuggieLad
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    (I had that saved to file) See, we can do plenty with latex but the work may be more than its worth.

  11. kirbykirby
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    True^ although I agree it is not really worth the effort for open study, but I am interested in putting such a diagram in a document I am writing up. Is there a website that could help me with that?

  12. hartnn
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    \(ax\underbrace{+b}\) `\(ax\underbrace{+b}\)` like this ?

  13. hartnn
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    \(ax\overbrace{+b}\) or like this ? `\(ax\overbrace{+b}\)`

  14. hartnn
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    i think you are asking about the \overbrace

  15. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 6

    \[%unk \newcommand \p \newcommand \p \h { \hspace{-.4em}- } \p \hhh { \h\h\h } \p \HH { \hspace{-1em}+ } \begin{array}{ccccc}& & &\hspace{-2em}\overbrace{\hspace{6em}} \\ & &\hspace{-2em}\hhh\hhh\hhh &\hspace{-1.5em}\hhh\hhh -- \\ &\,\hspace{-.5em}\h\h\hhh\hhh\hhh &\hspace{-2em}\hhh\hhh\hhh &\hspace{-1.5em}\hhh\hhh -- \\ \hhh\hhh &\hspace{-1.5em}\HH\hhh\hhh\hhh &\hspace{-2em}\HH\hhh\hhh\hhh &\hspace{-2em}\HH-\hhh\hhh-- \\ &\hspace{-7em} x &\hspace{-8.25em}y &\hspace{-9em}x+y \end{array}%unk \]

  16. kirbykirby
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    :o amazing! thank you sooo much :D

  17. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 6

    the method i used is not practical you should probably ``` \usepackage{tkz-fct} ```

  18. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 6

    What are you writing LaTeX on?

  19. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 6

    \[██████████████\\████\\█\]

  20. kirbykirby
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I haven't used that package yet. I am using TeXstudio

  21. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 6

    it looks like TeXStudio is very similar to TeXShop, which is what i use

  22. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 6

    This code is more like what you should use, i have even automated it for you. ``` \documentclass{article} \usepackage[pdftex,active,tightpage]{preview} \setlength\PreviewBorder{1mm} \usepackage{tkz-fct} \newcommand % new commands % parameters % \p \newcommand \p \x { 1 } % x parameter \p \y { 2 } % y parameter \p \z { \x+\y } % x+y \p \w { .6 } % over-hang parameter \p \hx { .5 } % height of middle line \p \hy { 1 } % height of top line \begin{document} % unk \centering \begin{preview} \begin{tikzpicture} \draw (\z+\w,\hy) node[above]{$\overbrace{\hspace{3em}}$} ; % overbrace \draw (\y,\hy) --(\z+\w,\hy) % top line (\x,\hx)--(\z+\w,\hx) ; % middle line \draw (0,0)--(\x,0) node[below]{$x$} --(\y,0) node[below]{$y$} --(\z,0) node[below]{$x+y$} --(\z+\w,0) ; % bottom line \foreach \n in {0,\hx,\hy} \draw[dotted] (\z+\w,\n)--(\z+2*\w,\n) ; % dotted extension \foreach \n in {\x,\y,\z} \draw (\n,.1)--(\n,-.1) ; % vertical markers \end{tikzpicture} \end{preview} \end{document} ```

  23. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 6

    it should print this

    1 Attachment
  24. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    We can get TikZ working? Ooohhhh.... mmmmm....

  25. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Hmmm.... TikZ still does not like me.

  26. dumbsearch2
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    I don't think that it's implemented.

  27. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 6

    Unfortunately TikZ dosen't work on OS . It would be great if it did thought.

  28. kirbykirby
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Oh thanks very much for that. !!

  29. mathslover
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Unkle, awesome work!

  30. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.