Re: [dk-tug] Kan du få dette template til at virke m ed ÆØÅ?
Kristian Nordestgaard <[email protected]>
| Newsgroups | gmane.comp.tex.danish |
|---|---|
| Message-ID | <CAFptyNWqXz8ob=kWcGU0BqEQyBvHQyfy-grk4dmQ-yELJtbRSg@mail.gmail.com> |
Still no luck. Jeg er på TexLive 2012, i øvrigt. Mærkeligt... Vh. 2013/5/16 Lars Madsen <[email protected]> > pdflatex (husk lige listen når du svarer) > > > > \documentclass[17pt]{extarticle}% This is a document class providing more > font size options > > \usepackage[svgnames]{xcolor} > \usepackage{graphicx} > \usepackage[utf8]{inputenc} > %\usepackage{emerald}% font package > > \usepackage[doublespacing]{setspace}% line spacing > \usepackage[T1]{fontenc} > \usepackage{wallpaper} > > % thanks to Bruno Le Floch: http://tex.stackexchange.com/q/9331/4012 > % and in his comments to http://tex.stackexchange.com/a/29458/4012 > \usepackage{rotating} > \usepackage[first=-6,last=6]{lcg}% you can play around with these values > \makeatletter > \newcommand{\globalrand}{\rand\global\cr@nd\cr@nd} > \makeatother > > > \newcommand{\randomrotation}[1]{\globalrand\turnbox{\value{rand}}{#1}\phantom{#1}} > > % thanks to Martin Scharrer: http://tex.stackexchange.com/q/11598/4012 > \makeatletter > \def\cthulhu#1{% > \@cthulhu#1 \@empty > } > \def\@cthulhu#1 #2{% > \randomrotation{#1}\space > \ifx #2\@empty\else > \expandafter\@cthulhu > \fi > #2% > } > \makeatother > % ---------- > > > %\newcommand{\eldersign}{\raisebox{-.5\height}{\includegraphics[height=3ex]{eldersignimagefile}}} > > \renewcommand*{\rmdefault}{fts} > > \begin{document}%\pagestyle{empty}\CenterWallPaper{}{backgroundimagefile} > > > \centering% that madman wouldn't justify his writings > \color{MidnightBlue}% my pick for "looks like ink" > > \cthulhu{Hello, I am crazy. \aa {\aa} I am a Cthulhu worshipping > gibbering madman, unhinged by > > the horrors I have witnessed. I am a Cthulhu worshipping gibbering madman, > unhinged by > the horrors I have witnessed. I am a Cthulhu worshipping gibbering madman, > unhinged by > the horrors I have witnessed. I am a Cthulhu worshipping gibbering madman, > unhinged by > the horrors I have witnessed. I am a Cthulhu worshipping gibbering madman, > unhinged by > the horrors I have witnessed. æøå} %\eldersign > > \end{document} > > > > > /Lars Madsen > Institut for Matematik / Department of Mathematics > Aarhus Universitet / Aarhus University > Mere info: http://au.dk/daleif@imf / More information: > http://au.dk/en/daleif@imf > > ------------------------------ > *From:* Kristian Nordestgaard [[email protected]] > *Sent:* 16 May 2013 10:49 > > *To:* Lars Madsen > *Subject:* Re: [dk-tug] Kan du få dette template til at virke med ÆØÅ? > > Det var mystisk, jeg kan stadig ikke få hul igennem. Jeg har prøvet med > pdflatex, xelatax og lualatex - hvad bruger du? > > VH. > > > 2013/5/16 Lars Madsen <[email protected]> > >> Jeg har ikke emerald fonten, gider ikke installere den. >> >> Uden emerald og uden de billeder som inkluderes så virker \aa fint for mig >> >> og med \usepackage[utf8]{inputenc} virker æøå fint. >> >> Kan det ikke være fordi emerald ikke har æøå >> >> >> >> /Lars Madsen >> Institut for Matematik / Department of Mathematics >> Aarhus Universitet / Aarhus University >> Mere info: http://au.dk/daleif@imf / More information: >> http://au.dk/en/daleif@imf >> >> ------------------------------ >> *From:* Kristian Nordestgaard [[email protected]] >> *Sent:* 16 May 2013 10:39 >> >> *To:* Lars Madsen >> *Subject:* Re: [dk-tug] Kan du få dette template til at virke med ÆØÅ? >> >> Her er et minimalt eksempel, med \aa og {\aa} sat ind i det fra SX. >> >> Vh. >> >> >> 2013/5/16 Lars Madsen <[email protected]> >> >>> I øvrigt ville det være rart at se hvilke fejl du får >>> >>> >>> >>> /Lars Madsen >>> Institut for Matematik / Department of Mathematics >>> Aarhus Universitet / Aarhus University >>> Mere info: http://au.dk/daleif@imf / More information: >>> http://au.dk/en/daleif@imf >>> >>> ------------------------------ >>> *From:* [email protected] [ >>> [email protected]] on behalf of Lars Madsen [ >>> [email protected]] >>> *Sent:* 16 May 2013 10:35 >>> *To:* Kristian Nordestgaard >>> *Cc:* [email protected] >>> >>> *Subject:* Re: [dk-tug] Kan du få dette template til at virke med ÆØÅ? >>> >>> Man skal i hvertfald bruge emerald pakken, som ikke kommer med >>> f.eks. TeX Live pga licensen den er udgivet med. >>> >>> >>> /Lars Madsen >>> Institut for Matematik / Department of Mathematics >>> Aarhus Universitet / Aarhus University >>> Mere info: http://au.dk/daleif@imf / More information: >>> http://au.dk/en/daleif@imf >>> >>> ------------------------------ >>> *From:* Lars Madsen >>> *Sent:* 16 May 2013 10:31 >>> *To:* Kristian Nordestgaard >>> *Subject:* RE: [dk-tug] Kan du få dette template til at virke med ÆØÅ? >>> >>> hvor får man emerald fra? >>> >>> >>> /Lars Madsen >>> Institut for Matematik / Department of Mathematics >>> Aarhus Universitet / Aarhus University >>> Mere info: http://au.dk/daleif@imf / More information: >>> http://au.dk/en/daleif@imf >>> >>> ------------------------------ >>> *From:* Kristian Nordestgaard [[email protected]] >>> *Sent:* 16 May 2013 10:22 >>> *To:* Lars Madsen >>> *Subject:* Re: [dk-tug] Kan du få dette template til at virke med ÆØÅ? >>> >>> Hej Lars, >>> >>> Jeg har copy-pastet nedenstående ind i leafpad og så arbejdet videre i >>> Vim. Jeg er på Linux, så det hele skulle være utf-8 (tror jeg nok, det >>> hedder). >>> >>> Vh Kristian >>> >>> >>> \documentclass[17pt]{extarticle}% This is a document class providing >>> more font size options >>> >>> \usepackage[svgnames]{xcolor} >>> \usepackage{graphicx} >>> \usepackage{emerald}% font package >>> \usepackage[doublespacing]{setspace}% line spacing >>> \usepackage[T1]{fontenc} >>> \usepackage{wallpaper} >>> >>> % thanks to Bruno Le Floch: http://tex.stackexchange.com/q/9331/4012 >>> % and in his comments to http://tex.stackexchange.com/a/29458/4012 >>> \usepackage{rotating} >>> \usepackage[first=-6,last=6]{lcg}% you can play around with these values >>> \makeatletter >>> \newcommand{\globalrand}{\rand\global\cr@nd\cr@nd} >>> \makeatother >>> >>> >>> \newcommand{\randomrotation}[1]{\globalrand\turnbox{\value{rand}}{#1}\phantom{#1}} >>> >>> % thanks to Martin Scharrer: http://tex.stackexchange.com/q/11598/4012 >>> \makeatletter >>> \def\cthulhu#1{% >>> \@cthulhu#1 \@empty >>> } >>> \def\@cthulhu#1 #2{% >>> \randomrotation{#1}\space >>> \ifx #2\@empty\else >>> \expandafter\@cthulhu >>> \fi >>> #2% >>> } >>> \makeatother >>> % ---------- >>> >>> >>> \newcommand{\eldersign}{\raisebox{-.5\height}{\includegraphics[height=3ex]{eldersignimagefile}}} >>> >>> \renewcommand*{\rmdefault}{fts} >>> >>> \begin{document}\pagestyle{empty}\CenterWallPaper{}{backgroundimagefile} >>> >>> \centering% that madman wouldn't justify his writings >>> \color{MidnightBlue}% my pick for "looks like ink" >>> >>> \cthulhu{Hello, I am crazy. I am a Cthulhu worshipping gibbering madman, >>> unhinged by >>> the horrors I have witnessed. I am a Cthulhu worshipping gibbering >>> madman, unhinged by >>> the horrors I have witnessed. I am a Cthulhu worshipping gibbering >>> madman, unhinged by >>> the horrors I have witnessed. I am a Cthulhu worshipping gibbering >>> madman, unhinged by >>> the horrors I have witnessed. I am a Cthulhu worshipping gibbering >>> madman, unhinged by >>> the horrors I have witnessed.} \eldersign >>> >>> \end{document} >>> >>> >>> >>> >>> >>> 2013/5/16 Lars Madsen <[email protected]> >>> >>>> Det ville nok være rart at vide noget mere om det dokument du bruger >>>> samt hvilken editor. F.eks. kan editoren jo gemme i noget andet end utf8 >>>> >>>> Så smid lidt et minimalt eksempel, så er det altså noget nemmere for os >>>> andre at hjælpe >>>> >>>> >>>> /Lars Madsen >>>> Institut for Matematik / Department of Mathematics >>>> Aarhus Universitet / Aarhus University >>>> Mere info: http://au.dk/daleif@imf / More information: >>>> http://au.dk/en/daleif@imf >>>> >>>> ------------------------------ >>>> *From:* [email protected] [ >>>> [email protected]] on behalf of Kristian >>>> Nordestgaard [[email protected]] >>>> *Sent:* 16 May 2013 10:09 >>>> *To:* DK-TUG mailingliste >>>> *Subject:* [dk-tug] Kan du få dette template til at virke med ÆØÅ? >>>> >>>> Hej alle, >>>> Har siddet og bakset med dette: >>>> >>>> http://tex.stackexchange.com/questions/29402/how-do-i-make-my-document-look-like-it-was-written-by-a-cthulhu-worshipping-madm >>>> >>>> Jeg kan simpelthen ikke få de danske karakterer til at virke. Har >>>> prøvet diverse varianter af: >>>> >>>> \usepackage[T1]{fontenc} >>>> \usepackage[utf8]{inputenc} >>>> \usepackage[danish]{babel} >>>> >>>> ... og \aa / {\aa} men det vil ikke fungere. Kan nogen hjælpe? >>>> >>>> Vh. >>>> >>> >>> >> >