tcolorbox 中的笔记本纸;正确对齐文本

tcolorbox 中的笔记本纸;正确对齐文本

我找到了这个旧帖我很喜欢它的外观。我想在我正在创建的工作表上使用它,但文本与 tcolorbox 中创建的线条没有正确对齐。

\documentclass[11pt,oneside,a4paper]{article}
\usepackage[margin=1in]{geometry}
\usepackage{tikz-cd}
\usepackage{enumitem}
\usepackage{fancyhdr}
\fancyhf{} % sets both header and footer to nothing
\renewcommand{\headrulewidth}{0pt}
\usepackage{fourier-orns}
\pagestyle{fancy}
\fancyhead[L,C]{}
\newcommand\descitem[1]{\item{\bfseries #1}\\}
\renewcommand\headrule{%
\hrulefill
\raisebox{-2.1pt}
{\quad\decofourleft\decotwo\decofourright\quad}%
\hrulefill}

\usepackage[most]{tcolorbox}
\usepackage{lmodern}
\usepackage{blindtext}
\usepackage{calc}

\newtcolorbox{notebook}{valign lower=top,
    enhanced,
    breakable,
    colback=blue!10,
    colframe=blue!65!black,
    left=.7in,
    underlay={%
        \begin{tcbclipinterior}
        %\shade[inner color=green!80!yellow,outer color=yellow!10!white]
%(interior.north west) circle (2cm);
        \draw[help lines, ystep=\baselineskip, xstep=\linewidth, 
            shift={(interior.north west)}](interior.south west) grid (interior.north east);
        \draw[help lines] ([xshift=.5in]interior.north west)--
            ([xshift=.5in]interior.south west);
        \end{tcbclipinterior}}
    }

\usepackage{lineno}



\begin{document}
\begin{center}
\LARGE{Prepare Your Curriculum Vitae}
\end{center}


\begin{enumerate}[wide, labelwidth=!,labelindent=0pt, leftmargin=0em, label=\arabic*, itemsep=1.2cm, parsep=0pt, font=\large\color{red}]

\item[\huge{$1$}]\LARGE{\underline{Introduction}}

\item \large{Why are you writing a curriculum vitae?}
\begin{notebook}
\blindtext[1]
\end{notebook}
\item \large{Describe your feelings as you begin this process.}
\item \large{The preparation for writing a curriculum vitae can engender feelings of self-analysis and self-evaluation. Describe your responses to these forms of reflection.}
\item \large{It is essential that you confront any uneasiness, discomfort, or negative feelings you have about your background. Write them down and tehn set them aside. Do not dwell on them.}
\item \large{List your strengths and document each with an experience in which you take great pride.}
\item \large{Find out what skills, knowledge, and experience are needed for the job.}
\item \large{Create a list of questions to ask about the job.}


\end{enumerate}
\vspace{.5cm}
\end{document}

有任何解决这个问题的方法吗?

編輯文件

我相信我可以通过将所有文本向上移动一定量来做到这一点,但我不知道如何从文档.第 39 页。

彩色盒子

答案1

经过一些测试,边缘的一点变化bottom使得

在此处输入图片描述

\documentclass[11pt,oneside,a4paper]{article}
\usepackage[margin=1in]{geometry}
\usepackage{tikz-cd}
\usepackage{enumitem}
\usepackage{fancyhdr}
\fancyhf{} % sets both header and footer to nothing
\renewcommand{\headrulewidth}{0pt}
\usepackage{fourier-orns}
\pagestyle{fancy}
\fancyhead[L,C]{}
\newcommand\descitem[1]{\item{\bfseries #1}\\}
\renewcommand\headrule{%
\hrulefill
\raisebox{-2.1pt}
{\quad\decofourleft\decotwo\decofourright\quad}%
\hrulefill}

\usepackage[most]{tcolorbox}
\usepackage{lmodern}
\usepackage{blindtext}
\usepackage{calc}

\newtcolorbox{notebook}{valign lower=top,
    enhanced,
    breakable,
    colback=blue!10,
    colframe=blue!65!black,
    left=.7in,
    bottom=2.75mm,
    underlay={%
        \begin{tcbclipinterior}
        %\shade[inner color=green!80!yellow,outer color=yellow!10!white]
%(interior.north west) circle (2cm);
        \draw[help lines, ystep=\baselineskip, xstep=\linewidth, 
             ](interior.north west) grid (interior.south east);
        \draw[help lines] ([xshift=.5in]interior.north west)--
            ([xshift=.5in]interior.south west);
        \end{tcbclipinterior}}
    }

\usepackage{lineno}



\begin{document}
\begin{center}
\LARGE{Prepare Your Curriculum Vitae}
\end{center}


\begin{enumerate}[wide, labelwidth=!,labelindent=0pt, leftmargin=0em, label=\arabic*, itemsep=1.2cm, parsep=0pt, font=\large\color{red}]

\item[\huge{$1$}]\LARGE{\underline{Introduction}}

\item \large{Why are you writing a curriculum vitae?}
\begin{notebook}
\blindtext[1]
\end{notebook}
\item \large{Describe your feelings as you begin this process.}
\item \large{The preparation for writing a curriculum vitae can engender feelings of self-analysis and self-evaluation. Describe your responses to these forms of reflection.}
\item \large{It is essential that you confront any uneasiness, discomfort, or negative feelings you have about your background. Write them down and tehn set them aside. Do not dwell on them.}
\item \large{List your strengths and document each with an experience in which you take great pride.}
\item \large{Find out what skills, knowledge, and experience are needed for the job.}
\item \large{Create a list of questions to ask about the job.}


\end{enumerate}
\vspace{.5cm}
\end{document}

相关内容