Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need to type an exam, but the first page must have its left side margin, from top to bottom, be in landscape, but the rest of the exam is normal.

The left side margin will run the entire length of the first page. So the left side of the first page will be the top of the margin. I have to put places for the name, student number, class, etc. in side this left margin. Also it must be in Chinese. The rest of the exam will be in English.

I am not very clear upon how to do this.

share|improve this question
    
is the chinese in this marginal column to be read top-to-bottom or left-to-right? is it all chinese, or are latin-alphabet words present as well? –  barbara beeton Nov 3 '12 at 13:59
    
@barbarabeeton As I stated,t he left margin would be the top of the rotated text. So it not to be read top-to-bottom, but left to right. –  MaoYiyi Nov 3 '12 at 17:05
    
if the left edge of the marginal text is to be at the top of the page, and this text is to be read left-to-right, then @DavidCarlisle's answer should be rotated clockwise rather than counter-clockwise. otherwise that answer looks reasonable. thank you for the clarification. –  barbara beeton Nov 3 '12 at 17:14

1 Answer 1

up vote 3 down vote accepted

You can use \rotatebox to rotate the text and picture mode in a zero-sized (0,0) environment to position it within the margin. I used fontspec and xelatex to access Chinese but any method would work.

enter image description here

\documentclass{article}

\usepackage{graphicx,fontspec}

\setmainfont{SimSun}

\begin{document}

\begin{picture}(0,0)
\put(-50,-300){\rotatebox{90}{Google translate says this means My name is David: 我的名字是大卫}}
\end{picture}

Stuff here\ldots

Stuff here\ldots

Stuff here\ldots

\vdots

\vfill

\vdots

stuff

\end{document}
share|improve this answer
    
You are a awesome! 你牛be –  MaoYiyi Nov 3 '12 at 13:58
    
@DavidCarlisle -- read my comment to the question. if the info in this column is all chinese, then your answer could get everything logically backwards. –  barbara beeton Nov 3 '12 at 14:01
    
@barbarabeeton Yes there is a distinction between vertical writing and horizontal writing rotated, I did the latter, hopefully that's what was wanted. –  David Carlisle Nov 3 '12 at 14:06
    
@barbarabeeton when you write chinese vertical, the characters are written normally but the next one is underneath it, not to its right. –  MaoYiyi Nov 3 '12 at 17:02
    
@MaoYiyi -- yes, i know that vertical chinese is written top-to-bottom. the reason i asked is that i thought if top-to-bottom text was used, it wouldn't be necessary to rotate anything; all the characters would instead be in a single column, one above another in their "normal" orientation. –  barbara beeton Nov 3 '12 at 17:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.