Multicols e Tabelle

  • Creatore
    Topic
  • #39901
    Up
    0
    Down
    ::


    Ciao, mi chiamo Riccardo, sono diventato da poco un utilizzatore di LaTex e devo dire che lo trovo eccezionale.
    Scrivo per un consiglio riguardo un problema di impaginazione utilizzando il pacchetto multicols.
    Ho la necessità di racchiudere parte del testo in un ambiente simile a quello usato
    per le tabelle (racchiuso fra due linee orizzontali), ed ho pensato di usare l’ambiente tabular. Il problema
    che ho riscontrato è che, essendo lungo il testo da scrivere, mi esce fuori dalla pagina. Ho
    cercato su “L’arte di scrivere…” e su “Una non tanto breve
    introduzione…” ma non sono riuscito a trovare una soluzione. Non sò
    se c’è un metodo più ortodosso per fare quello di cui ho bisogno.
    Ho provato anche ad usare l’opzione ”
    \documentclass[twocolumn]{book}” ma, non è stata risolutiva.
    Se può essere di aiuto io utilizo LaTeX su Mac con Emacs, se non ho
    frainteso credo di usare AUCTeX.

    Grazie

    Riccardo

    Ecco il codice:
    `
    \documentclass[12pt]{book}
    \usepackage{multicol}
    \usepackage[english, italian]{babel}
    \usepackage[utf8]{inputenc}
    \usepackage[T1]{fontenc}
    \usepackage{microtype}
    \usepackage{indentfirst}
    \usepackage{graphicx}
    \usepackage{anysize}
    \usepackage{tabularx}
    \usepackage{booktabs}
    \setlength{\parskip}{12pt}
    \setlength{\parindent}{0pt}
    \marginsize{2cm}{2cm}{2cm}{2cm}
    \usepackage{fancyhdr}
    \pagestyle{fancy}
    \renewcommand{\headrulewidth}{0.2pt}
    \renewcommand{\footrulewidth}{0.2pt}
    \lhead{\tiny{\leftmark}}
    \chead{}
    \rhead { \normalsize \thepage}
    \lfoot{\tiny \ Avventura}
    \date{}
    \title{Avventura}
    \author{Riccardo}

    \begin{document}
    \maketitle
    \tableofcontents

    \begin{multicols}{2}

    \chapter{ALL'AVVENTURA}

    \section{BACKGROUND}
    \par Diobel stands upon the flooded ruins of a former siege town on the western coast of the Isle of Kortos. The inner harbor is fortified by a gigantic maze of derelict war-barges, crumbling break walls, and haphazard jetties constructed from the rubble and iron of ancient fortifications. Only smaller vessels can fit through the maze, so warships and large merchant galleys must anchor further out in the open waters off Kortos. As a formal display, any ships seeking to moor in port must first send ashore representatives to register with local officials. Registered boats receive a temporary harbormaster’s pass, after which they can ship in goods in flat-bottomed barges or rowboats. These crafts are led into the maze, pulled along a series of dock-lined canals that weave through the twisted passages. The maze enters first into the Shallows, a wide bay sheltered from the main harbor. The Shallows then flows beneath the main docks into the Underdocks, a shadowy series of walkways that traverses shoals along the rocky shoreline. Scattered through at various intervals are barnacle-and-algae- crusted stone bunkers and small floating docks concealing rowboats, barges, and other small transports. The bunkers provide shelters to many of the port’s seedier denizens, storage facilities, and on occasion structural stability to the town itself. Ladders and pylons connect the Underdocks to the rest of the port above.\\
    \end{multicols}

    \begin{table*}
    \begin{tabular}{l}
    \toprule
    {\bf FACTION MISSIONS }\\
    \emph{Osirion Faction:} PCs from the Osirion Faction who acquire the nondescript, tarnished bronze key from Du Moire’s person earn 1 Prestige Award.\\
    \emph{Andoran Faction:} PCs from the Andoran faction that recover Du Moire’s signet ring earn 1 Prestige Award. \\
    \emph{Qadira Faction:} PCs from the Qadira faction that obtain the leatherbound manifest log in the harbor guard’s bunker earn 1 Prestige Award. \\
    \emph{Taldor Faction:} PCs from the Taldor faction that obtain a harbormaster’s pass from the guards in Act 2 earn 1 Prestige Award. \\
    \bottomrule
    \end{tabular}
    \end{table*}

    \begin{multicols}{2}
    \section{BACKGROUND}
    \par Diobel stands upon the flooded ruins of a former siege town on the western coast of the Isle of Kortos. The inner harbor is fortified by a gigantic maze of derelict war-barges, crumbling break walls, and haphazard jetties constructed from the rubble and iron of ancient fortifications. Only smaller vessels can fit through the maze, so warships and large merchant galleys must anchor further out in the open waters off Kortos. As a formal display, any ships seeking to moor in port must first send ashore representatives to register with local officials. Registered boats receive a temporary harbormaster’s pass, after which they can ship in goods in flat-bottomed barges or rowboats. These crafts are led into the maze, pulled along a series of dock-lined canals that weave through the twisted passages. The maze enters first into the Shallows, a wide bay sheltered from the main harbor. The Shallows then flows beneath the main docks into the Underdocks, a shadowy series of walkways that traverses shoals along the rocky shoreline. Scattered through at various intervals are barnacle-and-algae- crusted stone bunkers and small floating docks concealing rowboats, barges, and other small transports. The bunkers provide shelters to many of the port’s seedier denizens, storage facilities, and on occasion structural stability to the town itself. Ladders and pylons connect the Underdocks to the rest of the port above.
    \end{multicols}

    \end{document}
    `

Visualizzazione 1 filone di risposte
  • Autore
    Risposte
    • #39902
      Up
      0
      Down
      ::


      sul numero due di ArsTexnica che puoi trovare qui: http://www.guit.sssup.it/arstexnica/ c’è un articolo sulle tabelle che ho trovato molto interessante. Potresti darci un’occhiata, secondo me trovi la soluzione.
      ciao

      PS: non guardare i primi link che richiedono autenticazione, vai in fondo alla pagina e troverai i numeri liberamente scaricabili.

    • #39903
      Up
      0
      Down
      ::


      Grazie del consiglio! Leggendo l’articolo sono riuscito a risolvere il mio problema 😀

Visualizzazione 1 filone di risposte
  • Devi essere connesso per rispondere a questo topic.

Go to top