Text FormattingColored Dotted Page

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Jabavi521
Posts: 2
Joined: Mon Nov 11, 2019 11:42 pm

Colored Dotted Page

Post by Jabavi521 »

Hello,
I can't figure out the syntax for a colored dotted page. For instance - bullet journals are a page of dots but in black. What syntax do I use to change the color of the dots to say, light blue? This is for a full page. I have this, but I don't know how to change the color of the dots to a different color. Please help!

Code: Select all

\documentclass{article}
\pagenumbering{gobble}
\usepackage[landscape, margin=0.2in]{geometry}  
\usepackage{tikz}
\begin{document}
  \begin{tikzpicture}[scale=.6]
    \foreach \x in {0,...,43}
    \foreach \y in {0,...,34}
    {
  \fill (\x,\y) circle (0.03cm);
    }       
  \end{tikzpicture}
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Colored Dotted Page

Post by Stefan Kottwitz »

Hello,

welcome to the forum!

You provided a very good minimal example, easy to test, thanks. You can use a color option (10% blue here):

Code: Select all

\fill [color=blue!10] (\x,\y) circle (0.03cm);
Stefan
LaTeX.org admin
Jabavi521
Posts: 2
Joined: Mon Nov 11, 2019 11:42 pm

Colored Dotted Page

Post by Jabavi521 »

Hi Stefan,
Thank you for your reply! I'm very newbie in this so you'll have to excuse my simplistic questions.

I tried the code and was not able to generate anything on the page? it turns out blank so i must be doing something in correctly. Where did I go wrong?
Attachments
Capture.JPG
Capture.JPG (74.64 KiB) Viewed 2115 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Colored Dotted Page

Post by Stefan Kottwitz »

Perhaps check the .log file, the logging output of the LaTeX run. And if the output was pushed to the next page in case it was bigger than the page.

Stefan
LaTeX.org admin
Post Reply