Latex sample page/lcode

From About PCs Wiki
Jump to navigation Jump to search
\documentclass[11pt,a4paper]{article}
\usepackage[english]{babel}
\usepackage{blindtext,multicol,fancyhdr,graphicx,lipsum,minibox,fontspec,anyfontsize,rotating,wrapfig,ragged2e,color}
\usepackage[T1]{fontenc}

\newfontfamily\arial{Arial}

\usepackage[margin=1.5cm,top=2cm,nomarginpar,nofoot,headheight=.5cm,headsep=.5cm]{geometry}

\fancyhead{}
\fancyfoot{}
\renewcommand{\headrulewidth}{1pt}
\pagestyle{fancy}
\fancyhf{}
\rhead{16}
\lhead{example text headline}

\begin{document}
\noindent
\begin{center}
	\arial\textbf{\Huge Huge Header Arial}
\end{center}
\textbf{\LaTeX Standardfont}	
\blindtext \par
\begin{wrapfigure}{R}{0.3\textwidth}
	\centering
\includegraphics[width=0.25\textwidth,height=9cm]{example-image}
\end{wrapfigure}
\arial
\textbf{Arial}
\blindtext
\par
\sffamily
\textbf{\LaTeX SansSerif}
\blindtext
\par
\vspace{1em}
\ttfamily
\textbf{\LaTeX Typewriter flushleft footnotesize}
\begin{flushleft}
	{\footnotesize \blindtext}
\end{flushleft}
\normalfont
\par
\textbf{\LaTeX Standardfont ragged right}
\begin{RaggedRight}
	\blindtext
\end{RaggedRight}
\end{document}