Skip to content

Commit

Permalink
Update test files
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisaga committed Feb 2, 2024
1 parent 6952262 commit a4472e9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 20 deletions.
20 changes: 14 additions & 6 deletions column-div/test/expected.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
<title>Test</title>
<style>
html {
line-height: 1.5;
font-family: Georgia, serif;
font-size: 20px;
color: #1a1a1a;
background-color: #fdfdfd;
}
Expand All @@ -28,13 +25,16 @@
@media (max-width: 600px) {
body {
font-size: 0.9em;
padding: 1em;
padding: 12px;
}
h1 {
font-size: 1.8em;
}
}
@media print {
html {
background-color: white;
}
body {
background-color: transparent;
color: black;
Expand All @@ -60,6 +60,10 @@
img {
max-width: 100%;
}
svg {
height: auto;
max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 1.4em;
}
Expand All @@ -84,9 +88,10 @@
color: #606060;
}
code {
font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
font-size: 85%;
margin: 0;
hyphens: manual;
}
pre {
margin: 1em 0;
Expand Down Expand Up @@ -151,8 +156,11 @@
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
/* The extra [class] is a hack that increases specificity enough to
override a similar rule in reveal.js */
ul.task-list[class]{list-style: none;}
ul.task-list li input[type="checkbox"] {
font-size: inherit;
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
Expand Down
26 changes: 12 additions & 14 deletions column-div/test/expected.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@
\documentclass[
]{article}
\usepackage{amsmath,amssymb}
\usepackage{lmodern}
\usepackage{iftex}
\ifPDFTeX
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
\usepackage{unicode-math}
\usepackage{unicode-math} % this also loads fontspec
\defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
\usepackage{lmodern}
\ifPDFTeX\else
% xetex/luatex font selection
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\IfFileExists{microtype.sty}{% use microtype if available
Expand Down Expand Up @@ -44,7 +47,7 @@
\fi
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\urlstyle{same} % disable monospaced font for URLs
\urlstyle{same}
\hypersetup{
pdftitle={Test},
hidelinks,
Expand All @@ -57,16 +60,14 @@
\begin{document}
\maketitle

\hypertarget{column-div-test}{%
\section{column-div test}\label{column-div-test}}
\section{column-div test}\label{column-div-test}

content\ldots{}

\leavevmode\vadjust pre{\hypertarget{thisdivdoesnothing}{}}%
\phantomsection\label{thisdivdoesnothing}
content\ldots{}

\hypertarget{three-columns}{%
\subsection{Three columns}\label{three-columns}}
\subsection{Three columns}\label{three-columns}

\begin{multicols}{3}

Expand All @@ -78,8 +79,7 @@ \subsection{Three columns}\label{three-columns}}

\end{multicols}

\hypertarget{two-uneven-columns}{%
\subsection{Two uneven columns}\label{two-uneven-columns}}
\subsection{Two uneven columns}\label{two-uneven-columns}

\bigskip

Expand All @@ -101,8 +101,7 @@ \subsection{Two uneven columns}\label{two-uneven-columns}}

\bigskip

\hypertarget{columns-in-columns}{%
\subsection{Columns in columns}\label{columns-in-columns}}
\subsection{Columns in columns}\label{columns-in-columns}

\begin{multicols}{3}

Expand Down Expand Up @@ -168,8 +167,7 @@ \subsection{Columns in columns}\label{columns-in-columns}}

\end{multicols}

\hypertarget{columns-and-colors}{%
\subsection{Columns and Colors}\label{columns-and-colors}}
\subsection{Columns and Colors}\label{columns-and-colors}

\bigskip

Expand Down

0 comments on commit a4472e9

Please sign in to comment.