Im trying to limit the area that is turned black with my code to just the one line i have text in insted of the now three. But latex is hard i guess.
\documentclass[a4paper, 11pt]{article}
\usepackage{comment} % enables the use of multi-line comments (\ifx \fi)
\usepackage{fullpage} % changes the margin
\usepackage[swedish]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{xcolor}
\usepackage{framed}
\definecolor{shadecolor}{RGB}{0,0,0}
\usepackage{float}
\usepackage{fancyhdr}
\usepackage{enumitem}
\pagestyle{fancy}
\usepackage{pdfpages}
\usepackage{multicol}
%\usepackage[head=128pt]{geometry}
\title{\textsc{Extra Curricular Achievements}}
\author{Erik Jonasson}
\usepackage{geometry}
\setlength{\footskip}{0.1pt}
\setlength{\headheight}{80pt}
\setlength{\topmargin}{0pt}
\setlength\parindent{0pt}
\usepackage{titlesec}
\begin{document}
\newcommand\FUM{5}
\begin{snugshade*}
\noindent\textsc{\section*{\begin{tabular}{c|c}
\color{white}{F18-{\FUM}.1}
& \color{white}{Formalia}
\end{tabular}}}
\end{snugshade*}
\end{document}
snugshade
is. Therefore always provide use with a minimal working example that starts with\documentclass
and ends with\end{document}
, and can be compiled and illustrates the issue. You will see that when doing this you will get much more valuable feedback. – user121799 Jun 6 '19 at 2:06\usepackage{xcolor} \usepackage{framed} \definecolor{shadecolor}{rgb}{0,0,0}
. Additionally,\FUM
is undefined. – leandriis Jun 6 '19 at 9:13