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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
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 2360 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
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