{formatting} is for general questions about formatting document elements. Use this tag in addition to other tags specifying what should be formatted. For questions about font attributes (e.g., {bold}, {italic}, {small-caps}, {sans-serif}, {typewriter}), use the appropriate tag instead.

learn more… | top users | synonyms

4
votes
1answer
732 views

How to \label emails in appendix?

I would like to include ~20 emails in the appendix section of an article, so I in the article can e.g. write "...according to \ref{email1}". If I put each email in a subsection, then I have to find a ...
12
votes
3answers
3k views

bad formating of ff in math mode

I'm trying to write something like: $affinity(x)$, but in the PDF I see some small spacing between the two f's. I tried $af{}firm(x)$ or $aff{}irm(x)$, but nothing works.
0
votes
1answer
525 views

change location and size of title page logo

I have a title thesis with a logo: but i would like to get the logo (size 990x369) a little higher and bigger than current result (if I change the size of image it goes down...), also how can I ...
10
votes
1answer
251 views

How to create Windows-8-styled menus?

I'm writing a technical documentation and I want to explain step-by-step how to go through various menus. For example I used to write Open with > VLC media player. That's how it looks in Windows ...
2
votes
3answers
181 views

format two tables inside a figure

I have a figure that contains two tables, I would like to give format to them. What would be the best option? {\footnotesize\begin{figure} [h!tb] \centering \begin{tabular} {l } \hline \textcolor{...
3
votes
1answer
2k views

Turn off Hyphenation Without Text Running Into the Margins

I am rewriting (and updating) my resume in LaTeX. I was dismayed because LaTeX automatically hyphenates words that need to go onto a new line when a line is too long. I found a way to turn off ...
5
votes
2answers
154 views

How to get a picture with text to the right of it

what I want is to have a quote like this: I returned and saw under the sun, that the race is not to the swift, nor the battle to the strong, neither yet bread to the wise, nor yet riches to men of ...
4
votes
2answers
800 views

How to build two lines aligned maps

I would like to write a map between two objects, with a map below which specify where any single object is sent. To be more precise. I want to write $A \rightarrow B$, and right below it $\alpha \...
8
votes
2answers
687 views

How can I use line numbers with leading zeros?

I use the listings package for source-code and have read all documentation. However, it appears that leading zeros for line numbers are not implemented as standard option yet. How can I redefine the ...
6
votes
1answer
1k views

Scaled ticks with ymin and ymax

For a publication I am preparing multiple plots with PGFPlots and would like to have them all look alike, i.e. having the same axis and identical ticks. For this I intended to use ymin and ymax, but ...
10
votes
1answer
308 views

Different styles for the same document

Suppose I am writing a paper, which I plan to submit to a journal/conference, but also put on a preprint server like the arXiv. Each publisher has its own style files required for typesetting the ...
4
votes
2answers
189 views

Formatting the Listing

The listing I have in my paper is Java Code. When it is displayed through TeX I lose some of the formatting that I did inside my .java files. For example, all of my comments in my code were lined up, ...
7
votes
2answers
2k views

Strikethrough in Section Title

I am currently using ulem and \sout to do strikethroughs, but what if I want to strikethrough in a section title? I'm using hyperref and receive the following error when I use \section{\sout{..}}: ...
3
votes
1answer
2k views

Can \bibitem and BibTeX give the same output?

I am adding a slide to a beamer presentation containing some references and, since I only have three references, I was thinking about not creating an external .bib file this time. However I realized ...
2
votes
2answers
280 views

Beamer: remove the title highlight

I use the PaloAlto theme and the title of the title slide appears highlighted. Is it possible to remove the highlight and modify the title font?
5
votes
1answer
276 views

thmtools - issue with head number style

I'm using thmtools to define a custom example environment. I'm styling the head as italic, but the number is not being styled correctly: it appears in normal mode instead of italic (the dot after the ...
8
votes
1answer
307 views

How can I make a custom theorem for a definition?

Looking at the wikibooks article on theorems has me wondering... I'd like to do something, if possible, similar to the default "proof" theorem style, whereby I can add a custom name to each theorem as ...
3
votes
1answer
449 views

Display short title and long title (both) in a caption?

The syntax for a caption is \caption[listoffigures/tables text]{Text actually displayed under picture/table} But what I would like to have is something like this: If I use the above command, the ...
26
votes
4answers
3k views

How to separate table content and table style

I want to know if there is a way to separate table / content for table style (think CSS). Like to have only data specification \begin{tabular} H1 & H2 & H3 & h4 \\ V1 & V2 & V3 &...
0
votes
1answer
207 views

Change chapter heading format [duplicate]

Possible Duplicate: Chapter formatting Could someone help me with this problem with my document? Instead of generating the following: % % % % Chapter 2 Title % % % % I would like the ...
3
votes
1answer
127 views

How to create a table format of 81 columns which can fit into one page?

I want to create a table of 81 columns in landscaped mode, tiny font is ok. I changed the \documentclass to landscape, however the font was still too big to fit in. Any suggestion or idea would be ...
1
vote
0answers
122 views

Appendices formatting/ Text displayed by reference [closed]

I want to obtain toc and text formatting as shown in MWE. \documentclass[12pt,a4paper]{article} \usepackage[a4paper]{geometry} \usepackage{polyglossia} \setdefaultlanguage{polish} \usepackage[...
5
votes
1answer
627 views

Set same height for all cells in longtable

I have created longtable with some text and I want set same height for all cells. It looks like: \documentclass[11pt]{article} \usepackage{longtable} \begin{document} \renewcommand{\tabcolsep}{0....
0
votes
0answers
261 views

Underscore character (_) that's part of a word [duplicate]

Possible Duplicate: Escape character in LaTeX Underscore in words I want to write a name like LKU_IF which contains an underline. When I write it in Latex it doesn't show the result properly....
8
votes
1answer
391 views

Distinct formatted page numbers with glossaries and Xindy

This is somewhat related to this question, but using Xindy as a backend, not makeindex. I am attempting to create an index using glossaries, and in this index some page numbers have a special meaning....
6
votes
1answer
1k views

Formatting page number (fancyhdr?)

Could anyone please show me how to get this page number formatting:
18
votes
3answers
1k views

Conflict between microtype, LuaLaTeX, and otf fonts when typesetting material in small-caps

I'm using the microtype package (microtype beta 2.5 build 08) to modify my document and I'd like to retain its functionality across all font shapes with the exception of small-caps (\scshape). How do ...
4
votes
1answer
292 views

Poorly formatted newlistof with memoir

I am having trouble adding a newlistof to a memoir file. My example follows the memoir answer example very closely, but I get an ugly "List of Comments" -- spacing across the page and returns are ...
3
votes
1answer
228 views

How can I temporarily change title of contents of subsection formatting using titletoc

I have a common document type (grant application) which expects listed aims, usually enumerated as Aim 1, Aim 2, etc. In the MWE below, an article class works fine to format the subsection headings ...
2
votes
1answer
77 views

Removing the italicized parts from an APA bibliography

This journal guidelines requires that References should follow the APA style, but without any use of italic type In the apa6 package some parts of the references are italicized. I'm wondering,...
3
votes
1answer
2k views

Why doesn't the \closing center in my letter?

If I pdflatex the below Latex, then "Kind regards," and "Sandra" doesn't get centred. If the letter is two pages long, then it does. Question How do I get this centred when my letter is just one ...
1
vote
0answers
104 views

How should I add visual indications of excerpted sections? [duplicate]

Possible Duplicate: Putting a bar in the margin How to make continuous (but breakable) vertical rule along left side of paragraph? I'm planning on including large excerpts of publications in ...
3
votes
0answers
49 views

Is there an easy way to comment out a whole block? [duplicate]

Possible Duplicate: Multi-line (block) comments in LaTeX Is it possible to comment out a whole block in LaTeX source? For example, like in Java: // This is an in-line comment. /* This ...
12
votes
3answers
4k views

How can I make a set of latex flashcards that I can print to write my answers on one side?

I want to adapt the code from the answer to latex flashcard problem so that the right hand side has a question and the left has the answer rather than on the bottom of the page. This is so that I ...
0
votes
1answer
444 views

How should a salary negotiation letter look like? [closed]

Does anyone know if there exists a template for salary negotiation? Or perhaps how one should look like?
4
votes
0answers
17k views

Where should I use \textsc? [closed]

When should I use macro \textsc ? What is common practice in document like diploma thesis? Should I use it for names of persons, names of described entities of particular interest or in some other ...
8
votes
1answer
2k views

Make numbers in table bold w/o changing width

I want to highlight some numbers in a table using \bf{}. However, the bold numbers also get wider but I want them to neatly line up with the rest. How can I avoid this?
3
votes
0answers
85 views

Difference between \mathrm, \operatorname and \text? [duplicate]

Possible Duplicate: What’s the difference between \mathrm and \operatorname? I am a beginner of latex, and am always having a hard time differentiate these commands since they seem always ...
2
votes
0answers
65 views

special latex words [duplicate]

Possible Duplicate: How to write (La)TeX (with braces) [or any other TeX-related logo] I'm looking for other specially formatted words in LaTeX similar to \LaTeX or \TeX. Does anyone know of ...
2
votes
1answer
480 views

How does one framebox a proof?

I am trying to frame box a proof I have written For instance \documentclass[11pt]{article} \begin{document} \framebox{ \emph{Proof} \\ \text{content of proof goes here} } \end{document} ...
2
votes
1answer
167 views

Redefine quotation mark usage

I would like to be able to manually redefine quotation mark usage, preferably without having to load an external package. Judging by the answer to How does TeX's mechanism for sorting out quotation ...
5
votes
1answer
1k views

How to display (inline) LaTeX commands properly?

When writing about LaTeX, I tend to use \verb, which could look like that: \documentclass{article} \usepackage{lipsum} \begin{document} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. \...
1
vote
2answers
162 views

Change Page Ordering

In one of my documents, the first few (lets say 2) pages include code output and settings and configurations, in terms of communicating with R for example (for plotting etc...), I would like these ...
10
votes
1answer
14k views

Remove 'Chapter' text from chapter headings and have chapter number on the same line as chapter title [duplicate]

Possible Duplicate: Chapter formatting Apologies if this is something simple, but I seem to be searching in the wrong place for an answer. I have a document of type report. It is currently ...
8
votes
1answer
776 views

Translating custom \section format to titlesec

I have some custom \section formatting with a horizontal rule, and I'm trying to DRY out my code by using titlesec to define default formatting options. But I can't exactly reproduce what happens when ...
6
votes
1answer
7k views

Alternative to \text inside an align environment

Is there a way to write texts without resorting to using the \text macro every time I write something in the align enviroment? I am trying to write a proof and pretty much 90% requires me to write ...
13
votes
1answer
262 views

Formatting floats differently based on placement

I'm interested in changing how floats are formatted depending on whether they are placed at the top, bottom, or middle of a page, or on a float page. One package I am aware of that does something like ...
4
votes
1answer
254 views

Caption for a listing

I have captions on each of my listings. Each caption is prefaced with "Listing # [text]" where # is the number of the listing. Each caption is centered over my listing. How can I modify the options of ...
4
votes
1answer
482 views

ClassicThesis TOC headlines

Why the headlines in the TOC are in \normalfont and not in \spacedlowsmallcaps as the rest of the document? How can I make it \spacedlowsmallcaps? \documentclass[% headinclude,% ...
3
votes
1answer
3k views

Format title output bold and larger

I use the code \documentclass[a4paper]{article} \usepackage{amsmath,amsxtra,amssymb,latexsym, amscd,amsthm} \usepackage{indentfirst} \usepackage[mathscr]{eucal} \usepackage[utf8]{vietnam} \begin{...