New answers tagged

2

I propose a solution with tabularx. I also added (automatically) some vertical padding between rows, with the cellspace package: \documentclass[11pt]{scrartcl} \usepackage{fontspec} % for the Swedish chars \usepackage{polyglossia} \setmainlanguage{swedish} \usepackage{fontspec} % for the Swedish chars \setmainfont{Minion Pro} ...


4

LaTeX provides a p{length} specifier for this purpose. With array.sty, you can reduce the amount of repeated code by defining a new column specifier: \documentclass{scrartcl} \usepackage{fontspec} % for the Swedish chars \usepackage{array,booktabs,ragged2e} \newcolumntype{N}[1]{>{\hspace{0pt}\RaggedRight\itshape}p{#1\textwidth}} \begin{document} ...


2

You need to give some indication that the following text is meant to be a numbered paragraph. % nparas.tex (numbered paragraphs) \documentclass{article} \newcounter{np} % numbering your paras \newcommand*{\np}{\refstepcounter{np}\par\noindent\arabic{np}. } \begin{document} \title{A Title} \author{A N Author} \maketitle \np First paragraph. \np Another ...


2

You are inputing the fi as the unicode character U+FB01. Either replace this by "fi" or use inputenc and define a suitable replacement: \documentclass[12pt,a4paper,oneside]{article} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{FB01}{fi} \begin{document} \thispagestyle{empty} \section{Introduction} connectivity, which can be either X-DSL or fiber. ...


1

A bit old, but as I just thought about this problem in another context. You can try this to suppress the parindent even if there is an empty line after the code: \documentclass{article} \usepackage[many]{tcolorbox} \makeatletter \let\@oridoenpe\@doendpe \def\@newdoendpe{% \@endpetrue \def\par{\@restorepar\global\let\@doendpe\@oridoenpe ...


5

As I said in my comment, "The first provides a paragraph break, the second is a forced line break within a paragraph, which is not generally recommended. Since many LaTeX actions are only executed at the end of a paragraph, the seeming small difference in syntax can have a profound appearance on the output." Here are some examples of functional ...



Top 50 recent answers are included