#Get rid of weird horizontal spacing between texts

1 messages · Page 1 of 1 (latest)

stoic sentinel
#

Preamble:

\documentclass[a4]{article}
\usepackage[landscape]{geometry}
\usepackage{url,multicol}
\usepackage{multicol}
\usepackage{amsmath}
\usepackage{esint}
\usepackage{bigints}
\usepackage{amsfonts}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.pathmorphing}
\usepackage{amsmath,amssymb}

\usepackage{colortbl}
\usepackage{xcolor}
\usepackage{mathtools}
\usepackage{amsmath,amssymb}
\usepackage{enumitem}
\usepackage{xhfill}
\makeatletter

\newcommand*\bigcdot{\mathpalette\bigcdot@{.5}}
\newcommand*\bigcdot@[2]{\mathbin{\vcenter{\hbox{\scalebox{#2}{$\m@th#1\bullet$}}}}}
\makeatother

\usepackage[brazilian]{babel}
\usepackage[utf8]{inputenc}

\advance\topmargin-.8in
\advance\textheight3in
\advance\textwidth3in
\advance\oddsidemargin-1.5in
\advance\evensidemargin-1.5in
\parindent0pt
\parskip2pt
\newcommand{\hr}{\centerline{\rule{3.5in}{1pt}}}

\newcommand{\nc}[2][]{
\tikz \draw [draw=black, ultra thick, #1]
    ($(current page.center)-(0.5\linewidth,0)$) -- 
    ($(current page.center)+(0.5\linewidth,0)$)
    node [midway, fill=white] {#2};
}
#

Document body:

\begin{tikzpicture}
\node [mybox] (box){
    \begin{minipage}{0.3\textwidth}
\textbf{Physical Processes}:
\vspace*{-0.2cm}
\begin{multicols*}{2}
\begin{itemize}[leftmargin=*]
\addtolength{\itemsep}{-6pt}

\item \textbf{Filtration}: based on particle size.
\item \textbf{Centrifugation}: based on particle densities.
\item \textbf{Drying}: based on water changes.
\item \textbf{Crystallization}: based on phase changes.
\item \textbf{Chromatography}: based on speeds of particles

\end{itemize}
\end{multicols*}

\vspace*{-0.3cm}
\hrulefill
\vspace*{0.1cm}

\textbf{Both Physical \& Chemical Processes}:
\vspace*{-0.2cm}
\begin{multicols*}{2}
\raggedcolumns

\begin{itemize}[leftmargin=*]
\addtolength{\itemsep}{-6pt}

\item \textbf{Mixing}: can either alter compositions or not.
\item \textbf{Homogenisation}: chemical or physical treatment.
\item \textbf{Adsorption}: physiochemical treatment.
\item \textbf{Solvent extraction}: chemical or physical treatment.
 
 \end{itemize}
\end{multicols*}
    \end{minipage}
};

\node[fancytitle, right=10pt] at (box.north west) {Categories of CUO};
\end{tikzpicture}
hard karmaBOT
#

watislife
Compile Error! Click the errors reaction for more information.
(You may edit your message to recompile.)

#

watislife

LaTeX source sent via direct message.
```Compilation error:```! Package pgfkeys Error: I do not know the key '/tikz/mybox' and I am going to 
ignore it. Perhaps you misspelled it.

See the pgfkeys package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.50 \node [mybox]
                   (box){
This error message was generated by an \errmessage
command, so I can't give any explicit help.```