Facebook Page
Twitter
RSS
+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,311
    Thanks
    34,279 times
    Thanked
    31,688 times
    Thank/Post
    2.381
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #11
    You need to wrap any $\LaTeX$ in dollar-sign delimiters, however then an error regarding the matrix m being unrecognized crops up, and I don't see why.

  2. # ADS
    Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many
     

  3. MHB Master
    MHB Site Helper
    Peter's Avatar
    Status
    Offline
    Join Date
    Jun 2012
    Location
    Hobart, Tasmania
    Posts
    2,864
    Thanks
    2,626 times
    Thanked
    895 times
    Awards
    MHB Model User Award (2018)  

MHB Model User Award (2015)  

MHB Model User Award (Jul-Dec 2013)
    #12 Thread Author
    Quote Originally Posted by MarkFL View Post
    You need to wrap any $\LaTeX$ in dollar-sign delimiters, however then an error regarding the matrix m being unrecognized crops up, and I don't see why.


    Thanks Mark ...

    It is a real puzzle ... I did put [MATH] delimiters around the whole of the Latex Text in my most recent post entitled in the Linear and Abstract Algebra forum ...

    Hope someone can figure out what is wrong ...

    All I did was replace I like Serena's numbers with the values of the finite field multiplication table ...

    Remains a mystery what went wrong ...

    ... BUT ... thanks again for your help ...

    Peter

  4. MHB Seeker
    MHB Global Moderator
    MHB Math Scholar
    MHB Coder
    Klaas van Aarsen's Avatar
    Status
    Offline
    Join Date
    Mar 2012
    Location
    Leiden
    Posts
    8,410
    Thanks
    5,440 times
    Thanked
    14,625 times
    Thank/Post
    1.739
    Awards
    MHB Pre-University Math Award (2018)  

MHB Model Helper Award (2017)  

MHB Best Ideas (2017)  

MHB Analysis Award (2017)  

MHB Calculus Award (2017)
    #13
    Quote Originally Posted by Peter View Post
    OK

    I tried this in my post but the multiplication table failed to display ... can anyone see my error


    $ \displaystyle $
    When we put [MATH] tags or \$ symbols around $\LaTeX$, we put latex in so called math mode, so that it's easier to create mathematical formulas.

    With [TIKZ] tags or \begin {tikzpicture} ... \end {tikzpicture} we put it in TikZ mode, so that it's easier to make pictures.
    Unfortunately, that means it's not in math mode.
    So it's complaining about the \times directive that it does not recognize, and more or less suggesting to use \$ symbols.
    We should put \$ symbols around the symbols that should be rendered in math mode.




  5. MHB Seeker
    MHB Global Moderator
    MHB Math Scholar
    MHB Coder
    Klaas van Aarsen's Avatar
    Status
    Offline
    Join Date
    Mar 2012
    Location
    Leiden
    Posts
    8,410
    Thanks
    5,440 times
    Thanked
    14,625 times
    Thank/Post
    1.739
    Awards
    MHB Pre-University Math Award (2018)  

MHB Model Helper Award (2017)  

MHB Best Ideas (2017)  

MHB Analysis Award (2017)  

MHB Calculus Award (2017)
    #14
    Quote Originally Posted by Peter View Post
    Thanks Mark ...

    It is a real puzzle ... I did put [MATH] delimiters around the whole of the Latex Text in my most recent post entitled in the Linear and Abstract Algebra forum ...

    Hope someone can figure out what is wrong ...

    All I did was replace I like Serena's numbers with the values of the finite field multiplication table ...

    Remains a mystery what went wrong ...

    ... BUT ... thanks again for your help ...

    Peter
    I've edited your post to fix the table.
    That is, I've removed the superfluous \$ around it.
    Instead I've put \$ symbols around \times and \theta where they occur.
    And I've increased the minimum width in the matrix to 3em, so that the columns align properly.

  6. MHB Master
    MHB Site Helper
    Peter's Avatar
    Status
    Offline
    Join Date
    Jun 2012
    Location
    Hobart, Tasmania
    Posts
    2,864
    Thanks
    2,626 times
    Thanked
    895 times
    Awards
    MHB Model User Award (2018)  

MHB Model User Award (2015)  

MHB Model User Award (Jul-Dec 2013)
    #15 Thread Author
    Quote Originally Posted by I like Serena View Post
    I've edited your post to fix the table.
    That is, I've removed the superfluous \$ around it.
    Instead I've put \$ symbols around \times and \theta where they occur.
    And I've increased the minimum width in the matrix to 3em, so that the columns align properly.

    Thank you for all your help ...

    Your posts have been exceedingly helpful!!!

    Peter

  7. MHB Seeker
    MHB Global Moderator
    MHB Math Scholar
    MHB Coder
    Klaas van Aarsen's Avatar
    Status
    Offline
    Join Date
    Mar 2012
    Location
    Leiden
    Posts
    8,410
    Thanks
    5,440 times
    Thanked
    14,625 times
    Thank/Post
    1.739
    Awards
    MHB Pre-University Math Award (2018)  

MHB Model Helper Award (2017)  

MHB Best Ideas (2017)  

MHB Analysis Award (2017)  

MHB Calculus Award (2017)
    #16
    My previous TikZ suggestion had the 'problem' that math symbols had to have \$ symbols around them.
    Turns out there is a better way by using a
    matrix of math nodes
    instead of a
    matrix of nodes
    .
    Then all nodes are already in math mode.
    Other than that the solution is the same.

    Latex Code:
    \begin{tikzpicture}
    \usetikzlibrary{matrix}
     
    \matrix (m) [nodes={minimum width=3em,minimum height=3ex},matrix of math nodes]
    {
    \times & 0 & 1 & \theta & \theta + 1 \\
    0 & 0 & 0 & 0 & 0\\
    1 & 0 & 1 & \theta & \theta + 1\\
    \theta & 0 & \theta & \theta + 1 & 1 \\
    \theta + 1  & 0 & \theta + 1 & 1 & \theta \\
    };
     
    \draw[very thick] (m-1-1.north east) -- (m-5-1.south east);
    \draw[very thick] (m-1-1.south west) -- (m-1-5.south east);
    \foreach \x in {2,...,5}{
      \draw (m-1-\x.north east) -- (m-5-\x.south east);
      \draw (m-\x-1.south west) -- (m-\x-5.south east);
    }
    \end{tikzpicture}

Similar Threads

  1. Create a multiplication table program
    By carl123 in forum Computer Science
    Replies: 2
    Last Post: November 11th, 2015, 06:27
  2. Return element
    By evinda in forum Computer Science
    Replies: 7
    Last Post: January 7th, 2015, 18:50
  3. separable element
    By Pratibha in forum Linear and Abstract Algebra
    Replies: 0
    Last Post: December 3rd, 2014, 13:42

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Math Help Boards