插入宽框来书写

插入宽框来书写

我有这个 tikz 显示器,我想制作一些类似于minipage每天要写的东西。我不是 tikz 大师。

\documentclass[a5paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{positioning, calendar, shapes.misc}
\usepackage[margin=0.5cm]{geometry}
\begin{document}
\begin{tikzpicture}[%
        inner sep=3 pt,
        dayname/.style={%
            node font=\footnotesize, 
        },
        daynumber/.style={%
            anchor=north east,
            node font=\normalsize\bfseries, 
        },
        activitie/.style={%
            anchor=north east,
            node font=\normalsize, 
        },
        xscale = 10,
        yscale=-3
    ]

    \node (saturday_number) at (-0.1,6) [daynumber] {14};
    \node [base right = 1em of saturday_number, anchor=base west] [dayname] {Sábado};

    \node (sunday_number) at (0.45,6) [daynumber] {15};
    \node [base right = 1em of sunday_number, anchor=base west] [dayname] {Domingo};
    \draw (-0.25,7) -- (0.99,7);

    \node (friday_number) at (-0.1,5) [daynumber] {13};
    \node [base right = 1em of friday_number, anchor=base west] [dayname] {Viernes};
    \draw (-0.25,6) -- (0.99,6);

    \node (thursday_number) at (-0.1,4) [daynumber] {12};
    \node [base right = 1em of thursday_number, anchor=base west] [dayname] {Jueves};
    \draw (-0.25,5) -- (0.99,5);

    \node (wednesday_number) at (-0.1,3) [daynumber] {11};
    \node [base right = 1em of wednesday_number, anchor=base west] [dayname] {Miércoles};
    \draw (-0.25,4) -- (0.99,4);

    \node (tuesday_number) at (-0.1,2) [daynumber] {10};
    \node [base right = 1em of tuesday_number, anchor=base west] [dayname] {Martes};
    \draw (-0.25,3) -- (0.99,3);

    \node (monday_number) at (-0.1,1) [daynumber] {9};
    \node [base right = 1em of monday_number, anchor=base west] [dayname] {Lunes};
    \draw (-0.25,2) -- (0.99,2);
    
    \node (year_number) at (-0.15,1) [anchor = south east, minimum height = 2em] {2022};
    \node [base right = 1em of year_number, anchor=base west, node font=\large] {Diciembre};
    \draw (-0.25,1) -- (0.99,1);

\end{tikzpicture}
\end{document}

谢谢阅读

相关内容