LaTeX forum ⇒ Text FormattingRotating a big text in a page.

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Rotating a big text in a page.

Postby latexforever » Sat Aug 08, 2009 2:39 pm

Hello. I want to rotate by 180° a big text in a document, but everything on the page of the text is rotated, except the text.

It is a problem. Here is a MWE:

  1. \documentclass[10pt]{article}
  2. \usepackage{boxedminipage}
  3. \usepackage[latin1]{inputenc}
  4. \usepackage{graphics}
  5.  
  6.  
  7. \begin{document}
  8. Dummy sentence.
  9.  
  10.  
  11. \rotatebox{180}{
  12. \begin{boxedminipage}{\textwidth}
  13. \tiny
  14. On traite différents cas:
  15. \begin{enumerate}
  16. \item Nous sommes aujourd'hui samedi. Si l'on considère bien que l'on est le jour que nous sommes (ce qui est assez conventionnel), hier était \textit{vendredi}. Or après-demain est dit comme étant hier. Dès lors, après-demain est vendredi. Le jour fictif correspond donc à mercredi. Il faut $1+1+1+1=4$ jours pour atteindre dimanche (inclus). Maintenant, on considère qu'avant-hier était demain. Or, si l'on est toujours samedi, avant-hier est jeudi. Si avant-hier est demain, nous sommes mercredi, de sorte qu'il faut encore $4$ jours pour atteindre dimanche (inclus);
  17. \item Nous sommes aujourd'hui samedi. Si l'on considère bien que l'on est le jour que nous sommes (ce qui est assez conventionnel), après-demain sera \textit{lundi}. On sait donc, pour le jour fictif, que hier est lundi, puisque hier est après-demain. Dès lors, on ne peut qu'être mardi. Il faut $1+1+1+1+1=5$ jours pour atteindre dimanche. On sait qu'avant-hier, par définition, est demain. Or, si l'on est toujours samedi, avant-hier est jeudi. Si avant-hier est demain, nous sommes mercredi, de sorte qu'il faut $4$ jours pour atteindre dimanche (inclus). Les deux jours différant, le problème n'est pas résoluble;
  18. \item Nous sommes aujourd'hui samedi. Si l'on considère bien que l'on est le jour que nous sommes (ce qui est assez conventionnel), après-demain sera \textit{lundi}. On sait donc, pour le jour fictif, que hier est lundi, puisque hier est après-demain. Dès lors, on ne peut qu'être mardi. Il faut $1+1+1+1+1=5$ jours pour atteindre dimanche. On sait qu'avant-hier, par définition, est demain. Or, si l'on est toujours samedi, demain est vendredi. Si avant-hier est demain, avant-hier est vendredi, de sorte que nous sommes dimanche. Les deux jours différant, le problème n'est pas résoluble;
  19. \item Nous sommes aujourd'hui samedi. Si l'on considère bien que l'on est le jour que nous sommes (ce qui est assez conventionnel), hier était \textit{vendredi}. Or après-demain est dit comme étant hier. Dès lors, après-demain est vendredi. Le jour fictif correspond donc à mercredi. Il faut $1+1+1+1=4$ jours pour atteindre dimanche (inclus). Maintenant, on considère qu'avant-hier était demain. Or, si l'on est toujours samedi, demain est dimanche. Avant-hier est donc dimanche, de sorte que nous sommes mardi. Les deux jours différant, le problème n'est pas résoluble.
  20. \end{enumerate}
  21. \end{boxedminipage}
  22. }
  23. \normalsize
  24.  
  25. \end{document}


Thanks for any help.

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Sat Aug 08, 2009 2:50 pm

Works fine for me. Perhaps a problem of the viewer. Create one page filled with normal text before this one and check the behaviour.


Best regards
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Postby latexforever » Sat Aug 08, 2009 3:35 pm

Normal text works. Okay, I put the output at http://www.student.montefiore.ulg.ac.be/~merciadri/mwe.pdf

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Sat Aug 08, 2009 4:14 pm

I compiled your MWE as provided on my Linux system (TL2008) and it works fine for me.
  1. *File List*
  2. article.cls 2005/09/16 v1.4f Standard LaTeX document class
  3. size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
  4. boxedminipage.sty
  5. inputenc.sty 2006/05/05 v1.1b Input encoding file
  6. latin1.def 2006/05/05 v1.1b Input encoding file
  7. graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  8. trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
  9. graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  10. pdftex.def 2008/07/16 v0.04k Graphics/color for pdfTeX
  11. supp-pdf.tex
  12. omscmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
  13. ***********
Attachments
rotate-prblm.pdf
(22.52 KiB) Downloaded 160 times
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Postby latexforever » Sat Aug 08, 2009 7:37 pm

localghost wrote:I compiled your MWE as provided on my Linux system (TL2008) and it works fine for me.

I do not understand why it does not work at my compilation. Is my .pdf file ``bad'' (i.e. not as I want it to be) on your computer?

I've noticed that it works when the text is shorter.

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Sat Aug 08, 2009 7:49 pm

I think that some things would help to get closer to the probable cause.

  • The LaTeX distribution
  • The compilation route
  • The list of used files

The last point needs the \listfiles command in the preamble.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Postby latexforever » Sat Aug 08, 2009 8:05 pm

localghost wrote:I think that some things would help to get closer to the probable cause.

  • The LaTeX distribution
  • The compilation route
  • The list of used files

The last point needs the \listfiles command in the preamble.


How can I manage to learn these pieces of info?

Here is the log:

  1. LaTeX2e <2005/12/01>
  2. Babel <v3.8h> and hyphenation patterns for english, dumylang, nohyphenation, ge
  3. rman, ngerman, french, loaded.
  4. ("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
  5. Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
  6. ("C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo"
  7. File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
  8. )
  9. \c@part=\count79
  10. \c@section=\count80
  11. \c@subsection=\count81
  12. \c@subsubsection=\count82
  13. \c@paragraph=\count83
  14. \c@subparagraph=\count84
  15. \c@figure=\count85
  16. \c@table=\count86
  17. \abovecaptionskip=\skip41
  18. \belowcaptionskip=\skip42
  19. \bibindent=\dimen102
  20. )
  21. ("C:\Program Files\MiKTeX 2.7\tex\latex\ltxmisc\boxedminipage.sty")
  22. ("C:\Program Files\MiKTeX 2.7\tex\latex\base\inputenc.sty"
  23. Package: inputenc 2006/05/05 v1.1b Input encoding file
  24. \inpenc@prehook=\toks14
  25. \inpenc@posthook=\toks15
  26.  
  27. ("C:\Program Files\MiKTeX 2.7\tex\latex\base\latin1.def"
  28. File: latin1.def 2006/05/05 v1.1b Input encoding file
  29. ))
  30. ("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\graphics.sty"
  31. Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  32.  
  33. ("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\trig.sty"
  34. Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
  35. )
  36. ("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\graphics.cfg"
  37. File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  38. )
  39. Package graphics Info: Driver file: dvips.def on input line 90.
  40.  
  41. ("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\dvips.def"
  42. File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
  43. )) (mwe.aux)
  44. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 7.
  45. LaTeX Font Info: ... okay on input line 7.
  46. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 7.
  47. LaTeX Font Info: ... okay on input line 7.
  48. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 7.
  49. LaTeX Font Info: ... okay on input line 7.
  50. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 7.
  51. LaTeX Font Info: ... okay on input line 7.
  52. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 7.
  53. LaTeX Font Info: ... okay on input line 7.
  54. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 7.
  55. LaTeX Font Info: ... okay on input line 7.
  56. LaTeX Font Info: External font `cmex10' loaded for size
  57. (Font) <7> on input line 34.
  58. LaTeX Font Info: External font `cmex10' loaded for size
  59. (Font) <5> on input line 34.
  60.  
  61. Overfull \hbox (21.66666pt too wide) in paragraph at lines 34--36
  62. [][][]
  63. []
  64.  
  65. [1
  66.  
  67. ] (mwe.aux) )
  68. Here is how much of TeX's memory you used:
  69. 475 strings out of 95341
  70. 5281 string characters out of 1184182
  71. 51328 words of memory out of 1500000
  72. 3725 multiletter control sequences out of 110000
  73. 3640 words of font info for 14 fonts, out of 1200000 for 2000
  74. 14 hyphenation exceptions out of 8191
  75. 23i,7n,19p,629b,119s stack positions out of 5000i,500n,10000p,200000b,5000s
  76.  
  77. Output written on mwe.dvi (1 page, 564 bytes).


Here are the packages:

  1. *File List*
  2. article.cls 2005/09/16 v1.4f Standard LaTeX document class
  3. size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
  4. boxedminipage.sty
  5. inputenc.sty 2006/05/05 v1.1b Input encoding file
  6. latin1.def 2006/05/05 v1.1b Input encoding file
  7. graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  8. trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
  9. graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  10. dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
  11. ***********

(I am trying it on Windows XP.)

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Sat Aug 08, 2009 9:12 pm

First of all you should be aware of some important things.

  • The log file is incomplete. At least the first five lines are missing.
  • You should know which LaTeX distribution you are using. It is MiKTeX.
  • You should also know that your compilation route is LaTeX -> DVI -> PS -> PDF.

The cause of the problem is the conversion from PS to PDF. Compiling and converting this way I can comprehend the problem. At the moment I have no explanation for that. I compiled with pdflatex directly to PDF right from the beginning and it worked. Conversion from DVI to PDF with dvipdfmx works also for me.

You better upload complete log files as attachment to make sure that no important information can get lost.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Postby latexforever » Mon Aug 10, 2009 6:14 pm

localghost wrote:The log file is incomplete. At least the first five lines are missing.

Yes, but are they relevant? I should have specified that it was a part of the log.
localghost wrote:You should know which LaTeX distribution you are using. It is MiKTeX.

You should also know that your compilation route is LaTeX -> DVI -> PS -> PDF.

I didn't now that it was what you call ``the compilation route.'' However, I know this route.

Thanks for keeping me learning.

localghost wrote:The cause of the problem is the conversion from PS to PDF. Compiling and converting this way I can comprehend the problem. At the moment I have no explanation for that. I compiled with pdflatex directly to PDF right from the beginning and it worked. Conversion from DVI to PDF with dvipdfmx works also for me.

Thanks. Clear explanation. There are sometimes some weird things which happen when using this route.

localghost wrote:You better upload complete log files as attachment to make sure that no important information can get lost.

Here it is:
  1. This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (preloaded format=latex 2008.8.29) 8 AUG 2009 20:09
  2. entering extended mode
  3. **mwe.tex
  4. (mwe.tex
  5. LaTeX2e <2005/12/01>
  6. Babel <v3.8h> and hyphenation patterns for english, dumylang, nohyphenation, ge
  7. rman, ngerman, french, loaded.
  8. ("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
  9. Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
  10. ("C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo"
  11. File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
  12. )
  13. \c@part=\count79
  14. \c@section=\count80
  15. \c@subsection=\count81
  16. \c@subsubsection=\count82
  17. \c@paragraph=\count83
  18. \c@subparagraph=\count84
  19. \c@figure=\count85
  20. \c@table=\count86
  21. \abovecaptionskip=\skip41
  22. \belowcaptionskip=\skip42
  23. \bibindent=\dimen102
  24. )
  25. ("C:\Program Files\MiKTeX 2.7\tex\latex\ltxmisc\boxedminipage.sty")
  26. ("C:\Program Files\MiKTeX 2.7\tex\latex\base\inputenc.sty"
  27. Package: inputenc 2006/05/05 v1.1b Input encoding file
  28. \inpenc@prehook=\toks14
  29. \inpenc@posthook=\toks15
  30.  
  31. ("C:\Program Files\MiKTeX 2.7\tex\latex\base\latin1.def"
  32. File: latin1.def 2006/05/05 v1.1b Input encoding file
  33. ))
  34. ("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\graphics.sty"
  35. Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  36.  
  37. ("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\trig.sty"
  38. Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
  39. )
  40. ("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\graphics.cfg"
  41. File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  42. )
  43. Package graphics Info: Driver file: dvips.def on input line 90.
  44.  
  45. ("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\dvips.def"
  46. File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
  47. )) (mwe.aux)
  48. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8.
  49. LaTeX Font Info: ... okay on input line 8.
  50. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8.
  51. LaTeX Font Info: ... okay on input line 8.
  52. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8.
  53. LaTeX Font Info: ... okay on input line 8.
  54. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8.
  55. LaTeX Font Info: ... okay on input line 8.
  56. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8.
  57. LaTeX Font Info: ... okay on input line 8.
  58. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8.
  59. LaTeX Font Info: ... okay on input line 8.
  60. LaTeX Font Info: External font `cmex10' loaded for size
  61. (Font) <7> on input line 35.
  62. LaTeX Font Info: External font `cmex10' loaded for size
  63. (Font) <5> on input line 35.
  64.  
  65. Overfull \hbox (21.66666pt too wide) in paragraph at lines 35--37
  66. [][][]
  67. []
  68.  
  69. [1
  70.  
  71. ] (mwe.aux)
  72.  
  73. *File List*
  74. article.cls 2005/09/16 v1.4f Standard LaTeX document class
  75. size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
  76. boxedminipage.sty
  77. inputenc.sty 2006/05/05 v1.1b Input encoding file
  78. latin1.def 2006/05/05 v1.1b Input encoding file
  79. graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  80. trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
  81. graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  82. dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
  83. ***********
  84.  
  85. )
  86. Here is how much of TeX's memory you used:
  87. 475 strings out of 95341
  88. 5281 string characters out of 1184182
  89. 51328 words of memory out of 1500000
  90. 3725 multiletter control sequences out of 110000
  91. 3640 words of font info for 14 fonts, out of 1200000 for 2000
  92. 14 hyphenation exceptions out of 8191
  93. 23i,7n,23p,629b,119s stack positions out of 5000i,500n,10000p,200000b,5000s
  94.  
  95. Output written on mwe.dvi (1 page, 564 bytes).


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests