mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Blogorrhea > science_man_88

Closed Thread
 
Thread Tools
Old 2018-12-27, 01:14   #1
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default You might be reading the LaTeX wiki pdf too much when...

Code:
\color{cyan}{\foreach \n in {a,b,c,d,e,f,g,h,i,j,k,l,m}{
\foreach  \i  in {a,b,c,d,e,f,g,h,i,j,k,l,m}{\!\!\rule[0pt]{\baselineskip}{0.5pt}
\begin{rotate}{90}\rule[15pt]{\baselineskip}{0.5pt}\end{rotate}}\\}
}
generated a grid for fun.
science_man_88 is offline  
Old 2018-12-27, 08:39   #2
Nick
 
Nick's Avatar
 
Dec 2012
The Netherlands

2×7×103 Posts
Default

Nice!
Have you tried tikz already?

Code:
\usepackage{tikz}
Nick is offline  
Old 2018-12-27, 11:38   #3
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by Nick View Post
Nice!
Have you tried tikz already?

Code:
\usepackage{tikz}
yeah my example used tikz, mathtools, rotating, and xcolor, trying to add labeling is a pain though.
science_man_88 is offline  
Old 2018-12-27, 14:43   #4
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Code:
\begin{tikzpicture}
\foreach \n in {1,2,3,4,5,6,7,8,9}{
\foreach \i in {1,2,3,4,5,6,7,8,9}{
\draw[cyan] (\n\baselineskip,\i+1\baselineskip)
--(\n\baselineskip,\i\baselineskip) node{\tiny(\n,\i)}
--(\n+1\baselineskip,\i\baselineskip);
}}
\end{tikzpicture}
only went up to 9 because even then theres overlap of node labeling. I'll Admit I looked it up in the manual.

Last fiddled with by science_man_88 on 2018-12-27 at 14:45
science_man_88 is offline  
Old 2018-12-31, 20:32   #5
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Code:
\count255=1
\loop
\foreach \n in {\section ,\subsection ,\Thm }
\n{};
\ifnum\count255 < 255
\advance\count255 by 1
\repeat
basically other than a proper list of each and a way to map it to the proper ordering of things all you need on top of autonumbering and a few cool packages.
science_man_88 is offline  
Closed Thread

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Latex searcher ? science_man_88 science_man_88 2 2018-07-21 17:11
being able to use a latex package wildrabbitt Software 7 2018-01-12 19:46
How to Latex thread jinydu Forum Feedback 2 2007-05-02 11:44
LATex Documents Numbers Lounge 8 2005-12-31 09:33
Could we use LaTeX in this forum some day ? T.Rex Forum Feedback 5 2005-08-29 19:45

All times are UTC. The time now is 06:01.

Thu Oct 1 06:01:45 UTC 2020 up 21 days, 3:12, 0 users, load averages: 1.73, 1.71, 1.67

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.