Results 1 to 6 of 6

Thread: Resize dell'ambiente "algorithmic" in latex

  1. #1
    Lieutenant Commander Axet's Avatar
    Join Date
    Sep 2003
    Location
    Ginevra
    Posts
    33.807

    Default Resize dell'ambiente "algorithmic" in latex

    CDT.

    E' possibile? Ho messo uno pseudocodice che mi sballa completamente il testo. I vari h, b, t, H, h! non servono a una sega sballa tutto cmq (in maniere più o meno diverse). La soluzione sarebbe ridurre la dimensione del listato, il problema è che non riesco a trovare un modo e anche googlando non ho trovato una ceppa.. al che mi sta venendo il dubbio che non sia possibile. Il che non è contemplabile per il mio fegato.

    I'm no hero. Never was. Never will be.
    -----
    Soul of the mind, key to life's ether
    Soul of the lost, withdrawn from its vessel
    May strength be granted so the world might be mended...
    So the world might be mended...

  2. #2
    Lieutenant Commander Axet's Avatar
    Join Date
    Sep 2003
    Location
    Ginevra
    Posts
    33.807

    Default

    Per capirci con "mi sballa tutto" intendo che saltano fuori cose del genere:

    Name:  Schermata 2012-01-05 a 16.24.39.jpg
Views: 126
Size:  14,1 KB



    I'm no hero. Never was. Never will be.
    -----
    Soul of the mind, key to life's ether
    Soul of the lost, withdrawn from its vessel
    May strength be granted so the world might be mended...
    So the world might be mended...

  3. #3
    Hador's Avatar
    Join Date
    Mar 2004
    Location
    Milano
    Posts
    31.321

    Default

    non usare algorithmic
    Usa listings se vuoi mettere del codice.

  4. #4
    Lieutenant Commander Axet's Avatar
    Join Date
    Sep 2003
    Location
    Ginevra
    Posts
    33.807

    Default

    Mo guardo che differenza c'è tra i due

    edit:
    ok controllato. E' orrenda la formattazione di listings
    Io vorrei mantenere lo stesso layout di algorithmic

    riedit:
    mi va bene anche un modo per ridurre il font in modo tale che il listato risulta essere più piccolo.. qualsiasi metodo che, alla fin della fiera, mi rende l'intero listato di dimensione inferiore è ben accetto
    Last edited by Axet; 5th January 2012 at 19:47.

    I'm no hero. Never was. Never will be.
    -----
    Soul of the mind, key to life's ether
    Soul of the lost, withdrawn from its vessel
    May strength be granted so the world might be mended...
    So the world might be mended...

  5. #5
    Hador's Avatar
    Join Date
    Mar 2004
    Location
    Milano
    Posts
    31.321

    Default

    in listings puoi impostarti tutto quel che vuoi quindi problemi di formattazione non ce ne stanno, algo non lo ho mai usato. In ogni caso se incapsuli tutto dentro uno /small o /scriptsize dovrebbe rimpicciolirti il tutto

  6. #6
    Lieutenant Commander Axet's Avatar
    Join Date
    Sep 2003
    Location
    Ginevra
    Posts
    33.807

    Default

    \scriptsize ha funzionato

    Thanks

    I'm no hero. Never was. Never will be.
    -----
    Soul of the mind, key to life's ether
    Soul of the lost, withdrawn from its vessel
    May strength be granted so the world might be mended...
    So the world might be mended...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[Output: 58.61 Kb. compressed to 49.66 Kb. by saving 8.95 Kb. (15.27%)]