{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

5
votes
2answers
136 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 ...
3
votes
1answer
409 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
147 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?
3
votes
1answer
108 views

How to include a tex file with own formatting options

I have two tex files, tex1 and tex2. I want to include tex1 into tex2. I know \include and \input but those won't allow to include tex files with own formatting. tex1 has a header for example but tex2 ...
3
votes
2answers
998 views

Bibliography with biblatex: how to achieve bold labels using the authoryear-style?

I am currently writing my thesis with LaTeX using biblatex for citations and bibliography. I try to match a formal request regarding the first part of the bibliographic entries which have to look like ...
5
votes
1answer
179 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 ...
3
votes
1answer
164 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 ...
0
votes
1answer
161 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
107 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
105 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} ...
4
votes
1answer
285 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} ...
0
votes
0answers
120 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 ...
3
votes
1answer
196 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 ...
2
votes
1answer
67 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 ...
3
votes
1answer
146 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 ...
3
votes
1answer
857 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 ...
5
votes
1answer
564 views

Formatting page number (fancyhdr?)

Could anyone please show me how to get this page number formatting:
1
vote
0answers
86 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 ...
16
votes
3answers
664 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 ...
3
votes
0answers
41 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 ...
7
votes
1answer
279 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 ...
8
votes
1answer
2k views

fancy chapter title page

How can I have a chapter title page like the following? Note that, I'm using book document class
0
votes
1answer
345 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?
3
votes
0answers
9k 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 ...
7
votes
1answer
372 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?
2
votes
0answers
53 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
63 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 ...
2
votes
1answer
248 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} ...
4
votes
1answer
341 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. ...
3
votes
1answer
260 views

Formatting labels of chapters and sections

I'm just starting with this amazing world of LaTeX. I'm wondering how to set the format of a document (with some stuff centered and sections with no relative numbering) I'm trying with the titlesec ...
5
votes
1answer
2k 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 ...
7
votes
1answer
481 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 ...
5
votes
1answer
937 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 ...
5
votes
1answer
665 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 ...
4
votes
1answer
155 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 ...
3
votes
2answers
160 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, ...
1
vote
2answers
130 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 ...
4
votes
1answer
311 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,% ...
4
votes
1answer
249 views

show acronym in bold

I'm using the acronym package. The first time I use the acronym the full name will be written. What I would like is to have the acronym in bold while the full name is NOT in bold is that possible? ...
3
votes
1answer
480 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} ...
1
vote
1answer
50 views

Add label to textual data

This question is extremely basic and I know how to solve it basically but it is a workaround and I was wondering whether there is a much better way to do it - here is the problem: I'd like to give ...
8
votes
1answer
433 views

Cursive text after _

I would like to write H2O with a small 2 below the H. H_2 O (water) However, all text after _2 becomes cursive. It appear that something obvious is wrong but, I cant find what it is. Anyone how ...
2
votes
1answer
136 views

How do I modify the section tag? [duplicate]

Possible Duplicate: How to add a dot after the section number? Each of my section tags looks like the following: What I want is punctuation after each section number. I am not sure where ...
2
votes
1answer
303 views

Java Code in a paper

I am writing a paper and would like to include some of my "real-world" Java code. What is the best way to accomplish this? I would like to see two templates: My explanation to the right of my Java ...
6
votes
1answer
258 views

Simple way to place an array of symbols above a letter?

I would like to typset something similar to the symbol used for the "generalized spherical harmonics". This involves placing an array of dots above a letter. The array will have two columns, and the ...
5
votes
1answer
448 views

Document class article, maketitle with logo

I want to modify the title section of the article class to look like something in the attached figure. Basically what I want is a kind of logo with flushed text (title, author, affiliation). I tried ...
23
votes
2answers
653 views

Add a rule underneath “Figure 1”

I want to add a line beneath the figure caption such as Figure 1 Figure caption text here.... I managed to include a newline, change the color and look of the caption via caption package: ...
6
votes
1answer
594 views

What is wrong with the following latex code? [closed]

I have written this code to formulate the algorithm for merging two arrays, but I get an error. \begin{algorithm}[t] \caption{Serial Merge} \label{alg:insert} \begin{algorithmic}[1] \Require Two ...
14
votes
1answer
429 views

TikZ - Placing several numbers in one cell of a Sudoku grid

I've put at the end of this post one code coming from this page which is a pretty easy way to display Sudoku grid. I would like to have help so as to add the possibility to indicate several entries ...
11
votes
3answers
2k 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 ...