Skip to main content

All Questions

Tagged with
0 votes
1 answer
91 views

How to place the subscript below and above the box

I wanted to put the subscript below and above the box (shown in image), similar to how it happens for \sum. \displaystyle is not applicable. How can I make it placed there? Here is my definition of ...
yo han's user avatar
  • 3
2 votes
2 answers
262 views

How can I draw a box around a picture plus text?

Right now I am struggling with getting a box around some text with a figure. The idea is that I have a small picture on the lefthand-side with some text right next to it. And then draw a box around ...
curies's user avatar
  • 199
3 votes
2 answers
539 views

How to control horizontal spacing between tcolorboxes?

Similar question but for vertical spacing here: Unwanted vertical separation between tcolorboxes I would like to know how to control the horizontal spacing between tcolorboxes. MWE: \documentclass{...
Garf's user avatar
  • 510
1 vote
1 answer
85 views

customizing chapter heading by adding box and text

I have a custom chapter heading working fine but I want to add a box and a text to it. It looks like this right now Here is the code I used \definecolor{myblue}{RGB}{0,82,155} \titleformat{\chapter}[...
Christopher Madec's user avatar
2 votes
1 answer
75 views

Re-use part of tabular as a (smaller) tabular

Based on this tabular-environment-created-in-tikz, I was looking to wrap a simple tabular with TikZ (probably tcolorbox could be used, but the documentation looks like an Everest to climb for me). My ...
JeT's user avatar
  • 3,652
0 votes
1 answer
88 views

Title and text paragraph indent

I'm trying to reproduce those design decision text boxes. How do I do this? They are indented and numbered. See Design decision 5 and Design decision 6 in the attached picture.
Andrei's user avatar
  • 165
16 votes
3 answers
2k views

How to make boxes like these?

I'd like to have custom commands for making boxes that look like the Wolfram|Alpha entities in Mathematica notebooks: \LinguisticAssistant{france} \Entity{France}{country} I've done the work of ...
M.R.'s user avatar
  • 367
5 votes
1 answer
2k views

Vary transparency of colorbox in a sentence

I have a long sentence, where I want different parts of the sentence to have different transparency. The entire sentence should, however, be wrappen within a colorbox: \documentclass{article} \...
N08's user avatar
  • 163
5 votes
1 answer
823 views

How to create a (colored) box that hangs into the left margin?

I'm trying to highlight some parts (paragraphs) in a document. For this I want to use a box, with the paragraph number hanging out into the left margin. However, I don't really know how to pull this ...
xfbs's user avatar
  • 53
1 vote
0 answers
75 views

Determine value of overfull amount

If I set content into a box that is not wide enough (0pt in the MWE below), I get an overfull mesage displayed in the console. Can I obtain the maximum value reported in the messages Overfull \hbox (...
Peter Grill's user avatar
0 votes
1 answer
286 views

Overfull boxes intruding left margin?

As indicated in the post What is the command to highlight bad boxes in pdf? To visually detect the bad boxes in pdf, the rule \overfullrule=5pt can be used. Is this rule also helpful in ...
Jenna Adler's user avatar
4 votes
1 answer
376 views

Box around continued fraction

Thanks for stopping by to help with my question. I'm trying to mimic what my professor did in our notes, putting a box around a specific portion of a continued fraction, shown below: Here's the ...
jbrow35's user avatar
  • 373
3 votes
2 answers
1k views

How to create a box with a superscript?

I want to create something the image below on Latex. So essentially it is a math function which is surrounded by a box with a superscript. And boxes can be within other boxes. Any thoughts? Thanks ...
Andy's user avatar
  • 315
0 votes
1 answer
4k views

Fill pixel size area with text, adjust point size automatically

Can Latex fill an area of a certain aspect ratio (e.g. 3:1) with centered text using a ttf font so that it can be export to a specific pixel size image (600x200, probably using convert)? Word- or ...
qubodup's user avatar
  • 199
23 votes
2 answers
3k views

How to make these boxes?

I don't know how exactly to call what I want to implement. It's like a box surrounded with a line and, depending on the context, I want to place a graphic on the right corner e.g. a light bulb or a ...
user2692669's user avatar

15 30 50 per page